mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-12-18 06:42:10 +00:00
88 lines
976 B
CSS
88 lines
976 B
CSS
html {
|
|
font-family: sans-serif;
|
|
font-size: 16px;
|
|
line-height: 1.5rem;
|
|
}
|
|
|
|
body {
|
|
margin: 0 auto;
|
|
max-width: 1000px;
|
|
padding: 2rem 5rem;
|
|
}
|
|
|
|
header nav {
|
|
display: inline-block;
|
|
}
|
|
|
|
header nav ul {
|
|
font-size: 1.25rem;
|
|
list-style-type: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
header nav ul li {
|
|
display: inline;
|
|
padding: 0 0.25rem;
|
|
}
|
|
|
|
.home {
|
|
font-size: 1.5rem;
|
|
font-weight: bold;
|
|
padding: 0 0.4rem 0 0;
|
|
}
|
|
|
|
/* index.html styles */
|
|
main .posts {
|
|
list-style-type: none;
|
|
padding: 0;
|
|
}
|
|
|
|
main .posts li {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 1.5rem;
|
|
line-height: 2rem;
|
|
margin: 1.5rem 0 1rem;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 1.25rem;
|
|
margin: 1.5rem 0 1rem;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 1.125rem;
|
|
margin: 1.5rem 0 1rem;
|
|
}
|
|
|
|
img {
|
|
margin: 0 auto;
|
|
max-width: 100%;
|
|
}
|
|
|
|
code {
|
|
font-size: 16px;
|
|
padding: 0.1rem 0.25rem;
|
|
}
|
|
|
|
pre,
|
|
code {
|
|
border: 1px solid #e3e3e3;
|
|
}
|
|
|
|
pre code {
|
|
border: none;
|
|
}
|
|
|
|
pre {
|
|
overflow-x: scroll;
|
|
overflow-y: visible;
|
|
padding: 0.5rem;
|
|
}
|
|
|
|
footer {
|
|
margin: 2rem 0;
|
|
}
|