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 {
|
|
|
|
& {
|
|
|
|
background-color: $navbar-color;
|
|
|
|
color: $navbar-text-color;
|
|
|
|
font-size: 1.5rem;
|
|
|
|
padding: 10px 0;
|
|
|
|
margin-bottom: 1rem;
|
2023-01-01 21:59:37 +03:00
|
|
|
// line-height: 0%;
|
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-01-01 22:58:40 +03:00
|
|
|
& {
|
|
|
|
background-color: $post-bg-color;
|
|
|
|
padding: 24px;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
2023-01-01 18:21:01 +03:00
|
|
|
|
|
|
|
.image-wrapper {
|
|
|
|
& {
|
|
|
|
display: inline-block;
|
|
|
|
text-align: center;
|
|
|
|
margin: 0;
|
|
|
|
padding: 16px;
|
2023-01-07 11:53:48 +03:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
border-collapse: collapse;
|
|
|
|
}
|
|
|
|
|
|
|
|
table,
|
|
|
|
th,
|
|
|
|
td {
|
|
|
|
border: 1px solid $table-border-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
th,
|
|
|
|
td {
|
|
|
|
padding: 0.3rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
section.posts {
|
|
|
|
& {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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);
|
|
|
|
// border: 1px solid #ccc;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
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 {
|
|
|
|
& {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
gap: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: $tablet-width) {
|
|
|
|
& {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-01-04 20:26:54 +03:00
|
|
|
.content-column {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2023-01-01 18:21:01 +03:00
|
|
|
.sidebar {
|
|
|
|
& {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
min-width: 300px;
|
2023-01-04 20:26:54 +03:00
|
|
|
width: 300px;
|
2023-01-01 18:21:01 +03:00
|
|
|
gap: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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-01-01 18:21:01 +03:00
|
|
|
}
|