You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
1.2 KiB
69 lines
1.2 KiB
@use "./const.scss" as *;
|
|
|
|
.blog-container {
|
|
background-color: $background-color;
|
|
}
|
|
|
|
.blog-post-head {
|
|
margin-bottom: 0;
|
|
border-color: $main-color;
|
|
border-bottom-style: solid;
|
|
border-width: 2px;
|
|
}
|
|
|
|
.blog-post-head h1 {
|
|
margin-block-start: 0.43em;
|
|
margin-block-end: 0.43em;
|
|
font-size: 2em;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.blog-post-head-image {
|
|
text-align: center;
|
|
border-color: $main-color;
|
|
border-bottom-style: solid;
|
|
border-width: 2px;
|
|
}
|
|
|
|
.blog-post-head-image img {
|
|
vertical-align: top;
|
|
}
|
|
|
|
.blog-post-head > * {
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
|
|
.blog-post-tailer > * {
|
|
width: 100%;
|
|
text-align: center;
|
|
margin-top: 0;
|
|
margin-bottom: 2em;
|
|
}
|
|
|
|
.blog-post-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.blog-post-content > * {
|
|
width: 50vw;
|
|
}
|
|
|
|
.blog-post-content > blockquote {
|
|
padding: 1.7em;
|
|
background: white;
|
|
border-left-style: double;
|
|
border-left-width: 0.4em;
|
|
border-left-color: $text-color;
|
|
border-right-style: double;
|
|
border-right-width: 0.4em;
|
|
border-right-color: $text-color;
|
|
}
|
|
|
|
@media all and (max-width: 512px) {
|
|
.blog-post-content > * {
|
|
width: 90vw;
|
|
}
|
|
}
|
|
|