1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-15 01:42:10 +00:00
seirdy.one/themes/etch-custom/assets/css/main.css

99 lines
1.2 KiB
CSS
Raw Normal View History

html {
font-size: 16px;
line-height: 1.5rem;
font-family: sans-serif;
}
body {
max-width: 1000px;
margin: 0 auto;
padding: 0 5rem;
}
header#banner {
margin: 2rem 0 0 0;
}
header#banner h2 {
display: inline;
font-size: 1.5rem;
}
header#banner nav {
display: inline-block;
padding: 0 0.5rem;
}
header#banner nav ul {
list-style-type: none;
font-size: 1.25rem;
margin: 0;
padding: 0
}
header#banner nav ul li {
display: inline;
margin: 0.25rem;
}
main#content h1,
main#content h2,
main#content h3 {
margin: 1.5rem 0 1rem;
}
/* index.html styles */
main#content ul#posts {
list-style-type: none;
padding: 0;
}
main#content ul#posts li {
2020-11-28 00:14:24 +00:00
margin-bottom: 1rem;
}
/* single.html styles */
main#content h1 {
font-size: 1.5rem;
2020-11-24 10:08:58 +00:00
line-height: 2rem;
}
main#content h2 {
font-size: 1.25rem;
}
2020-11-30 21:17:15 +00:00
main#content h3 {
font-size: 1.125rem;
}
main#content img {
max-width: 100%;
margin: 0 auto;
}
main#content code {
font-size: 16px;
}
2020-11-30 21:17:15 +00:00
main#content pre,
main#content code {
border: 1px solid #e3e3e3;
}
2020-11-30 21:17:15 +00:00
main#content pre code {
border: none;
}
main#content pre {
overflow-y: visible;
overflow-x: scroll;
padding: 0.5rem;
}
main#content code {
padding: 0.1rem 0.25rem;
}
footer#footer {
margin: 2rem 0;
}