feat: add page style

This commit is contained in:
Tim Schubert 2024-08-22 16:06:19 +02:00
parent b971b5905b
commit 40b6196abf
Signed by: dadada
SSH key fingerprint: SHA256:bFAjFH3hR8zRBaJjzQDjc3o4jqoq5EZ87l+KXEjxIz0
7 changed files with 90 additions and 64 deletions

62
pagestyle.css Normal file
View file

@ -0,0 +1,62 @@
body {
min-width: 30em;
max-width: 60em;
margin-left: auto;
margin-right: auto;
}
nav {
text-align: center;
font-size: 16pt;
a {
text-decoration: none;
color: black;
}
border-bottom: 2pt solid grey;
}
footer {
border-top: 2pt solid grey;
padding-block: 0.5em;
font-size: 10pt;
}
main {
padding: 0.5em;
code {
background-color: aliceblue;
}
a:visited {
color: darkorange;
}
a:link {
color: darkcyan;
}
a {
text-decoration: none;
}
figure {
font-size: 10pt;
figcaption {
padding-left: 1em;
}
figcaption:before {
content: "| ";
}
}
pre {
padding-block: 0.5em;
border-block: 1pt solid grey;
font-size: 8pt;
}
pre code.shell:before {
content: "$ ";
}
pre code.shell {
background-color: white;
}
h2,
h3 {
margin-top: 1.5em;
}
}