diff --git a/res/static/favicon.ico b/res/static/favicon.ico index 6781590..7c16b27 100644 Binary files a/res/static/favicon.ico and b/res/static/favicon.ico differ diff --git a/res/static/img/carina.webp b/res/static/img/carina.webp new file mode 100644 index 0000000..bc00bb3 Binary files /dev/null and b/res/static/img/carina.webp differ diff --git a/res/static/img/catspaw.webp b/res/static/img/catspaw.webp new file mode 100644 index 0000000..f98d646 Binary files /dev/null and b/res/static/img/catspaw.webp differ diff --git a/res/static/img/fnx_logo.png b/res/static/img/fnx_logo.png new file mode 100644 index 0000000..dd226af Binary files /dev/null and b/res/static/img/fnx_logo.png differ diff --git a/res/static/img/pixeldrain_128.png b/res/static/img/pixeldrain_128.png index 81635db..2e70503 100644 Binary files a/res/static/img/pixeldrain_128.png and b/res/static/img/pixeldrain_128.png differ diff --git a/res/static/img/pixeldrain_256.png b/res/static/img/pixeldrain_256.png index a19f138..bc5962c 100644 Binary files a/res/static/img/pixeldrain_256.png and b/res/static/img/pixeldrain_256.png differ diff --git a/res/static/img/pixeldrain_32.png b/res/static/img/pixeldrain_32.png index c946118..d341c60 100644 Binary files a/res/static/img/pixeldrain_32.png and b/res/static/img/pixeldrain_32.png differ diff --git a/res/static/style/layout.css b/res/static/style/layout.css index de3c987..6e31d42 100644 --- a/res/static/style/layout.css +++ b/res/static/style/layout.css @@ -58,12 +58,6 @@ a>svg { box-sizing: border-box; } -html, -body { - /* This makes sure that no scrollbar shows up when the menu is open on small screens*/ - overflow-x: hidden; -} - body { margin: 0; font-family: system-ui, sans-serif; @@ -76,12 +70,6 @@ body { transition: opacity 0.2s; } -.checkers { - background-image: var(--background_pattern); - background-color: var(--background_pattern_color); - background-repeat: repeat; -} - header, footer { text-align: center; @@ -90,24 +78,16 @@ footer { } footer { - background-image: url("/res/img/nebula.webp"); - background-color: var(--background_color); - background-blend-mode: luminosity; - box-shadow: inset 0 0 10px -4px var(--shadow_color); - border-radius: 8px; - margin: 16px; + background-color: var(--shaded_background); + backdrop-filter: blur(4px); + border-top: 1px solid var(--separator); } footer>.footer_content { - background: var(--body_background); - color: var(--body_text_color); display: inline-block; - width: 1000px; - max-width: 100%; + width: 100%; padding-top: 10px; padding-bottom: 10px; - border-radius: 8px; - margin: 120px 0 60px 0; } header>h1 { @@ -173,52 +153,17 @@ pre>code { transition: left 0.5s; } -.page_body { - position: relative; - right: 0; - height: auto; - left: 0; - margin-left: 300px; - min-width: 300px; - display: block; - text-align: center; - /* Center the header and body */ - overflow-y: auto; - overflow-x: hidden; - transition: margin 0.5s; -} - .page_content { - background: var(--body_background); - border-radius: 6px; - overflow: hidden; + background: var(--shaded_background); + backdrop-filter: blur(4px); + text-align: center; } -.page_content, -.page_margins, -footer { - margin-right: 20px; - margin-left: 20px; -} - -@media (max-width: 1100px) { +@media (max-width: 1000px) { .page_navigation { left: -300px; } - .page_body { - margin-left: 0; - margin-right: 0; - width: 100%; - } - - .page_content, - .page_margins, - footer { - margin-left: 0; - margin-right: 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 */ @@ -537,6 +482,12 @@ input[type="color"] { line-height: 1.3em; } +.button.flat { + background: none; + color: var(--body_text_color); + box-shadow: none; +} + button:hover, .button:hover, input[type="submit"]:hover, diff --git a/res/template/admin.html b/res/template/admin.html deleted file mode 100644 index 92c59bf..0000000 --- a/res/template/admin.html +++ /dev/null @@ -1,34 +0,0 @@ -{{define "admin"}} - - - {{if and .Authenticated .User.IsAdmin}} -
- {{template "meta_tags" "Administrator panel"}} - - - - - - {{template "menu" .}} - - - {{else}} - - {{template "meta_tags" "Administrator panel"}} - - - {{template "page_top" .}} -- 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. -
-