major overhaul: changed styling, added content, removed donate page, updated quick fixes

This commit is contained in:
2023-08-23 14:44:06 +02:00
parent ea1508be79
commit 47c053ea5f
48 changed files with 658 additions and 1442 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+118 -18
View File
@@ -1,21 +1,30 @@
@font-face {
font-family: "Inter";
src: url("Inter-Regular.woff2");
font-weight: 400;
font-family: "DM Mono";
src: url("DMMono-Regular.woff2");
font-weight: normal;
}
@font-face {
font-family: "Inter";
src: url("Inter-Bold.woff2");
font-weight: 800;
font-family: "DM Mono";
src: url("DMMono-Medium.woff2");
font-weight: bold;
}
@font-face {
font-family: "DM Mono";
src: url("DMMono-Italic.woff2");
font-style: italic;
}
:root {
--txt: #e2dfdb;
--body-bg: #222426;
--accent: #9a9184;
--border: #3f4447;
--font-body: "Inter", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
--txt: #c0ccdb;
--body-bg: #17191c;
--accent: #e4d294;
--border: #76818e;
--border-light: #a0a8b1;
--green: #5da892;
--font-body: "DM Mono", "Inter", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}
body {
@@ -33,14 +42,32 @@ body {
}
header {
padding: 1.5rem 0 2.5rem 0;
margin: 1.5rem 0 2.5rem 0;
font-weight: bold;
font-size: 2rem;
}
/* Add typewriter animation when text fits without line break */
@media screen and (min-width: 570px) {
header {
display: inline-block;
overflow: hidden;
white-space: nowrap;
border-right: .05em solid var(--accent);
padding-right: 10px;
animation: typing 1s steps(80), blink-cursor 2s infinite;
}
}
header a {
color: var(--accent);
text-decoration: none;
font-style: italic;
}
nav,
footer {
margin-bottom: 1.7rem;
margin-bottom: 1rem;
}
nav a {
@@ -52,11 +79,12 @@ nav a {
box-shadow: 0px 2px 3px -2px rgba(0,0,0,.3);
user-select: none;
cursor: pointer;
display: inline-block;
}
nav a:hover {
color: var(--txt);
border: 1px solid #51585c;
border: 1px solid var(--border-light);
}
main {
@@ -80,6 +108,30 @@ main ul {
display: block;
}
@media screen and (min-width: 900px) {
.quick-fixes {
max-width: 75% !important;
}
}
@media screen and (max-width: 899px) {
.quick-fixes {
max-width: 90% !important;
}
}
.quick-fixes-table {
border-collapse: collapse;
table-layout: fixed;
width: 100%;
}
.quick-fixes-table th,
.quick-fixes-table td {
border: thin solid var(--border);
padding: .5rem;
}
.author {
float: left;
max-width: 400px;
@@ -91,9 +143,30 @@ main ul {
margin-bottom: 2rem;
}
.inline {
text-decoration: underline;
color: #06c;
.code {
font-family: monospace;
padding: .2rem .3rem;
border-radius: .3rem;
border: 1px solid var(--border);
margin: .3rem;
}
.code::before {
content: '$ ';
user-select: none;
}
.no-dollar::before {
content: '' !important;
}
.cowsay {
font-family: var(--font-body);
text-align: left;
white-space: pre;
max-width: fit-content;
display: inline-block;
border: none;
}
p {
@@ -104,7 +177,7 @@ p {
a {
color: var(--txt);
text-decoration: none;
text-decoration: underline;
transition: 300ms;
}
@@ -113,6 +186,15 @@ a:active {
color: var(--accent);
}
h1,
h2,
h3,
h4,
h5,
h6 {
color: var(--green);
}
code {
padding: .2rem .3rem;
border-radius: .3rem;
@@ -120,3 +202,21 @@ code {
margin: .3rem;
}
@keyframes typing {
from {
max-width: 0;
}
to {
max-width: 80%;
}
}
@keyframes blink-cursor {
from,
to {
border-color: transparent;
}
50% {
border-color: var(--accent);
}
}