2023-01-01 18:21:01 +03:00
|
|
|
@import 'normalize';
|
|
|
|
@import '_vars';
|
|
|
|
@import '_font';
|
|
|
|
@import '_base';
|
|
|
|
|
|
|
|
.container {
|
|
|
|
width: 100%;
|
|
|
|
max-width: $container-width;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav.navbar {
|
2023-11-22 11:12:35 +03:00
|
|
|
background-color: $navbar-color;
|
|
|
|
color: $navbar-text-color;
|
|
|
|
font-size: 1.5rem;
|
|
|
|
padding: 10px 0;
|
|
|
|
margin-bottom: 1rem;
|
2023-01-01 21:11:39 +03:00
|
|
|
|
|
|
|
.logo {
|
|
|
|
width: 1.5em;
|
|
|
|
height: 1.5em;
|
|
|
|
margin-right: 0.5em;
|
2023-01-01 21:59:37 +03:00
|
|
|
background: no-repeat center url("/images/favicon.png");
|
|
|
|
background-size: cover;
|
2023-01-01 18:21:01 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.container {
|
|
|
|
padding: 0 24px;
|
2023-01-01 21:11:39 +03:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2023-01-01 18:21:01 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
a:link,
|
|
|
|
a:visited {
|
|
|
|
color: $navbar-text-color;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.post.single {
|
2023-11-22 11:12:35 +03:00
|
|
|
background-color: $post-bg-color;
|
|
|
|
padding: 24px;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
word-break: break-word;
|
2023-01-07 20:13:13 +03:00
|
|
|
|
|
|
|
p {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
margin-top: 0.5em;
|
|
|
|
margin-bottom: 0.8em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1,
|
|
|
|
h2
|
|
|
|
{
|
|
|
|
padding-bottom: 0.3em;
|
|
|
|
border-bottom: 1px solid $table-border-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1.page-title {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2023-01-01 18:21:01 +03:00
|
|
|
|
|
|
|
.image-wrapper {
|
2023-11-22 11:12:35 +03:00
|
|
|
display: inline-block;
|
|
|
|
text-align: center;
|
|
|
|
margin: 0;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
padding: 16px;
|
|
|
|
background-color: $image-wrapper-bg-color;
|
|
|
|
border: 1px solid $image-wrapper-border-color;
|
2023-01-01 18:21:01 +03:00
|
|
|
|
|
|
|
img {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
figcaption {
|
|
|
|
margin-top: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-01-07 20:25:49 +03:00
|
|
|
blockquote {
|
2023-11-22 11:12:35 +03:00
|
|
|
background-color: #f9f9f9;
|
|
|
|
border-left: 5px solid #ffc7bd;
|
|
|
|
margin: 0;
|
|
|
|
padding: 1em;
|
|
|
|
margin-bottom: 1em;
|
2023-01-07 20:25:49 +03:00
|
|
|
|
|
|
|
p:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-01-01 18:21:01 +03:00
|
|
|
table {
|
|
|
|
border-collapse: collapse;
|
|
|
|
}
|
|
|
|
|
|
|
|
table,
|
|
|
|
th,
|
|
|
|
td {
|
|
|
|
border: 1px solid $table-border-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
th,
|
|
|
|
td {
|
|
|
|
padding: 0.3rem;
|
|
|
|
}
|
2023-11-22 11:05:35 +03:00
|
|
|
|
|
|
|
video {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2023-01-01 18:21:01 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
section.posts {
|
2023-11-22 11:12:35 +03:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 16px;
|
2023-01-01 18:21:01 +03:00
|
|
|
|
|
|
|
.post {
|
|
|
|
background-color: $post-bg-color;
|
|
|
|
padding: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.thumb {
|
|
|
|
float: left;
|
|
|
|
margin-right: 16px;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
header {
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.body::after {
|
|
|
|
content: " ";
|
|
|
|
clear: both;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer {
|
|
|
|
margin-top: 1rem;
|
2023-01-01 20:05:33 +03:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
gap: 0.5rem;
|
2023-01-01 18:21:01 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
footer time {
|
|
|
|
color: #aaa;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer .category {
|
|
|
|
color: $tag-color;
|
|
|
|
border: 1px solid $tag-color;
|
|
|
|
padding: 0 0.5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-wrapper {
|
2023-11-22 11:12:35 +03:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
gap: 16px;
|
2023-01-01 18:21:01 +03:00
|
|
|
|
|
|
|
@media (max-width: $tablet-width) {
|
2023-11-22 11:12:35 +03:00
|
|
|
flex-direction: column;
|
2023-01-01 18:21:01 +03:00
|
|
|
}
|
|
|
|
|
2023-01-04 20:26:54 +03:00
|
|
|
.content-column {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2023-01-01 18:21:01 +03:00
|
|
|
.sidebar {
|
2023-11-22 11:12:35 +03:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
min-width: 300px;
|
|
|
|
width: 300px;
|
|
|
|
gap: 16px;
|
2023-01-01 18:21:01 +03:00
|
|
|
|
2023-11-22 14:23:57 +03:00
|
|
|
@media (max-width: $tablet-width) {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2023-01-01 18:21:01 +03:00
|
|
|
.item {
|
|
|
|
background-color: $post-bg-color;
|
|
|
|
padding: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style-type: "- ";
|
|
|
|
list-style-position: inside;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-footer {
|
|
|
|
min-height: 16px;
|
2023-01-01 22:58:40 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.comments {
|
|
|
|
background-color: $post-bg-color;
|
|
|
|
padding: 24px;
|
2023-11-22 11:05:35 +03:00
|
|
|
}
|