frontpage/styles/Blog/Blog.module.scss
2022-11-03 11:36:19 +01:00

80 lines
1.7 KiB
SCSS

#blogBody {
background: var(--blog_back-background);
color: var(--blog_color);
padding-bottom: 20px;
min-height: 100vh;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
header {
position: sticky;
top: 10px;
z-index: 99;
}
main, footer {
max-width: 950px;
border: 1px solid var(--blog_content-border);
background: var(--blog_content-background);
backdrop-filter: blur(var(--blog_content-blur));
}
main {
margin: 40px auto 0;
padding: 50px;
border-top-left-radius: 1em;
border-top-right-radius: 1em;
h1 {
margin-top: 0;
}
@media screen and (max-width: 890px) {
padding: 20px;
}
}
footer {
margin: 5px auto 0;
padding: 20px;
border-bottom-left-radius: 1em;
border-bottom-right-radius: 1em;
display: flex;
flex-direction: row;
flex-wrap: nowrap;
align-items: center;
font-size: 1.1em;
.spacer {
flex-grow: 1;
}
.footerContent {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
justify-content: center;
margin: 0 10px;
.divider {
margin: 0 10px;
}
.socialIcon {
color: inherit;
text-decoration: none;
height: 1em;
}
}
}
h1 {
color: var(--blog_color-accent);
}
h2, h3, h4, h5, h6 {
color: var(--blog_color-accent-dark);
}
}