diff --git a/res/static/img/header_orbitron.webp b/res/static/img/header_orbitron.webp
index 5bac0e6..a2c90d7 100644
Binary files a/res/static/img/header_orbitron.webp and b/res/static/img/header_orbitron.webp differ
diff --git a/res/static/img/header_orbitron.xcf b/res/static/img/header_orbitron.xcf
index 9d19bd1..9927ab3 100644
Binary files a/res/static/img/header_orbitron.xcf and b/res/static/img/header_orbitron.xcf differ
diff --git a/res/static/img/nebula.webp b/res/static/img/nebula.webp
new file mode 100644
index 0000000..68d12cc
Binary files /dev/null and b/res/static/img/nebula.webp differ
diff --git a/res/static/style/layout.css b/res/static/style/layout.css
index edb5d68..1dfcd5a 100644
--- a/res/static/style/layout.css
+++ b/res/static/style/layout.css
@@ -75,8 +75,6 @@ body {
transition: opacity 0.2s;
}
-header,
-footer,
.checkers {
background-image: var(--background_pattern);
background-color: var(--background_pattern_color);
@@ -85,24 +83,23 @@ footer,
header,
footer {
- border: 2px solid var(--separator);
- border-radius: 12px;
text-align: center;
overflow: hidden;
clear: both;
}
header>h1 {
- text-shadow: 1px 1px 4px var(--shadow_color);
- margin-top: 80px;
- margin-bottom: 80px;
+ margin-top: 30px;
+ margin-bottom: 30px;
+ color: var(--background_text_color);
}
footer>.footer_content {
- background-color: var(--shaded_background);
+ background-color: var(--body_background);
+ color: var(--body_text_color);
display: inline-block;
border-radius: 8px;
- margin: 200px 0 60px 0;
+ margin: 120px 0 60px 0;
}
/* Page layout elements */
@@ -153,14 +150,17 @@ footer>.footer_content {
/* Center the header and body */
overflow-y: auto;
overflow-x: hidden;
- background: var(--body_background);
- border-top-left-radius: 16px;
- border-bottom-left-radius: 16px;
- padding: 8px;
transition: margin-left 0.5s;
}
-@media (max-width: 1000px) {
+.page_content {
+ background: var(--body_background);
+ border-top-left-radius: 12px;
+ border-bottom-left-radius: 12px;
+ transition: border-top-left-radius 1s, border-bottom-left-radius 1s;
+}
+
+@media (max-width: 1100px) {
.page_navigation {
left: -18em;
}
@@ -168,17 +168,27 @@ footer>.footer_content {
.page_body {
margin-left: 0;
width: 100%;
- padding: 4px;
+ }
+
+ .page_content {
+ border-top-left-radius: 0;
+ border-bottom-left-radius: 0;
+ }
+
+ header>h1 {
+ /* We want the header text to appear below the menu button, so the top
+ margin needs to be fairly large when the screen is small */
+ margin-top: 60px;
}
}
section {
position: relative;
display: block;
+ padding: 8px;
max-width: 1000px;
width: 100%;
height: auto;
- padding: 0;
margin: auto;
text-align: initial;
clear: both;
@@ -192,9 +202,9 @@ section {
color: var(--background_text_color);
text-align: center;
padding: 4px;
- margin: 0.3em 15px 0.3em 15px;
+ margin: 0.2em 15px 0.2em 15px;
font-family: 'Open Sans Light', sans-serif;
- font-weight: lighter;
+ font-weight: light;
font-size: 1.5em;
overflow: hidden;
text-overflow: ellipsis;
@@ -210,6 +220,7 @@ section {
}
.highlight_shaded,
+.highlight_border,
.highlight_green,
.highlight_blue,
.highlight_yellow,
@@ -223,9 +234,12 @@ section {
border-radius: 8px;
}
+.highlight_border {
+ border: 2px solid var(--separator);
+}
+
.highlight_shaded {
- background: var(--background_color);
- color: var(--background_text_color);
+ background: var(--card_color);
}
.highlight_green {
@@ -328,7 +342,7 @@ p {
margin-left: auto;
margin-right: auto;
text-align: initial;
- max-width: 500px;
+ max-width: 600px;
width: 100%;
}
@@ -553,7 +567,6 @@ button>svg,
overflow-y: hidden;
white-space: nowrap;
text-align: center;
- box-shadow: inset 0 -10px 8px -12px var(--shadow_color);
}
.tab_bar>button,
diff --git a/res/template/404.html b/res/template/404.html
index 0f3b264..64862b0 100644
--- a/res/template/404.html
+++ b/res/template/404.html
@@ -9,20 +9,22 @@
- If you came here by a link from this very same website you can
- tell me about it on
- twitter.
-
- Either way, there's nothing to see here, so you'll have to
- head over to the home page.
-
- Bye!
- This page does not exist!
+ If you came here by a link from this very same website you can + tell me about it on + twitter. +
++ Either way, there's nothing to see here, so you'll have to + head over to the home page. +
++ Bye! +
+
diff --git a/res/template/451.html b/res/template/451.html
index e8e35d3..462cc77 100644
--- a/res/template/451.html
+++ b/res/template/451.html
@@ -9,12 +9,14 @@
- Hello. This file has received an abuse report and has been taken
- down. It cannot be shared anymore.
- 451, Unavailable For Legal Reasons
+ Hello. This file has received an abuse report and has been taken + down. It cannot be shared anymore. +
+
{{template "page_bottom" .}}
{{template "analytics"}}
diff --git a/res/template/500.html b/res/template/500.html
index 7e367d4..5425f32 100644
--- a/res/template/500.html
+++ b/res/template/500.html
@@ -9,21 +9,23 @@
- Great job.
-
- Just kidding, something went wrong on the pixeldrain server and
- it's my fault. This can happen when the website is overloaded,
- there is a problem with the software or there is a hardware
- problem. When there is a large scale outage you can usually find
- more info on my twitter @Fornax96. You can
- try again in a few minutes (or hours), or go back to the home page and start over.
- You broke pixeldrain
+ Great job. +
++ Just kidding, something went wrong on the pixeldrain server and + it's my fault. This can happen when the website is overloaded, + there is a problem with the software or there is a hardware + problem. When there is a large scale outage you can usually find + more info on my twitter @Fornax96. You can + try again in a few minutes (or hours), or go back to the home page and start over. +
+{{template "page_bottom" .}} {{template "analytics"}} diff --git a/res/template/admin.html b/res/template/admin.html index 8f7c4e7..4fd8672 100644 --- a/res/template/admin.html +++ b/res/template/admin.html @@ -7,14 +7,14 @@
{{else}}
@@ -22,7 +22,12 @@
{{end}}
diff --git a/res/template/appearance.html b/res/template/appearance.html
index 23c0aad..4d593ce 100644
--- a/res/template/appearance.html
+++ b/res/template/appearance.html
@@ -10,70 +10,72 @@
- You can change how pixeldrain looks! Your theme choice will
- be saved in a cookie.
-
+ You can change how pixeldrain looks! Your theme choice will
+ be saved in a cookie.
+
- Many themes support custom hues. The hue does not change the
- contrast of the theme, only the color itself.
-
+ Many themes support custom hues. The hue does not change the
+ contrast of the theme, only the color itself.
+
+ Here are all files you have previously uploaded to pixeldrain using this computer.
+ This data is saved locally in your web browser and gets updated every time you upload a file through your current browser.
+
- Here are all files you have previously uploaded to pixeldrain using this computer.
- This data is saved locally in your web browser and gets updated every time you upload a file through your current browser.
- Change website appearance
Theme
-
- (Inspired by Nord)
-
- Dynamic theme, changes based on operating system settings. Here you can choose a specific variant:
-
-
-
-
-
-
-
- (Inspired by Solarized)
-
- Dynamic theme, changes based on operating system settings. Here you can choose a specific variant:
-
-
-
-
-
-
-
-
-
-
- Classic 2022 style, with purple gradients
-
-
-
-
- Classic pre-2020 pixeldrain style, dark gray
-
-
- Other (experimental) themes
-
-
-
-
-
-
- (Inspired by Canta GTK)
-
-
- (Inspired by Skeuos GTK)
-
-
+ Theme
+
+ (Inspired by Nord)
+
+ Dynamic theme, changes based on operating system settings. Here you can choose a specific variant:
+
+
+
+
+
+
+
+ (Inspired by Solarized)
+
+ Dynamic theme, changes based on operating system settings. Here you can choose a specific variant:
+
+
+
+
+
+
+
+
+
+
+ Classic 2022 style, with purple gradients
+
+
+
+
+ Classic pre-2020 pixeldrain style, dark gray
+
+
+ Other (experimental) themes
+
+
+
+
+
+
+ (Inspired by Canta GTK)
+
+
+ (Inspired by Skeuos GTK)
+
+
- Hue
-
-
-
-
-
-
- Hue
+
+
+
+
+
+
+
+ Upload History