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

@ -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 {