diff options
author | Frankie B <git@diskfloppy.me> | 2024-01-12 18:57:10 +0000 |
---|---|---|
committer | Frankie B <git@diskfloppy.me> | 2024-01-12 18:57:33 +0000 |
commit | 725712aa35a989f1c2f179e210b8fa1c310e39e9 (patch) | |
tree | 4ba81858541a5db1e16839dd780af06ec0e5872d /public/css | |
parent | c622761799635392cc35a46795955c9a0be12fc1 (diff) |
Add custom error pages, pixel images, etc (also improve computers)
Diffstat (limited to 'public/css')
-rw-r--r-- | public/css/colorschemes/catppuccin-macchiato.css | 1 | ||||
-rw-r--r-- | public/css/master.css | 101 | ||||
-rw-r--r-- | public/css/minimal.css | 23 |
3 files changed, 89 insertions, 36 deletions
diff --git a/public/css/colorschemes/catppuccin-macchiato.css b/public/css/colorschemes/catppuccin-macchiato.css index 3409b30..e431dd6 100644 --- a/public/css/colorschemes/catppuccin-macchiato.css +++ b/public/css/colorschemes/catppuccin-macchiato.css @@ -1,5 +1,6 @@ :root { --background: #181926; + --background-light: #363a4f; --foreground: #cad3f5; --links: #8aadf4; --warning: #ff7272; diff --git a/public/css/master.css b/public/css/master.css index 5bebdd5..84b0ddf 100644 --- a/public/css/master.css +++ b/public/css/master.css @@ -217,9 +217,40 @@ table.computers { width: 100%; } -td.computer { - width: 50%; - border: 0; +table.computers td:first-child { + text-align: center; + font-weight: bold; +} +table.computers td ul { + margin: 0; + padding-left: 20px; +} + +table.computers section-title { + text-decoration: underline; + font-style: italic; + font-weight: bold; +} + +table.computers p.description { + font-style: italic; + margin: 5px 0 2px 0; +} + +table.computers th { + background-color: var(--background-light); +} + +table.computers td, +table.computers th { + border: var(--foreground) solid 1px; + padding: 5px; +} + + + +img.pixel { + image-rendering: pixelated; } div.footer { @@ -227,6 +258,10 @@ div.footer { margin-bottom: 5px; } +div.footer a:hover { + text-decoration: none; +} + table.commits tr td { border: none; padding-right: 5px; @@ -356,33 +391,63 @@ a:hover { text-decoration: underline; } -.computer { - width: 100%; +.spec { + padding-left: 20px; } -.computer td { - border: none; +.spec-title { + font-weight: bold; } -.computer h1, -.computer hr { - margin: 0; +.project-grid { + display: grid; + grid-template-columns: repeat(2, 1fr); + grid-template-rows: repeat(0, 1fr); + grid-column-gap: 0; + grid-row-gap: 0; + height: 100%; } -.computer .computer-image { - width: 256px; +.project-grid div { + padding: 5px; } -.spec { - padding-left: 20px; +.project-section-title, +.project-grid div h1, +.project-grid div p { + margin: 5px 0; } -.spec-title { - font-weight: bold; +.project-section-title { + margin-top: 20px; + padding-bottom: 5px; + border-bottom: 1px solid var(--foreground); } -.computer-specs { - margin-top: 5px; +.project-grid div h1 { + margin-top: 10px; +} + +.project-grid div a { + text-decoration: none; + padding: 2px 2px 0 2px; + margin: 0; + font-size: 10pt; +} + +.project-grid .project-links a { + color: var(--links); + border: 1px solid var(--foreground); + border-left: none; +} + +.project-grid .project-links a:first-child { + border: 1px solid var(--foreground); +} + +.project-grid .project-links a:hover { + background-color: var(--foreground); + color: var(--background); } .error-box { diff --git a/public/css/minimal.css b/public/css/minimal.css index 93d31f1..b64e0e9 100644 --- a/public/css/minimal.css +++ b/public/css/minimal.css @@ -1,25 +1,12 @@ -html { - color-scheme: dark; -} - -body { - font-family: sans-serif; - margin: 0; - margin-left: 10px; - color: #cad3f5; - background-color: #181926; -} - -table.gb-entry_details tr td { - padding-right: 5px; -} - * { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; } html { color-scheme: dark; } body { color: #cad3f5; background-color: #181926; } -h1, h2, ul, p { margin: 0; } +h1, h2, h4, ul, p { margin: 0; } h1 { font-weight: normal; } +h4 { margin-bottom: 5px; } ul { padding: 5px 30px; } a { color: #8aadf4; text-decoration: none; } a:hover { text-decoration: underline; } -code { font-family: monospace; font-size: 24px; } +code { font-family: monospace; } +code.addr { font-size: 24px; } +table { border: 1px solid #cad3f5; } |