natter/default_environment/stylesheet/main.css

63 lines
1.2 KiB
CSS
Raw Normal View History

2023-12-20 00:23:56 +00:00
:root {
--main-max-width: 800px;
2023-12-20 01:33:21 +00:00
--site-background-color: #0a0a0a;
--site-text-color: #fffffc;
--header-divider-color: #6a687a;
--unused-1: #6ccff6;
--unused-2: #84828f;
}
body {
color: var(--site-text-color);
background-color: var(--site-background-color);
a:link, a:visited {
/* TODO: Should I use a different color for links? */
color: var(--site-text-color);
}
2023-12-20 00:23:56 +00:00
}
.page_centering {
display: flex;
flex-direction: column;
align-items: center;
}
.page_header {
width: 100%;
max-width: var(--main-max-width);
2023-12-20 01:33:21 +00:00
border-bottom: 0.1rem solid var(--header-divider-color);
2023-12-20 00:23:56 +00:00
.home_link {
font-size: 1.2rem;
font-weight: 600;
text-decoration: none;
2023-12-20 01:33:21 +00:00
&:link, &:visited {
color: var(--site-text-color);
}
2023-12-20 00:23:56 +00:00
}
}
.main_content {
width: 100%;
max-width: var(--main-max-width);
font-size: 1.2rem;
2023-12-20 01:33:21 +00:00
line-height: 1.2;
p {
margin: 1rem 0;
}
2023-12-20 00:23:56 +00:00
}
/* A stand-alone blog post (not in a blog stream). */
.blog_post {
padding: 1rem 0 3rem 0;
}
.blog_post_title {
font-size: 2rem;
font-weight: 700;
2023-12-20 01:33:21 +00:00
padding-bottom: 1rem;
2023-12-20 00:23:56 +00:00
}