Add a nice background image on the home page
This commit is contained in:
@@ -61,24 +61,27 @@ body {
|
||||
}
|
||||
header, footer, .checkers {
|
||||
background-image: url("{{.BackgroundPattern}}");
|
||||
background-color: #111111; /* Fallback */
|
||||
background-color: var(--layer_1_color);
|
||||
background-repeat: repeat;
|
||||
background-blend-mode: luminosity;
|
||||
}
|
||||
header, footer {
|
||||
padding-top: 70px;
|
||||
box-shadow: inset 1px 1px 10px 0 var(--shadow_color);
|
||||
box-shadow: inset 1px 1px 8px 0 var(--shadow_color);
|
||||
border-radius: 12px;
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
color: var(--layer_1_text_color);
|
||||
}
|
||||
header > h1 {
|
||||
text-shadow: 1px 1px 10px var(--shadow_color);
|
||||
margin-bottom: 50px;
|
||||
text-shadow: 1px 1px 4px var(--shadow_color);
|
||||
margin-top: 69px;
|
||||
margin-bottom: 69px;
|
||||
}
|
||||
footer {
|
||||
padding: 200px 8px 40px 8px;
|
||||
footer > .footer_content {
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
display: inline-block;
|
||||
border-radius: 8px;
|
||||
margin: 300px 0 69px 0;
|
||||
}
|
||||
|
||||
/* Page layout elements */
|
||||
|
@@ -1561,6 +1561,9 @@ loopme.com, 11013, DIRECT, 6c8d5f95897a5a3b
|
||||
connectad.io, 204, DIRECT, 85ac85a30c93b3e5
|
||||
appnexus.com, 2579, RESELLER, f5ab79cb980f11d1
|
||||
quantum-advertising.com, 6222, RESELLER
|
||||
ucfunnel.com, pub-34BAB998A98E4882C33BA88776232BA2, DIRECT
|
||||
aralego.com, pub-34BAB998A98E4882C33BA88776232BA2, DIRECT
|
||||
adiiix.com, pub-34BAB998A98E4882C33BA88776232BA2, DIRECT
|
||||
# End of Valueimpression
|
||||
|
||||
# Pixfuture
|
||||
|
BIN
res/static/img/horsehead.webp
Normal file
BIN
res/static/img/horsehead.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 89 KiB |
@@ -55,22 +55,24 @@ function resetMenu() {
|
||||
|
||||
{{define "page_bottom"}}
|
||||
<footer>
|
||||
<div style="display: inline-block; margin: 0 8px 0 8px;">
|
||||
Pixeldrain is a product by <a href="//fornaxian.tech" target="_blank">Fornaxian Technologies</a>
|
||||
<div class="footer_content">
|
||||
<div style="display: inline-block; margin: 0 8px 0 8px;">
|
||||
Pixeldrain is a product by <a href="//fornaxian.tech" target="_blank">Fornaxian Technologies</a>
|
||||
</div>
|
||||
<div style="display: inline-block; margin: 0 8px 0 8px;">
|
||||
(
|
||||
<a href="https://www.patreon.com/pixeldrain" target="_blank">{{template `patreon.svg` .}} Patreon</a> |
|
||||
<a href="https://twitter.com/Fornax96" target="_blank">{{template `twitter.svg` .}} Twitter</a> |
|
||||
<a href="https://reddit.com/r/pixeldrain" target="_blank">{{template `reddit.svg` .}} Reddit</a> |
|
||||
<a href="https://github.com/Fornaxian" target="_blank">{{template `github.svg` .}} GitHub</a> |
|
||||
<a href="https://mastodon.social/web/@fornax" target="_blank">{{template `mastodon.svg` .}} Mastodon</a>
|
||||
)
|
||||
</div>
|
||||
<br/>
|
||||
<span class="small_footer_text" style="font-size: .75em; line-height: .75em;">
|
||||
page rendered by {{.Hostname}}
|
||||
</span>
|
||||
</div>
|
||||
<div style="display: inline-block; margin: 0 8px 0 8px;">
|
||||
(
|
||||
<a href="https://www.patreon.com/pixeldrain" target="_blank">{{template `patreon.svg` .}} Patreon</a> |
|
||||
<a href="https://twitter.com/Fornax96" target="_blank">{{template `twitter.svg` .}} Twitter</a> |
|
||||
<a href="https://reddit.com/r/pixeldrain" target="_blank">{{template `reddit.svg` .}} Reddit</a> |
|
||||
<a href="https://github.com/Fornaxian" target="_blank">{{template `github.svg` .}} GitHub</a> |
|
||||
<a href="https://mastodon.social/web/@fornax" target="_blank">{{template `mastodon.svg` .}} Mastodon</a>
|
||||
)
|
||||
</div>
|
||||
<br/>
|
||||
<span class="small_footer_text" style="font-size: .75em; line-height: .75em;">
|
||||
page rendered by {{.Hostname}}
|
||||
</span>
|
||||
</footer>
|
||||
</div><!-- end page_body -->
|
||||
{{end}}
|
||||
|
@@ -5,6 +5,16 @@
|
||||
{{template "meta_tags" "Free file sharing service"}}
|
||||
{{template "user_style" .}}
|
||||
<style>
|
||||
/* Override the default background with something spectacular */
|
||||
header, footer, .checkers {
|
||||
background-image: url("/res/img/horsehead.webp");
|
||||
background-color: var(--layer_1_color);
|
||||
background-repeat: no-repeat;
|
||||
background-blend-mode: luminosity;
|
||||
background-attachment: fixed;
|
||||
background-position: center;
|
||||
background-size: cover;
|
||||
}
|
||||
.header_image{
|
||||
width: 100%;
|
||||
max-width: 800px;
|
||||
@@ -91,9 +101,9 @@
|
||||
</head>
|
||||
<body>
|
||||
{{template "page_top" .}}
|
||||
<header style="padding-bottom: 60px;">
|
||||
<header style="padding-bottom: 80px; padding-top: 80px;">
|
||||
<picture>
|
||||
<source media="(max-width: 800px)" srcset="/res/img/header_orbitron.png">
|
||||
<source media="(max-width: 700px)" srcset="/res/img/header_orbitron.png">
|
||||
<img class="header_image" src="/res/img/header_orbitron_wide.png" alt="Header image">
|
||||
</picture>
|
||||
</header>
|
||||
@@ -128,7 +138,11 @@
|
||||
them.
|
||||
</p>
|
||||
|
||||
<h2 id="pro">Getting more out of pixeldrain</h2>
|
||||
</section>
|
||||
<header>
|
||||
<h1 id="pro">Getting more out of pixeldrain</h1>
|
||||
</header>
|
||||
<section>
|
||||
<p>
|
||||
By purchasing a subscription you support pixeldrain on its
|
||||
mission to make content sharing easier, safer and faster for
|
||||
|
@@ -7,14 +7,14 @@
|
||||
<body>
|
||||
{{template "page_top" .}}
|
||||
<header>
|
||||
<h1>Please confirm that you want to log out of your pixeldrain account</h1>
|
||||
<h1>Logging out of your pixeldrain account</h1>
|
||||
</header>
|
||||
<br/>
|
||||
<form method="POST" action="/logout">
|
||||
<input type="submit" value="I want to log out of pixeldrain on this computer" class="button_highlight"/>
|
||||
</form>
|
||||
<br/>
|
||||
<section>
|
||||
<br/>
|
||||
<h2>Why do I need to confirm my logout?</h2>
|
||||
<p>
|
||||
We need you to confirm your action so we can be sure that you
|
||||
@@ -29,7 +29,6 @@
|
||||
logout button triggers a different request type than normal
|
||||
page visit we can confirm that you really want to log out.
|
||||
</p>
|
||||
<br/>
|
||||
</section>
|
||||
{{template "page_bottom" .}}
|
||||
{{template "analytics"}}
|
||||
|
Reference in New Issue
Block a user