aboutsummaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorFrankie B <git@diskfloppy.me>2024-01-12 18:57:10 +0000
committerFrankie B <git@diskfloppy.me>2024-01-12 18:57:33 +0000
commit725712aa35a989f1c2f179e210b8fa1c310e39e9 (patch)
tree4ba81858541a5db1e16839dd780af06ec0e5872d /public
parentc622761799635392cc35a46795955c9a0be12fc1 (diff)
Add custom error pages, pixel images, etc (also improve computers)
Diffstat (limited to 'public')
-rw-r--r--public/css/colorschemes/catppuccin-macchiato.css1
-rw-r--r--public/css/master.css101
-rw-r--r--public/css/minimal.css23
-rw-r--r--public/images/computers/icons/display.pngbin0 -> 572 bytes
-rw-r--r--public/images/computers/icons/expansion1.pngbin0 -> 463 bytes
-rw-r--r--public/images/computers/icons/expansion2.pngbin0 -> 471 bytes
-rw-r--r--public/images/computers/icons/floppy35.pngbin0 -> 549 bytes
-rw-r--r--public/images/computers/icons/floppy525.pngbin0 -> 561 bytes
-rw-r--r--public/images/computers/icons/hdd.pngbin0 -> 440 bytes
-rw-r--r--public/images/computers/icons/mem1.pngbin0 -> 468 bytes
-rw-r--r--public/images/computers/icons/mem2.pngbin0 -> 380 bytes
-rw-r--r--public/images/computers/icons/msdos.pngbin0 -> 606 bytes
-rw-r--r--public/images/computers/icons/network.pngbin0 -> 667 bytes
-rw-r--r--public/images/computers/icons/printer.pngbin0 -> 644 bytes
-rw-r--r--public/images/computers/icons/proc.pngbin0 -> 575 bytes
-rw-r--r--public/images/computers/icons/scsi.pngbin0 -> 427 bytes
-rw-r--r--public/images/computers/icons/win311.pngbin0 -> 458 bytes
-rw-r--r--public/images/computers/icons/windows9x.pngbin0 -> 543 bytes
18 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; }
diff --git a/public/images/computers/icons/display.png b/public/images/computers/icons/display.png
new file mode 100644
index 0000000..7df70e9
--- /dev/null
+++ b/public/images/computers/icons/display.png
Binary files differ
diff --git a/public/images/computers/icons/expansion1.png b/public/images/computers/icons/expansion1.png
new file mode 100644
index 0000000..cbde656
--- /dev/null
+++ b/public/images/computers/icons/expansion1.png
Binary files differ
diff --git a/public/images/computers/icons/expansion2.png b/public/images/computers/icons/expansion2.png
new file mode 100644
index 0000000..67452fa
--- /dev/null
+++ b/public/images/computers/icons/expansion2.png
Binary files differ
diff --git a/public/images/computers/icons/floppy35.png b/public/images/computers/icons/floppy35.png
new file mode 100644
index 0000000..9c2b5e6
--- /dev/null
+++ b/public/images/computers/icons/floppy35.png
Binary files differ
diff --git a/public/images/computers/icons/floppy525.png b/public/images/computers/icons/floppy525.png
new file mode 100644
index 0000000..511bcd9
--- /dev/null
+++ b/public/images/computers/icons/floppy525.png
Binary files differ
diff --git a/public/images/computers/icons/hdd.png b/public/images/computers/icons/hdd.png
new file mode 100644
index 0000000..cf02818
--- /dev/null
+++ b/public/images/computers/icons/hdd.png
Binary files differ
diff --git a/public/images/computers/icons/mem1.png b/public/images/computers/icons/mem1.png
new file mode 100644
index 0000000..1f61096
--- /dev/null
+++ b/public/images/computers/icons/mem1.png
Binary files differ
diff --git a/public/images/computers/icons/mem2.png b/public/images/computers/icons/mem2.png
new file mode 100644
index 0000000..9f4eca6
--- /dev/null
+++ b/public/images/computers/icons/mem2.png
Binary files differ
diff --git a/public/images/computers/icons/msdos.png b/public/images/computers/icons/msdos.png
new file mode 100644
index 0000000..61251a7
--- /dev/null
+++ b/public/images/computers/icons/msdos.png
Binary files differ
diff --git a/public/images/computers/icons/network.png b/public/images/computers/icons/network.png
new file mode 100644
index 0000000..108fcc6
--- /dev/null
+++ b/public/images/computers/icons/network.png
Binary files differ
diff --git a/public/images/computers/icons/printer.png b/public/images/computers/icons/printer.png
new file mode 100644
index 0000000..b60c2f1
--- /dev/null
+++ b/public/images/computers/icons/printer.png
Binary files differ
diff --git a/public/images/computers/icons/proc.png b/public/images/computers/icons/proc.png
new file mode 100644
index 0000000..2b38b71
--- /dev/null
+++ b/public/images/computers/icons/proc.png
Binary files differ
diff --git a/public/images/computers/icons/scsi.png b/public/images/computers/icons/scsi.png
new file mode 100644
index 0000000..0446891
--- /dev/null
+++ b/public/images/computers/icons/scsi.png
Binary files differ
diff --git a/public/images/computers/icons/win311.png b/public/images/computers/icons/win311.png
new file mode 100644
index 0000000..572511d
--- /dev/null
+++ b/public/images/computers/icons/win311.png
Binary files differ
diff --git a/public/images/computers/icons/windows9x.png b/public/images/computers/icons/windows9x.png
new file mode 100644
index 0000000..1fee0a5
--- /dev/null
+++ b/public/images/computers/icons/windows9x.png
Binary files differ