wb5/public/css/style.css
2023-05-14 13:20:25 -04:00

146 lines
1.7 KiB
CSS

body {
font-family: JetBrainsMono, sans-serif;
width: 85vmin;
margin: auto;
background: #101010;
color: #ffffff;
font-size: 125%;
}
::-webkit-scrollbar {
width: 1vmin;
height: 1vmin;
}
::-webkit-scrollbar-track {
background-color: #050505;
}
::-webkit-scrollbar-thumb {
background-color: #151515;
}
.header {
margin-top: 5%;
}
.header b {
font-size: 175%;
margin-right: 2%;
}
.header a {
margin-right: 1%;
}
* {
box-sizing: border-box;
}
hr {
background-color: grey;
border: 0;
height: 1px;
margin: 2rem 0;
}
nav {
margin: 2rem 0 0;
}
main {
hyphens: auto;
}
main p {
margin: 1rem;
}
h1,h2,h3,h4 {
margin: 2rem 0 0;
}
p {
margin-left: 1rem;
}
h2 {
margin-left: 0.25rem;
}
h3 {
margin-left: 0.6rem;
}
h4 {
margin-left: 0.75rem;
}
h1 {
margin-bottom: 0.5rem;
}
span.created {
display: block;
margin: 4px 15px;
}
img {
border: 1px solid lightgrey;
height: auto;
max-width: 100%;
width: auto;
}
.logo {
border: none;
max-width: 5vh;
position: relative;
top: 1.5vh;
}
blockquote {
border: 1px solid;
border-left: 6px solid;
margin: 2rem 0;
padding: 10px;
}
blockquote p {
margin: 0;
}
figure {
margin: 2rem 0;
}
figcaption {
color: slategrey;
}
code {
border: 1px solid;
padding: 0.1rem 0.3rem;
tab-size: 4;
}
pre {
border: 1px solid;
}
pre code {
border: 0;
display: block;
overflow-x: auto;
padding: 0.3rem 0.6rem;
}
table {
border-collapse: collapse;
margin: 2rem 0;
text-align: left;
width: 100%;
}
tr {
border-bottom: 1px solid lightgrey;
}
tr:nth-of-type(odd) td {
background-color: #f8f8f8;
}
th,td {
padding: 6px;
}
footer {
border-top: 1px dashed grey;
margin: 2rem 0;
padding: 1rem 15px;
}
a {
display: inline;
color: #aaaaaa;
}