1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-12-26 18:32:10 +00:00
seirdy.one/themes/etch-custom/assets/css/main.css

90 lines
991 B
CSS
Raw Normal View History

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