185 lines
3.1 KiB
CSS
185 lines
3.1 KiB
CSS
/*
|
|
MIT License
|
|
|
|
Copyright (c) 2023 Bradley Taunt
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
in the Software without restriction, including without limitation the rights
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice shall be included in all
|
|
copies or substantial portions of the Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
SOFTWARE.
|
|
|
|
|
|
|
|
I stole a decent amount of code from the stylesheet of https://barf.bt.ht/
|
|
so here's the license
|
|
*/
|
|
|
|
@import "/public/fonts/inter/inter.css";
|
|
|
|
@font-face
|
|
{
|
|
font-family: JetBrainsMono;
|
|
src: url(/public/fonts/JetBrainsMono-Regular.ttf);
|
|
}
|
|
|
|
@font-face
|
|
{
|
|
font-family: JetBrainsMono;
|
|
src: url(/public/fonts/JetBrainsMono-Bold.ttf);
|
|
font-weight: bold;
|
|
}
|
|
|
|
body {
|
|
font-family: Inter, sans-serif;
|
|
min-width: 20em;
|
|
width: 70vmin;
|
|
margin: auto;
|
|
background: #101010;
|
|
color: #ffffff;
|
|
font-size: 105%;
|
|
}
|
|
|
|
.header {
|
|
margin-top: 2%;
|
|
margin-bottom: 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;
|
|
}
|
|
article {
|
|
hyphens: auto;
|
|
}
|
|
article p {
|
|
margin: 1rem;
|
|
line-height: 1.5;
|
|
}
|
|
h1,h2,h3,h4 {
|
|
margin: 2rem 0 0;
|
|
font-weight: 700;
|
|
}
|
|
h1 {
|
|
margin-bottom: 0.5rem;
|
|
font-size: 175%;
|
|
}
|
|
h2 {
|
|
margin-left: 0.25rem;
|
|
}
|
|
h3 {
|
|
margin-left: 0.6rem;
|
|
}
|
|
h4 {
|
|
margin-left: 0.75rem;
|
|
}
|
|
span.created {
|
|
display: block;
|
|
margin: 4px 15px;
|
|
}
|
|
img {
|
|
border-radius: 0.5vmin;
|
|
height: auto;
|
|
max-width: 100%;
|
|
width: auto;
|
|
margin-left: 1em;
|
|
}
|
|
|
|
.logo {
|
|
border: none;
|
|
max-width: 4vh;
|
|
position: relative;
|
|
top: 1.4vh;
|
|
margin-right: 0.25em;
|
|
}
|
|
|
|
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 #444444;
|
|
padding: 0.05rem 0.15rem;
|
|
tab-size: 4;
|
|
font-family: JetBrainsMono;
|
|
font-size: 80%;
|
|
}
|
|
pre {
|
|
border: 1px solid #444444;
|
|
}
|
|
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: #151515;
|
|
}
|
|
th,td {
|
|
padding: 6px;
|
|
}
|
|
footer {
|
|
border-top: 1px dashed grey;
|
|
margin: 2rem 0;
|
|
padding: 1rem 15px;
|
|
}
|
|
a {
|
|
display: inline;
|
|
color: #aaaaaa;
|
|
}
|
|
p, pre, table, blockquote {
|
|
margin-left: 1rem;
|
|
text-align: justify;
|
|
}
|