Add custom error pages, pixel images, etc (also improve computers)

This commit is contained in:
Frankie B 2024-01-12 18:57:10 +00:00
commit f68e4cb3e6
33 changed files with 385 additions and 59 deletions

View file

@ -1,5 +1,6 @@
:root {
--background: #181926;
--background-light: #363a4f;
--foreground: #cad3f5;
--links: #8aadf4;
--warning: #ff7272;

View file

@ -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,23 +391,6 @@ a:hover {
text-decoration: underline;
}
.computer {
width: 100%;
}
.computer td {
border: none;
}
.computer h1,
.computer hr {
margin: 0;
}
.computer .computer-image {
width: 256px;
}
.spec {
padding-left: 20px;
}
@ -381,8 +399,55 @@ .spec-title {
font-weight: bold;
}
.computer-specs {
margin-top: 5px;
.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%;
}
.project-grid div {
padding: 5px;
}
.project-section-title,
.project-grid div h1,
.project-grid div p {
margin: 5px 0;
}
.project-section-title {
margin-top: 20px;
padding-bottom: 5px;
border-bottom: 1px solid var(--foreground);
}
.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 {

View file

@ -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; }

Binary file not shown.

After

Width:  |  Height:  |  Size: 572 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 463 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 471 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 549 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 561 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 440 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 468 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 380 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 606 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 667 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 644 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 575 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 427 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 458 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 543 B