frontpage/styles/Blog/Blog.module.scss

80 lines
1.7 KiB
SCSS
Raw Permalink Normal View History

2022-10-15 22:21:58 +02:00
#blogBody {
2022-10-15 23:08:49 +02:00
background: var(--blog_back-background);
color: var(--blog_color);
padding-bottom: 20px;
2022-10-16 14:43:55 +02:00
min-height: 100vh;
2022-10-18 17:09:03 +02:00
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
2022-10-15 23:08:49 +02:00
2022-10-15 22:21:58 +02:00
header {
position: sticky;
top: 10px;
2022-10-15 23:08:49 +02:00
z-index: 99;
2022-10-15 22:21:58 +02:00
}
2022-10-18 12:04:11 +02:00
main, footer {
max-width: 950px;
border: 1px solid var(--blog_content-border);
background: var(--blog_content-background);
backdrop-filter: blur(var(--blog_content-blur));
}
2022-10-15 22:21:58 +02:00
main {
2022-10-18 12:04:11 +02:00
2022-10-15 23:08:49 +02:00
margin: 40px auto 0;
padding: 50px;
border-top-left-radius: 1em;
border-top-right-radius: 1em;
h1 {
margin-top: 0;
}
2022-11-03 11:36:19 +01:00
@media screen and (max-width: 890px) {
padding: 20px;
}
2022-10-15 22:21:58 +02:00
}
2022-10-15 23:08:49 +02:00
footer {
margin: 5px auto 0;
padding: 20px;
border-bottom-left-radius: 1em;
border-bottom-right-radius: 1em;
2022-10-29 22:06:49 +02:00
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;
2022-11-03 11:28:22 +01:00
justify-content: center;
margin: 0 10px;
2022-10-29 22:06:49 +02:00
.divider {
margin: 0 10px;
}
.socialIcon {
color: inherit;
text-decoration: none;
height: 1em;
}
}
2022-10-15 23:08:49 +02:00
}
2022-10-18 17:38:11 +02:00
h1 {
color: var(--blog_color-accent);
}
h2, h3, h4, h5, h6 {
color: var(--blog_color-accent-dark);
}
2022-10-15 23:08:49 +02:00
}