.post {
|
margin: 30px;
|
|
@include themed() {
|
background-color: t('accent');
|
}
|
|
&__more {
|
font-size: 1.4rem;
|
}
|
|
&__thumbnail {
|
width: 100%;
|
height: $thumbnail-height;
|
object-fit: cover;
|
display: block;
|
|
&-wrapper {
|
border-radius: 0.5em;
|
width: 100%;
|
margin-bottom: 1em;
|
overflow: hidden;
|
transition: box-shadow 0.3s ease;
|
|
@include themed() {
|
box-shadow: t('shadow');
|
}
|
}
|
}
|
|
&__content {
|
a {
|
@include themed() {
|
color: t('info');
|
}
|
}
|
|
code {
|
font-family: monospace;
|
padding: 0 2px;
|
|
@include themed() {
|
background-color: t('primary-lighter');
|
border: 1px solid t('primary-lighter');
|
border-radius: 2px;
|
}
|
}
|
|
pre {
|
padding: 5px;
|
overflow-x: auto;
|
|
@include themed() {
|
background-color: t('primary-lighter');
|
}
|
}
|
|
h1 {
|
text-transform: uppercase;
|
font-size: 3em;
|
letter-spacing: 1px;
|
line-height: 1;
|
|
a {
|
@include themed() {
|
color: t('primary');
|
}
|
}
|
}
|
|
h2 {
|
text-transform: uppercase;
|
letter-spacing: 1px;
|
font-size: 2.6rem;
|
line-height: 1;
|
font-weight: 600;
|
|
a {
|
@include themed() {
|
color: t('primary');
|
}
|
}
|
}
|
|
h3 {
|
text-transform: uppercase;
|
letter-spacing: 1px;
|
line-height: 1;
|
font-weight: 600;
|
font-size: 2.2rem;
|
|
a {
|
@include themed() {
|
color: t('primary');
|
}
|
}
|
}
|
|
ul,
|
ol {
|
line-height: 1.9em;
|
font-weight: 400;
|
font-size: 1.4rem;
|
}
|
|
img {
|
display: block;
|
margin-left: auto;
|
margin-right: auto;
|
max-width: 100%;
|
}
|
|
figure {
|
max-width: 100%;
|
height: auto;
|
margin: 0;
|
text-align: center;
|
|
&.big {
|
max-width: 100vw;
|
}
|
|
&.right {
|
@include desktop {
|
max-width: 50%;
|
|
@include ltr {
|
float: right;
|
margin-left: 1.5em;
|
}
|
|
@include rtl {
|
float: left;
|
margin-right: 1.5em;
|
}
|
}
|
}
|
|
&.left {
|
@include desktop {
|
max-width: 50%;
|
|
@include ltr {
|
float: left;
|
margin-right: 1.5em;
|
}
|
|
@include rtl {
|
float: right;
|
margin-left: 1.5em;
|
}
|
}
|
}
|
}
|
}
|
|
&__footer {
|
font-size: 1.2rem;
|
padding: 12px 0;
|
|
@include themed() {
|
border-bottom: t('border');
|
}
|
|
&-date {
|
@include ltr {
|
margin-right: 10px;
|
margin-left: 5px;
|
}
|
@include rtl {
|
margin-left: 10px;
|
margin-right: 5px;
|
}
|
}
|
}
|
}
|