2024-01-13 17:00:08 +03:00
|
|
|
|
/* The common styles */
|
2020-12-24 14:37:33 +03:00
|
|
|
|
|
2022-01-26 23:41:19 +03:00
|
|
|
|
html {
|
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
|
|
|
&:not([data-mode]),
|
2023-03-15 22:36:52 +03:00
|
|
|
|
&[data-mode='light'] {
|
2022-01-26 23:41:19 +03:00
|
|
|
|
@include light-scheme;
|
|
|
|
|
}
|
2020-02-27 16:05:50 +03:00
|
|
|
|
|
2023-03-15 22:36:52 +03:00
|
|
|
|
&[data-mode='dark'] {
|
2022-01-26 23:41:19 +03:00
|
|
|
|
@include dark-scheme;
|
|
|
|
|
}
|
2020-02-27 16:05:50 +03:00
|
|
|
|
}
|
|
|
|
|
|
2022-01-26 23:41:19 +03:00
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
|
&:not([data-mode]),
|
2023-03-15 22:36:52 +03:00
|
|
|
|
&[data-mode='dark'] {
|
2022-01-26 23:41:19 +03:00
|
|
|
|
@include dark-scheme;
|
|
|
|
|
}
|
|
|
|
|
|
2023-03-15 22:36:52 +03:00
|
|
|
|
&[data-mode='light'] {
|
2022-01-26 23:41:19 +03:00
|
|
|
|
@include light-scheme;
|
|
|
|
|
}
|
2020-02-27 16:05:50 +03:00
|
|
|
|
}
|
2020-02-16 22:06:38 +03:00
|
|
|
|
|
2019-10-16 18:20:51 +03:00
|
|
|
|
font-size: 16px;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body {
|
2023-03-16 20:17:06 +03:00
|
|
|
|
background: var(--main-bg);
|
|
|
|
|
padding: env(safe-area-inset-top) env(safe-area-inset-right)
|
|
|
|
|
env(safe-area-inset-bottom) env(safe-area-inset-left);
|
2020-02-27 16:05:50 +03:00
|
|
|
|
color: var(--text-color);
|
2019-09-30 15:38:41 +03:00
|
|
|
|
-webkit-font-smoothing: antialiased;
|
2023-04-16 20:31:49 +03:00
|
|
|
|
font-family: $font-family-base;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
/* --- Typography --- */
|
2020-05-31 21:31:13 +03:00
|
|
|
|
|
2023-05-13 04:03:13 +03:00
|
|
|
|
@for $i from 1 through 5 {
|
|
|
|
|
h#{$i} {
|
|
|
|
|
@extend %heading;
|
2020-05-31 21:31:13 +03:00
|
|
|
|
|
2023-05-13 04:03:13 +03:00
|
|
|
|
@if $i > 1 {
|
|
|
|
|
@extend %section;
|
|
|
|
|
@extend %anchor;
|
|
|
|
|
}
|
2020-12-21 17:17:11 +03:00
|
|
|
|
|
2023-05-13 04:03:13 +03:00
|
|
|
|
@if $i < 5 {
|
|
|
|
|
$factor: 0.18rem;
|
2020-02-26 23:00:01 +03:00
|
|
|
|
|
2023-05-13 04:03:13 +03:00
|
|
|
|
@if $i == 1 {
|
|
|
|
|
$factor: 0.23rem;
|
|
|
|
|
}
|
2020-02-26 23:00:01 +03:00
|
|
|
|
|
2023-05-13 04:03:13 +03:00
|
|
|
|
font-size: 1rem + (5 - $i) * $factor;
|
|
|
|
|
} @else {
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-01-27 15:06:31 +03:00
|
|
|
|
}
|
2020-02-26 23:00:01 +03:00
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
a {
|
|
|
|
|
@extend %link-color;
|
2023-04-10 05:54:27 +03:00
|
|
|
|
|
|
|
|
|
text-decoration: none;
|
2021-01-27 15:06:31 +03:00
|
|
|
|
}
|
2020-02-26 23:00:01 +03:00
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
img {
|
|
|
|
|
max-width: 100%;
|
2021-06-30 14:08:42 +03:00
|
|
|
|
height: auto;
|
2023-09-29 00:07:03 +03:00
|
|
|
|
transition: all 0.35s ease-in-out;
|
2023-03-21 18:47:01 +03:00
|
|
|
|
|
2023-09-29 00:07:03 +03:00
|
|
|
|
.blur & {
|
2023-09-26 23:44:32 +03:00
|
|
|
|
$blur: 20px;
|
2022-12-13 16:41:32 +03:00
|
|
|
|
|
2023-09-26 23:44:32 +03:00
|
|
|
|
-webkit-filter: blur($blur);
|
|
|
|
|
filter: blur($blur);
|
2022-12-13 16:41:32 +03:00
|
|
|
|
}
|
2021-01-27 15:06:31 +03:00
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
blockquote {
|
|
|
|
|
border-left: 5px solid var(--blockquote-border-color);
|
|
|
|
|
padding-left: 1rem;
|
|
|
|
|
color: var(--blockquote-text-color);
|
2022-01-21 12:46:01 +03:00
|
|
|
|
|
2024-01-07 01:27:09 +03:00
|
|
|
|
> p:last-child {
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2023-03-15 22:36:52 +03:00
|
|
|
|
&[class^='prompt-'] {
|
2022-01-21 12:46:01 +03:00
|
|
|
|
border-left: 0;
|
2023-01-30 01:15:20 +03:00
|
|
|
|
position: relative;
|
2023-01-29 23:58:30 +03:00
|
|
|
|
padding: 1rem 1rem 1rem 3rem;
|
2022-01-26 23:41:19 +03:00
|
|
|
|
color: var(--prompt-text-color);
|
2022-01-21 12:46:01 +03:00
|
|
|
|
|
2022-12-20 11:04:39 +03:00
|
|
|
|
@extend %rounded;
|
|
|
|
|
|
2022-01-21 12:46:01 +03:00
|
|
|
|
&::before {
|
|
|
|
|
text-align: center;
|
2023-01-30 01:15:20 +03:00
|
|
|
|
width: 3rem;
|
2023-01-29 23:58:30 +03:00
|
|
|
|
position: absolute;
|
2023-01-30 01:15:20 +03:00
|
|
|
|
left: 0.25rem;
|
2023-01-29 23:58:30 +03:00
|
|
|
|
margin-top: 0.4rem;
|
2022-12-08 01:08:26 +03:00
|
|
|
|
text-rendering: auto;
|
|
|
|
|
-webkit-font-smoothing: antialiased;
|
2022-01-21 12:46:01 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2023-03-15 22:36:52 +03:00
|
|
|
|
@include prompt('tip', '\f0eb', 'regular');
|
|
|
|
|
@include prompt('info', '\f06a');
|
|
|
|
|
@include prompt('warning', '\f06a');
|
|
|
|
|
@include prompt('danger', '\f071');
|
2021-01-27 15:06:31 +03:00
|
|
|
|
}
|
2020-12-21 17:17:11 +03:00
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
kbd {
|
2022-01-02 11:28:42 +03:00
|
|
|
|
font-family: inherit;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
vertical-align: middle;
|
|
|
|
|
line-height: 1.3rem;
|
|
|
|
|
min-width: 1.75rem;
|
|
|
|
|
text-align: center;
|
2021-01-27 15:06:31 +03:00
|
|
|
|
margin: 0 0.3rem;
|
2022-01-02 11:28:42 +03:00
|
|
|
|
padding-top: 0.1rem;
|
|
|
|
|
color: var(--kbd-text-color);
|
|
|
|
|
background-color: var(--kbd-bg-color);
|
|
|
|
|
border-radius: 0.25rem;
|
|
|
|
|
border: solid 1px var(--kbd-wrap-color);
|
|
|
|
|
box-shadow: inset 0 -2px 0 var(--kbd-wrap-color);
|
2021-01-27 15:06:31 +03:00
|
|
|
|
}
|
2020-12-21 17:17:11 +03:00
|
|
|
|
|
2024-02-28 19:58:20 +03:00
|
|
|
|
hr {
|
|
|
|
|
border-color: var(--main-border-color);
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
footer {
|
2022-09-29 17:20:01 +03:00
|
|
|
|
background-color: var(--main-bg);
|
2023-09-06 20:58:03 +03:00
|
|
|
|
height: $footer-height;
|
|
|
|
|
border-top: 1px solid var(--main-border-color);
|
2020-12-21 17:17:11 +03:00
|
|
|
|
|
2023-10-07 23:40:16 +03:00
|
|
|
|
@extend %text-xs;
|
2023-08-02 00:18:35 +03:00
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
a {
|
2023-08-02 00:18:35 +03:00
|
|
|
|
@extend %text-highlight;
|
2021-10-25 22:04:15 +03:00
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
&:hover {
|
|
|
|
|
@extend %link-hover;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
2021-01-27 15:06:31 +03:00
|
|
|
|
}
|
2021-10-25 22:04:15 +03:00
|
|
|
|
|
2024-01-19 00:48:26 +03:00
|
|
|
|
em {
|
|
|
|
|
@extend %text-highlight;
|
|
|
|
|
}
|
|
|
|
|
|
2023-04-02 07:10:08 +03:00
|
|
|
|
p {
|
|
|
|
|
text-align: center;
|
|
|
|
|
margin-bottom: 0;
|
2019-11-06 13:06:10 +03:00
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2023-03-15 22:36:52 +03:00
|
|
|
|
/* fontawesome icons */
|
|
|
|
|
i {
|
2021-11-02 12:54:36 +03:00
|
|
|
|
&.far,
|
|
|
|
|
&.fas {
|
|
|
|
|
@extend %no-cursor;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
/* --- Panels --- */
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
.access {
|
|
|
|
|
top: 2rem;
|
|
|
|
|
transition: top 0.2s ease-in-out;
|
|
|
|
|
margin-top: 3rem;
|
|
|
|
|
margin-bottom: 4rem;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
&:only-child {
|
2022-10-21 16:34:41 +03:00
|
|
|
|
position: -webkit-sticky;
|
2021-01-27 15:06:31 +03:00
|
|
|
|
position: sticky;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
2021-10-25 22:04:15 +03:00
|
|
|
|
|
2023-09-08 17:48:37 +03:00
|
|
|
|
> section {
|
2020-02-25 12:56:03 +03:00
|
|
|
|
padding-left: 1rem;
|
2020-02-27 16:05:50 +03:00
|
|
|
|
border-left: 1px solid var(--main-border-color);
|
2021-10-25 22:04:15 +03:00
|
|
|
|
|
2020-02-28 19:16:47 +03:00
|
|
|
|
&:not(:last-child) {
|
|
|
|
|
margin-bottom: 4rem;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
2021-10-25 22:04:15 +03:00
|
|
|
|
|
2023-09-08 17:48:37 +03:00
|
|
|
|
.content {
|
2020-10-27 17:08:04 +03:00
|
|
|
|
font-size: 0.9rem;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2021-12-01 16:49:51 +03:00
|
|
|
|
#panel-wrapper {
|
2022-02-14 18:18:24 +03:00
|
|
|
|
/* the headings */
|
2021-12-30 19:29:25 +03:00
|
|
|
|
.panel-heading {
|
2023-09-08 17:48:37 +03:00
|
|
|
|
font-family: inherit;
|
|
|
|
|
line-height: inherit;
|
|
|
|
|
|
2021-12-07 15:08:53 +03:00
|
|
|
|
@include label(inherit);
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
2021-01-27 15:06:31 +03:00
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
|
.post-tag {
|
2023-03-21 03:59:17 +03:00
|
|
|
|
line-height: 1.05rem;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
font-size: 0.85rem;
|
2020-10-27 17:08:04 +03:00
|
|
|
|
border-radius: 0.8rem;
|
2020-12-18 15:54:18 +03:00
|
|
|
|
padding: 0.3rem 0.5rem;
|
|
|
|
|
margin: 0 0.35rem 0.5rem 0;
|
2021-10-25 22:04:15 +03:00
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
|
&:hover {
|
2023-03-21 03:59:17 +03:00
|
|
|
|
transition: all 0.3s ease-in;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
|
#access-lastmod {
|
|
|
|
|
a {
|
|
|
|
|
&:hover {
|
|
|
|
|
@extend %link-hover;
|
|
|
|
|
}
|
2021-01-27 15:06:31 +03:00
|
|
|
|
|
|
|
|
|
@extend %no-bottom-border;
|
|
|
|
|
|
2021-04-05 15:02:17 +03:00
|
|
|
|
color: inherit;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
2021-01-27 15:06:31 +03:00
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
2020-12-24 14:37:33 +03:00
|
|
|
|
.footnotes > ol {
|
|
|
|
|
padding-left: 2rem;
|
2020-10-27 17:08:04 +03:00
|
|
|
|
margin-top: 0.5rem;
|
2021-10-25 22:04:15 +03:00
|
|
|
|
|
2020-10-27 17:08:04 +03:00
|
|
|
|
> li {
|
2020-12-31 16:37:17 +03:00
|
|
|
|
&:not(:last-child) {
|
|
|
|
|
margin-bottom: 0.3rem;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
2021-10-25 22:04:15 +03:00
|
|
|
|
|
2023-09-19 23:27:32 +03:00
|
|
|
|
@extend %sup-fn-target;
|
|
|
|
|
|
2020-12-24 14:37:33 +03:00
|
|
|
|
> p {
|
|
|
|
|
margin-left: 0.25em;
|
|
|
|
|
margin-top: 0;
|
|
|
|
|
margin-bottom: 0;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
|
.footnote {
|
|
|
|
|
@at-root a#{&} {
|
2020-12-31 16:37:17 +03:00
|
|
|
|
@include ml-mr(1px);
|
|
|
|
|
@include pl-pr(2px);
|
2021-01-27 15:06:31 +03:00
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
|
border-bottom-style: none !important;
|
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2023-09-19 23:27:32 +03:00
|
|
|
|
sup {
|
|
|
|
|
@extend %sup-fn-target;
|
|
|
|
|
}
|
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
|
.reversefootnote {
|
|
|
|
|
@at-root a#{&} {
|
2020-10-27 17:08:04 +03:00
|
|
|
|
font-size: 0.6rem;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
line-height: 1;
|
2021-10-31 17:56:22 +03:00
|
|
|
|
position: relative;
|
|
|
|
|
bottom: 0.25em;
|
|
|
|
|
margin-left: 0.25em;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
border-bottom-style: none !important;
|
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
/* --- Begin of Markdown table style --- */
|
2020-12-24 19:22:21 +03:00
|
|
|
|
|
2022-02-14 18:18:24 +03:00
|
|
|
|
/* it will be created by Liquid */
|
2021-12-30 19:29:25 +03:00
|
|
|
|
.table-wrapper {
|
2020-08-14 19:35:00 +03:00
|
|
|
|
overflow-x: auto;
|
2020-12-24 19:22:21 +03:00
|
|
|
|
margin-bottom: 1.5rem;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
2020-10-27 17:08:04 +03:00
|
|
|
|
> table {
|
2020-12-24 14:37:33 +03:00
|
|
|
|
min-width: 100%;
|
2020-06-24 15:08:38 +03:00
|
|
|
|
overflow-x: auto;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
border-spacing: 0;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
2020-08-14 19:35:00 +03:00
|
|
|
|
thead {
|
|
|
|
|
border-bottom: solid 2px rgba(210, 215, 217, 0.75);
|
2021-10-25 22:04:15 +03:00
|
|
|
|
|
2020-08-14 19:35:00 +03:00
|
|
|
|
th {
|
|
|
|
|
@extend %table-cell;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
2020-01-11 12:52:38 +03:00
|
|
|
|
|
2020-08-14 19:35:00 +03:00
|
|
|
|
tbody {
|
|
|
|
|
tr {
|
2021-01-27 15:06:31 +03:00
|
|
|
|
border-bottom: 1px solid var(--tb-border-color);
|
2021-10-25 22:04:15 +03:00
|
|
|
|
|
2020-08-14 19:35:00 +03:00
|
|
|
|
&:nth-child(2n) {
|
|
|
|
|
background-color: var(--tb-even-bg);
|
|
|
|
|
}
|
2021-10-25 22:04:15 +03:00
|
|
|
|
|
2020-08-14 19:35:00 +03:00
|
|
|
|
&:nth-child(2n + 1) {
|
|
|
|
|
background-color: var(--tb-odd-bg);
|
|
|
|
|
}
|
2021-10-25 22:04:15 +03:00
|
|
|
|
|
2020-08-14 19:35:00 +03:00
|
|
|
|
td {
|
|
|
|
|
@extend %table-cell;
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-02-14 18:18:24 +03:00
|
|
|
|
} /* tbody */
|
2023-03-15 22:36:52 +03:00
|
|
|
|
} /* table */
|
2020-08-14 19:35:00 +03:00
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
/* --- post --- */
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
2023-09-26 23:44:32 +03:00
|
|
|
|
.preview-img {
|
|
|
|
|
aspect-ratio: 40 / 21;
|
|
|
|
|
width: 100%;
|
2023-11-12 22:59:48 +03:00
|
|
|
|
height: 100%;
|
2023-09-26 23:44:32 +03:00
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
|
|
@extend %rounded;
|
|
|
|
|
|
|
|
|
|
&:not(.no-bg) {
|
2023-10-05 00:40:16 +03:00
|
|
|
|
background: var(--img-bg);
|
2023-09-26 23:44:32 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
img {
|
|
|
|
|
height: 100%;
|
|
|
|
|
-o-object-fit: cover;
|
|
|
|
|
object-fit: cover;
|
|
|
|
|
|
|
|
|
|
@extend %rounded;
|
2023-10-15 20:51:02 +03:00
|
|
|
|
|
|
|
|
|
@at-root #post-list & {
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
2023-09-26 23:44:32 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2023-03-21 04:52:15 +03:00
|
|
|
|
.post-preview {
|
|
|
|
|
@extend %rounded;
|
|
|
|
|
|
|
|
|
|
border: 0;
|
|
|
|
|
background: var(--card-bg);
|
|
|
|
|
box-shadow: var(--card-shadow);
|
|
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
|
@extend %rounded;
|
|
|
|
|
|
|
|
|
|
content: '';
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
position: absolute;
|
|
|
|
|
background-color: var(--card-hovor-bg);
|
|
|
|
|
opacity: 0;
|
|
|
|
|
transition: opacity 0.35s ease-in-out;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
&::before {
|
|
|
|
|
opacity: 0.3;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2023-09-08 17:48:37 +03:00
|
|
|
|
main {
|
|
|
|
|
line-height: 1.75;
|
|
|
|
|
|
2021-12-03 11:36:40 +03:00
|
|
|
|
h1 {
|
2023-03-29 00:01:25 +03:00
|
|
|
|
margin-top: 2rem;
|
2021-12-03 11:36:40 +03:00
|
|
|
|
}
|
|
|
|
|
|
2022-12-13 16:41:32 +03:00
|
|
|
|
p {
|
|
|
|
|
> a.popup {
|
|
|
|
|
&:not(.normal):not(.left):not(.right) {
|
|
|
|
|
@include align-center;
|
2021-12-03 11:36:40 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
2022-12-13 16:41:32 +03:00
|
|
|
|
}
|
2023-09-08 17:48:37 +03:00
|
|
|
|
|
|
|
|
|
.categories,
|
|
|
|
|
#tags,
|
|
|
|
|
#archives {
|
|
|
|
|
a:not(:hover) {
|
|
|
|
|
@extend %no-bottom-border;
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-12-03 11:36:40 +03:00
|
|
|
|
}
|
|
|
|
|
|
2019-09-30 15:38:41 +03:00
|
|
|
|
.post-meta {
|
2023-10-07 23:40:16 +03:00
|
|
|
|
@extend %text-sm;
|
2021-10-25 22:04:15 +03:00
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
|
a {
|
2022-04-25 22:03:34 +03:00
|
|
|
|
&:not([class]):hover {
|
2020-02-25 12:56:03 +03:00
|
|
|
|
@extend %link-hover;
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-12-04 01:56:33 +03:00
|
|
|
|
|
|
|
|
|
em {
|
|
|
|
|
@extend %normal-font-style;
|
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2023-09-08 17:48:37 +03:00
|
|
|
|
.content {
|
2021-04-12 14:45:01 +03:00
|
|
|
|
font-size: 1.08rem;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
margin-top: 2rem;
|
|
|
|
|
overflow-wrap: break-word;
|
2020-10-07 07:24:25 +03:00
|
|
|
|
|
|
|
|
|
a {
|
2022-12-13 16:41:32 +03:00
|
|
|
|
&.popup {
|
|
|
|
|
@extend %no-cursor;
|
|
|
|
|
@extend %img-caption;
|
|
|
|
|
@include mt-mb(0.5rem);
|
|
|
|
|
|
|
|
|
|
cursor: zoom-in;
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-16 08:04:48 +03:00
|
|
|
|
&:not(.img-link) {
|
2020-10-07 07:24:25 +03:00
|
|
|
|
@extend %link-underline;
|
2021-10-25 22:04:15 +03:00
|
|
|
|
|
2020-10-07 07:24:25 +03:00
|
|
|
|
&:hover {
|
|
|
|
|
@extend %link-hover;
|
2020-10-06 15:15:19 +03:00
|
|
|
|
}
|
2020-09-02 13:25:57 +03:00
|
|
|
|
}
|
2021-12-03 11:36:40 +03:00
|
|
|
|
}
|
2021-04-21 18:17:34 +03:00
|
|
|
|
|
2022-11-04 23:13:06 +03:00
|
|
|
|
ol,
|
|
|
|
|
ul {
|
|
|
|
|
&:not([class]),
|
|
|
|
|
&.task-list {
|
|
|
|
|
-webkit-padding-start: 1.75rem;
|
|
|
|
|
padding-inline-start: 1.75rem;
|
|
|
|
|
|
|
|
|
|
li {
|
|
|
|
|
margin: 0.25rem 0;
|
|
|
|
|
padding-left: 0.25rem;
|
|
|
|
|
}
|
2022-10-05 10:17:50 +03:00
|
|
|
|
|
2022-11-04 23:13:06 +03:00
|
|
|
|
ol,
|
|
|
|
|
ul {
|
|
|
|
|
-webkit-padding-start: 1.25rem;
|
|
|
|
|
padding-inline-start: 1.25rem;
|
|
|
|
|
margin: 0.5rem 0;
|
|
|
|
|
}
|
2022-10-05 10:17:50 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-10-24 15:56:15 +03:00
|
|
|
|
ul.task-list {
|
|
|
|
|
-webkit-padding-start: 1.25rem;
|
|
|
|
|
padding-inline-start: 1.25rem;
|
|
|
|
|
|
|
|
|
|
li {
|
2021-01-27 15:06:31 +03:00
|
|
|
|
list-style-type: none;
|
2022-10-24 15:56:15 +03:00
|
|
|
|
padding-left: 0;
|
2021-01-27 15:06:31 +03:00
|
|
|
|
|
2023-03-15 22:36:52 +03:00
|
|
|
|
/* checkbox icon */
|
|
|
|
|
> i {
|
2022-10-24 15:56:15 +03:00
|
|
|
|
width: 2rem;
|
|
|
|
|
margin-left: -1.25rem;
|
2021-01-27 15:06:31 +03:00
|
|
|
|
color: var(--checkbox-color);
|
2021-10-25 22:04:15 +03:00
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
&.checked {
|
|
|
|
|
color: var(--checkbox-checked-color);
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-10-24 15:56:15 +03:00
|
|
|
|
|
|
|
|
|
ul {
|
|
|
|
|
-webkit-padding-start: 1.75rem;
|
|
|
|
|
padding-inline-start: 1.75rem;
|
|
|
|
|
}
|
2021-01-27 15:06:31 +03:00
|
|
|
|
}
|
|
|
|
|
|
2023-03-15 22:36:52 +03:00
|
|
|
|
input[type='checkbox'] {
|
2021-01-27 15:06:31 +03:00
|
|
|
|
margin: 0 0.5rem 0.2rem -1.3rem;
|
|
|
|
|
vertical-align: middle;
|
|
|
|
|
}
|
2022-02-14 18:18:24 +03:00
|
|
|
|
} /* ul */
|
2021-01-27 15:06:31 +03:00
|
|
|
|
|
|
|
|
|
dl > dd {
|
|
|
|
|
margin-left: 1rem;
|
|
|
|
|
}
|
2023-03-23 21:19:37 +03:00
|
|
|
|
|
|
|
|
|
::marker {
|
|
|
|
|
color: var(--text-muted-color);
|
|
|
|
|
}
|
2023-09-08 17:48:37 +03:00
|
|
|
|
} /* .content */
|
2021-01-27 15:06:31 +03:00
|
|
|
|
|
|
|
|
|
.tag:hover {
|
|
|
|
|
@extend %tag-hover;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.post-tag {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
min-width: 2rem;
|
|
|
|
|
text-align: center;
|
2023-08-02 00:18:35 +03:00
|
|
|
|
border-radius: 0.5rem;
|
|
|
|
|
border: 1px solid var(--btn-border-color);
|
2021-01-27 15:06:31 +03:00
|
|
|
|
padding: 0 0.4rem;
|
2023-08-02 00:18:35 +03:00
|
|
|
|
color: var(--text-muted-color);
|
2021-01-27 15:06:31 +03:00
|
|
|
|
line-height: 1.3rem;
|
|
|
|
|
|
|
|
|
|
&:not(:last-child) {
|
|
|
|
|
margin-right: 0.2rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-12-20 11:04:39 +03:00
|
|
|
|
.rounded-10 {
|
|
|
|
|
border-radius: 10px !important;
|
|
|
|
|
}
|
|
|
|
|
|
2022-12-13 16:41:32 +03:00
|
|
|
|
.img-link {
|
|
|
|
|
color: transparent;
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.shimmer {
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
position: relative;
|
|
|
|
|
background: var(--img-bg);
|
|
|
|
|
|
|
|
|
|
&::before {
|
2023-03-15 22:36:52 +03:00
|
|
|
|
content: '';
|
2022-12-13 16:41:32 +03:00
|
|
|
|
position: absolute;
|
|
|
|
|
background: var(--shimmer-bg);
|
|
|
|
|
height: 100%;
|
|
|
|
|
width: 100%;
|
2023-09-26 23:44:32 +03:00
|
|
|
|
-webkit-animation: shimmer 1.3s infinite;
|
|
|
|
|
animation: shimmer 1.3s infinite;
|
2022-12-13 16:41:32 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@-webkit-keyframes shimmer {
|
2023-03-15 22:36:52 +03:00
|
|
|
|
0% {
|
|
|
|
|
transform: translateX(-100%);
|
|
|
|
|
}
|
2023-09-27 20:21:30 +03:00
|
|
|
|
|
2023-03-15 22:36:52 +03:00
|
|
|
|
100% {
|
|
|
|
|
transform: translateX(100%);
|
|
|
|
|
}
|
2022-12-13 16:41:32 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes shimmer {
|
2023-03-15 22:36:52 +03:00
|
|
|
|
0% {
|
|
|
|
|
transform: translateX(-100%);
|
|
|
|
|
}
|
2023-09-27 20:21:30 +03:00
|
|
|
|
|
2023-03-15 22:36:52 +03:00
|
|
|
|
100% {
|
|
|
|
|
transform: translateX(100%);
|
|
|
|
|
}
|
2022-12-13 16:41:32 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-12-16 22:56:19 +03:00
|
|
|
|
.embed-video {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
margin-bottom: 1rem;
|
2024-02-27 23:51:33 +03:00
|
|
|
|
aspect-ratio: 16 / 9;
|
2022-12-16 22:56:19 +03:00
|
|
|
|
|
2022-12-20 11:04:39 +03:00
|
|
|
|
@extend %rounded;
|
|
|
|
|
|
2022-12-16 22:56:19 +03:00
|
|
|
|
&.twitch {
|
|
|
|
|
aspect-ratio: 310 / 189;
|
|
|
|
|
}
|
2024-02-27 23:51:33 +03:00
|
|
|
|
|
|
|
|
|
&.file {
|
|
|
|
|
display: block;
|
|
|
|
|
width: auto;
|
|
|
|
|
height: auto;
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
max-height: 100%;
|
|
|
|
|
margin: auto;
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@extend %img-caption;
|
2022-12-16 22:56:19 +03:00
|
|
|
|
}
|
|
|
|
|
|
2024-04-04 19:54:50 +03:00
|
|
|
|
.embed-audio {
|
|
|
|
|
width: 100%;
|
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
|
|
@extend %img-caption;
|
|
|
|
|
}
|
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
/* --- buttons --- */
|
|
|
|
|
.btn-lang {
|
|
|
|
|
border: 1px solid !important;
|
|
|
|
|
padding: 1px 3px;
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
color: var(--link-color);
|
2021-10-25 22:04:15 +03:00
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
&:focus {
|
|
|
|
|
box-shadow: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* --- Effects classes --- */
|
|
|
|
|
|
|
|
|
|
.loaded {
|
|
|
|
|
display: block !important;
|
|
|
|
|
|
|
|
|
|
@at-root .d-flex#{&} {
|
|
|
|
|
display: flex !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.unloaded {
|
|
|
|
|
display: none !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.visible {
|
|
|
|
|
visibility: visible !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hidden {
|
|
|
|
|
visibility: hidden !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.flex-grow-1 {
|
|
|
|
|
flex-grow: 1 !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-box-shadow {
|
2023-09-05 19:13:10 +03:00
|
|
|
|
box-shadow: var(--card-shadow);
|
2021-01-27 15:06:31 +03:00
|
|
|
|
}
|
|
|
|
|
|
2023-03-21 03:44:10 +03:00
|
|
|
|
/* overwrite bootstrap muted */
|
|
|
|
|
.text-muted {
|
|
|
|
|
color: var(--text-muted-color) !important;
|
|
|
|
|
}
|
|
|
|
|
|
2023-03-21 02:20:32 +03:00
|
|
|
|
/* Overwrite bootstrap tooltip */
|
2023-03-15 22:36:52 +03:00
|
|
|
|
.tooltip-inner {
|
2021-01-27 15:06:31 +03:00
|
|
|
|
font-size: 0.7rem;
|
|
|
|
|
max-width: 220px;
|
|
|
|
|
text-align: left;
|
|
|
|
|
}
|
|
|
|
|
|
2023-03-21 03:59:17 +03:00
|
|
|
|
/* Overwrite bootstrap outline button */
|
|
|
|
|
.btn.btn-outline-primary {
|
2023-03-21 04:52:15 +03:00
|
|
|
|
&:not(.disabled):hover {
|
2023-03-21 03:59:17 +03:00
|
|
|
|
border-color: #007bff !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
.disabled {
|
|
|
|
|
color: rgb(206, 196, 196);
|
|
|
|
|
pointer-events: auto;
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hide-border-bottom {
|
|
|
|
|
border-bottom: none !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.input-focus {
|
|
|
|
|
box-shadow: none;
|
|
|
|
|
border-color: var(--input-focus-border-color) !important;
|
|
|
|
|
background: center !important;
|
|
|
|
|
transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
|
|
|
|
|
}
|
|
|
|
|
|
2022-12-13 16:41:32 +03:00
|
|
|
|
.left {
|
|
|
|
|
float: left;
|
2024-01-02 13:24:37 +03:00
|
|
|
|
margin: 0.75rem 1rem 1rem 0;
|
2022-12-13 16:41:32 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.right {
|
|
|
|
|
float: right;
|
2024-01-02 13:24:37 +03:00
|
|
|
|
margin: 0.75rem 0 1rem 1rem;
|
2022-12-13 16:41:32 +03:00
|
|
|
|
}
|
|
|
|
|
|
2021-04-21 18:18:51 +03:00
|
|
|
|
/* --- Overriding --- */
|
2021-04-21 18:17:34 +03:00
|
|
|
|
|
2022-02-14 18:18:24 +03:00
|
|
|
|
/* mermaid */
|
2021-04-21 18:18:51 +03:00
|
|
|
|
.mermaid {
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
2023-03-02 00:16:18 +03:00
|
|
|
|
/* MathJax */
|
|
|
|
|
mjx-container {
|
|
|
|
|
overflow-y: hidden;
|
|
|
|
|
min-width: auto !important;
|
|
|
|
|
}
|
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
/* --- sidebar layout --- */
|
|
|
|
|
|
2023-03-15 22:36:52 +03:00
|
|
|
|
$sidebar-display: 'sidebar-display';
|
2023-03-24 21:58:58 +03:00
|
|
|
|
$btn-border-width: 3px;
|
|
|
|
|
$btn-mb: 0.5rem;
|
2021-01-27 15:06:31 +03:00
|
|
|
|
|
|
|
|
|
#sidebar {
|
|
|
|
|
@include pl-pr(0);
|
|
|
|
|
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
height: 100%;
|
|
|
|
|
overflow-y: auto;
|
2021-07-04 16:01:11 +03:00
|
|
|
|
width: $sidebar-width;
|
2021-01-27 15:06:31 +03:00
|
|
|
|
z-index: 99;
|
|
|
|
|
background: var(--sidebar-bg);
|
2023-09-04 19:34:35 +03:00
|
|
|
|
border-right: 1px solid var(--sidebar-border-color);
|
2021-01-27 15:06:31 +03:00
|
|
|
|
|
2021-04-02 17:57:06 +03:00
|
|
|
|
/* Hide scrollbar for Chrome, Safari and Opera */
|
|
|
|
|
&::-webkit-scrollbar {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Hide scrollbar for IE, Edge and Firefox */
|
2023-03-15 22:36:52 +03:00
|
|
|
|
-ms-overflow-style: none; /* IE and Edge */
|
|
|
|
|
scrollbar-width: none; /* Firefox */
|
2021-04-02 17:57:06 +03:00
|
|
|
|
|
2023-03-24 21:58:58 +03:00
|
|
|
|
%sidebar-link-hover {
|
|
|
|
|
&:hover {
|
|
|
|
|
color: var(--sidebar-active-color);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
a {
|
2021-09-21 17:37:28 +03:00
|
|
|
|
@extend %sidebar-links;
|
2021-01-27 15:06:31 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#avatar {
|
2023-03-24 21:58:58 +03:00
|
|
|
|
display: block;
|
|
|
|
|
width: 7rem;
|
|
|
|
|
height: 7rem;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
box-shadow: var(--avatar-border-color) 0 0 0 2px;
|
|
|
|
|
transform: translateZ(0); /* fixed the zoom in Safari */
|
2021-01-27 15:06:31 +03:00
|
|
|
|
|
|
|
|
|
img {
|
|
|
|
|
transition: transform 0.5s;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
transform: scale(1.2);
|
|
|
|
|
}
|
|
|
|
|
}
|
2023-03-24 21:58:58 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.profile-wrapper {
|
|
|
|
|
@include mt-mb(2.5rem);
|
|
|
|
|
@extend %clickable-transition;
|
|
|
|
|
|
|
|
|
|
padding-left: 2.5rem;
|
|
|
|
|
padding-right: 1.25rem;
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
2021-01-27 15:06:31 +03:00
|
|
|
|
|
|
|
|
|
.site-title {
|
2023-09-08 17:48:37 +03:00
|
|
|
|
font-family: inherit;
|
2023-03-24 21:58:58 +03:00
|
|
|
|
font-weight: 900;
|
|
|
|
|
font-size: 1.75rem;
|
|
|
|
|
line-height: 1.2;
|
|
|
|
|
letter-spacing: 0.25px;
|
|
|
|
|
margin-top: 1.25rem;
|
|
|
|
|
margin-bottom: 0.5rem;
|
2022-10-11 17:47:36 +03:00
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
a {
|
2021-09-21 13:00:29 +03:00
|
|
|
|
@extend %clickable-transition;
|
2023-03-24 21:58:58 +03:00
|
|
|
|
@extend %sidebar-link-hover;
|
2023-08-02 00:18:35 +03:00
|
|
|
|
|
|
|
|
|
color: var(--site-title-color);
|
2021-01-27 15:06:31 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.site-subtitle {
|
|
|
|
|
font-size: 95%;
|
2023-08-02 00:18:35 +03:00
|
|
|
|
color: var(--site-subtitle-color);
|
2023-03-24 21:58:58 +03:00
|
|
|
|
margin-top: 0.25rem;
|
2021-01-27 15:06:31 +03:00
|
|
|
|
word-spacing: 1px;
|
2022-10-21 16:34:41 +03:00
|
|
|
|
-webkit-user-select: none;
|
|
|
|
|
-moz-user-select: none;
|
2023-03-15 22:36:52 +03:00
|
|
|
|
-ms-user-select: none;
|
2021-01-27 15:06:31 +03:00
|
|
|
|
user-select: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
ul {
|
|
|
|
|
margin-bottom: 2rem;
|
|
|
|
|
|
2023-03-24 21:58:58 +03:00
|
|
|
|
li.nav-item {
|
|
|
|
|
opacity: 0.9;
|
2021-01-27 15:06:31 +03:00
|
|
|
|
width: 100%;
|
2023-03-24 21:58:58 +03:00
|
|
|
|
padding-left: 1.5rem;
|
|
|
|
|
padding-right: 1.5rem;
|
|
|
|
|
|
|
|
|
|
a.nav-link {
|
|
|
|
|
@include pt-pb(0.6rem);
|
2021-01-27 15:06:31 +03:00
|
|
|
|
|
2023-03-24 21:58:58 +03:00
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
border-radius: 0.75rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
background-color: var(--sidebar-hover-bg);
|
2021-01-27 15:06:31 +03:00
|
|
|
|
}
|
|
|
|
|
|
2023-03-24 21:58:58 +03:00
|
|
|
|
i {
|
|
|
|
|
font-size: 95%;
|
|
|
|
|
opacity: 0.8;
|
|
|
|
|
margin-right: 1.5rem;
|
2021-01-27 15:06:31 +03:00
|
|
|
|
}
|
|
|
|
|
|
2023-03-24 21:58:58 +03:00
|
|
|
|
span {
|
|
|
|
|
font-size: 90%;
|
|
|
|
|
letter-spacing: 0.2px;
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-01-27 15:06:31 +03:00
|
|
|
|
|
2023-03-24 21:58:58 +03:00
|
|
|
|
&.active {
|
|
|
|
|
.nav-link {
|
|
|
|
|
color: var(--sidebar-active-color);
|
|
|
|
|
background-color: var(--sidebar-hover-bg);
|
2021-01-27 15:06:31 +03:00
|
|
|
|
|
2023-03-24 21:58:58 +03:00
|
|
|
|
span {
|
|
|
|
|
opacity: 1;
|
2021-01-27 15:06:31 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2023-03-24 21:58:58 +03:00
|
|
|
|
|
|
|
|
|
&:not(:first-child) {
|
|
|
|
|
margin-top: 0.25rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-01-27 15:06:31 +03:00
|
|
|
|
|
|
|
|
|
.sidebar-bottom {
|
2023-09-10 21:20:45 +03:00
|
|
|
|
padding-left: 2rem;
|
|
|
|
|
padding-right: 1rem;
|
2023-03-24 21:58:58 +03:00
|
|
|
|
margin-bottom: 1.5rem;
|
2021-01-27 15:06:31 +03:00
|
|
|
|
|
2023-09-29 23:46:40 +03:00
|
|
|
|
$btn-size: 1.75rem;
|
|
|
|
|
|
2023-03-24 21:58:58 +03:00
|
|
|
|
%button {
|
2023-09-29 23:46:40 +03:00
|
|
|
|
width: $btn-size;
|
|
|
|
|
height: $btn-size;
|
2023-03-24 21:58:58 +03:00
|
|
|
|
margin-bottom: $btn-mb; // multi line gap
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
color: var(--sidebar-btn-color);
|
|
|
|
|
background-color: var(--sidebar-btn-bg);
|
2021-01-27 15:06:31 +03:00
|
|
|
|
text-align: center;
|
2023-03-24 21:58:58 +03:00
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
2023-09-04 19:34:35 +03:00
|
|
|
|
box-shadow: var(--sidebar-border-color) 0 0 0 1px;
|
2023-03-24 21:58:58 +03:00
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
background-color: var(--sidebar-hover-bg);
|
|
|
|
|
}
|
2021-01-27 15:06:31 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
a {
|
2023-03-24 21:58:58 +03:00
|
|
|
|
@extend %button;
|
|
|
|
|
@extend %sidebar-link-hover;
|
2021-09-21 13:00:29 +03:00
|
|
|
|
@extend %clickable-transition;
|
2023-03-24 21:58:58 +03:00
|
|
|
|
|
|
|
|
|
&:not(:last-child) {
|
2023-09-21 22:27:20 +03:00
|
|
|
|
margin-right: $sb-btn-gap;
|
2023-03-24 21:58:58 +03:00
|
|
|
|
}
|
2021-01-27 15:06:31 +03:00
|
|
|
|
}
|
|
|
|
|
|
2021-09-21 17:37:28 +03:00
|
|
|
|
i {
|
2023-09-29 23:46:40 +03:00
|
|
|
|
line-height: $btn-size;
|
2021-12-07 13:17:20 +03:00
|
|
|
|
}
|
|
|
|
|
|
2024-04-17 01:10:01 +03:00
|
|
|
|
#mode-toggle {
|
2021-12-07 13:17:20 +03:00
|
|
|
|
padding: 0;
|
|
|
|
|
border: 0;
|
|
|
|
|
|
2023-03-24 21:58:58 +03:00
|
|
|
|
@extend %button;
|
2021-12-07 13:17:20 +03:00
|
|
|
|
@extend %sidebar-links;
|
2023-03-24 21:58:58 +03:00
|
|
|
|
@extend %sidebar-link-hover;
|
2021-01-27 15:06:31 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.icon-border {
|
2021-11-02 12:54:36 +03:00
|
|
|
|
@extend %no-cursor;
|
2023-09-21 22:27:20 +03:00
|
|
|
|
@include ml-mr(calc(($sb-btn-gap - $btn-border-width) / 2));
|
2021-11-02 12:54:36 +03:00
|
|
|
|
|
2023-09-04 19:34:35 +03:00
|
|
|
|
background-color: var(--sidebar-btn-color);
|
2023-03-15 22:36:52 +03:00
|
|
|
|
content: '';
|
2023-03-24 21:58:58 +03:00
|
|
|
|
width: $btn-border-width;
|
|
|
|
|
height: $btn-border-width;
|
2021-01-27 15:06:31 +03:00
|
|
|
|
border-radius: 50%;
|
2023-03-24 21:58:58 +03:00
|
|
|
|
margin-bottom: $btn-mb;
|
2021-01-27 15:06:31 +03:00
|
|
|
|
}
|
2022-02-14 18:18:24 +03:00
|
|
|
|
} /* .sidebar-bottom */
|
|
|
|
|
} /* #sidebar */
|
2021-01-27 15:06:31 +03:00
|
|
|
|
|
|
|
|
|
@media (hover: hover) {
|
|
|
|
|
#sidebar ul > li:last-child::after {
|
|
|
|
|
transition: top 0.5s ease;
|
|
|
|
|
}
|
2023-03-21 18:47:01 +03:00
|
|
|
|
|
2023-03-24 21:58:58 +03:00
|
|
|
|
.nav-link {
|
|
|
|
|
transition: background-color 0.3s ease-in-out;
|
|
|
|
|
}
|
|
|
|
|
|
2023-03-21 18:47:01 +03:00
|
|
|
|
.post-preview {
|
|
|
|
|
transition: background-color 0.35s ease-in-out;
|
|
|
|
|
}
|
2021-01-27 15:06:31 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#search-result-wrapper {
|
|
|
|
|
display: none;
|
|
|
|
|
height: 100%;
|
2022-06-08 11:15:38 +03:00
|
|
|
|
width: 100%;
|
2021-01-27 15:06:31 +03:00
|
|
|
|
overflow: auto;
|
2021-10-25 22:04:15 +03:00
|
|
|
|
|
2023-09-08 17:48:37 +03:00
|
|
|
|
.content {
|
2021-01-27 15:06:31 +03:00
|
|
|
|
margin-top: 2rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* --- top-bar --- */
|
|
|
|
|
|
|
|
|
|
#topbar-wrapper {
|
|
|
|
|
height: $topbar-height;
|
2023-03-29 00:01:25 +03:00
|
|
|
|
background-color: var(--topbar-bg);
|
2021-01-27 15:06:31 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#topbar {
|
2023-09-08 17:48:37 +03:00
|
|
|
|
button i {
|
2022-10-19 21:05:29 +03:00
|
|
|
|
color: #999999;
|
2021-01-27 15:06:31 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#breadcrumb {
|
|
|
|
|
font-size: 1rem;
|
2023-08-02 00:18:35 +03:00
|
|
|
|
color: var(--text-muted-color);
|
2021-01-27 15:06:31 +03:00
|
|
|
|
padding-left: 0.5rem;
|
|
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
|
@extend %link-hover;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
span {
|
|
|
|
|
&:not(:last-child) {
|
|
|
|
|
&::after {
|
2023-03-15 22:36:52 +03:00
|
|
|
|
content: '›';
|
2021-01-27 15:06:31 +03:00
|
|
|
|
padding: 0 0.3rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-02-14 18:18:24 +03:00
|
|
|
|
} /* #topbar */
|
2021-01-27 15:06:31 +03:00
|
|
|
|
|
2023-09-09 17:38:19 +03:00
|
|
|
|
::-webkit-input-placeholder {
|
|
|
|
|
@include placeholder;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::-moz-placeholder {
|
|
|
|
|
@include placeholder;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
:-ms-input-placeholder {
|
|
|
|
|
@include placeholder;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::-ms-input-placeholder {
|
|
|
|
|
@include placeholder;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::placeholder {
|
|
|
|
|
@include placeholder;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
:focus::-webkit-input-placeholder {
|
|
|
|
|
@include placeholder-focus;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
:focus::-moz-placeholder {
|
|
|
|
|
@include placeholder-focus;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
:focus:-ms-input-placeholder {
|
|
|
|
|
@include placeholder-focus;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
:focus::-ms-input-placeholder {
|
|
|
|
|
@include placeholder-focus;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
:focus::placeholder {
|
|
|
|
|
@include placeholder-focus;
|
2021-01-27 15:06:31 +03:00
|
|
|
|
}
|
|
|
|
|
|
2023-09-08 17:48:37 +03:00
|
|
|
|
search {
|
2021-01-27 15:06:31 +03:00
|
|
|
|
display: flex;
|
2022-06-08 11:15:38 +03:00
|
|
|
|
width: 100%;
|
2021-01-27 15:06:31 +03:00
|
|
|
|
border-radius: 1rem;
|
2023-09-08 17:48:37 +03:00
|
|
|
|
border: 1px solid var(--search-border-color);
|
2023-03-29 00:01:25 +03:00
|
|
|
|
background: var(--main-bg);
|
2021-01-27 15:06:31 +03:00
|
|
|
|
padding: 0 0.5rem;
|
2021-09-17 11:58:32 +03:00
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
i {
|
|
|
|
|
z-index: 2;
|
|
|
|
|
font-size: 0.9rem;
|
|
|
|
|
color: var(--search-icon-color);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2023-09-09 17:38:19 +03:00
|
|
|
|
#sidebar-trigger,
|
|
|
|
|
#search-trigger {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
2023-03-15 22:36:52 +03:00
|
|
|
|
/* 'Cancel' link */
|
|
|
|
|
#search-cancel {
|
2021-01-27 15:06:31 +03:00
|
|
|
|
color: var(--link-color);
|
|
|
|
|
display: none;
|
2023-06-26 09:23:23 +03:00
|
|
|
|
white-space: nowrap;
|
2021-09-17 11:58:32 +03:00
|
|
|
|
|
|
|
|
|
@extend %cursor-pointer;
|
2021-01-27 15:06:31 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#search-input {
|
|
|
|
|
background: center;
|
|
|
|
|
border: 0;
|
|
|
|
|
border-radius: 0;
|
|
|
|
|
padding: 0.18rem 0.3rem;
|
|
|
|
|
color: var(--text-color);
|
2022-02-13 19:44:35 +03:00
|
|
|
|
height: auto;
|
2021-01-27 15:06:31 +03:00
|
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
|
box-shadow: none;
|
2020-12-24 14:37:33 +03:00
|
|
|
|
}
|
2021-01-27 15:06:31 +03:00
|
|
|
|
}
|
2020-12-24 14:37:33 +03:00
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
#search-hints {
|
2021-12-01 16:49:51 +03:00
|
|
|
|
padding: 0 1rem;
|
|
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
|
}
|
2020-12-14 10:01:05 +03:00
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
.post-tag {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
line-height: 1rem;
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
background: var(--search-tag-bg);
|
|
|
|
|
border: none;
|
|
|
|
|
padding: 0.5rem;
|
2021-12-01 16:49:51 +03:00
|
|
|
|
margin: 0 1.25rem 1rem 0;
|
2021-10-25 22:04:15 +03:00
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
&::before {
|
2023-03-15 22:36:52 +03:00
|
|
|
|
content: '#';
|
2021-01-27 15:06:31 +03:00
|
|
|
|
color: var(--text-muted-color);
|
|
|
|
|
padding-right: 0.2rem;
|
2020-12-15 10:20:03 +03:00
|
|
|
|
}
|
2021-12-01 16:49:51 +03:00
|
|
|
|
|
|
|
|
|
@extend %link-color;
|
2021-01-27 15:06:31 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
2020-12-13 19:24:33 +03:00
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
#search-results {
|
2022-06-08 11:15:38 +03:00
|
|
|
|
padding-bottom: 3rem;
|
2021-10-25 22:04:15 +03:00
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
a {
|
|
|
|
|
&:hover {
|
|
|
|
|
@extend %link-hover;
|
2020-12-12 19:35:45 +03:00
|
|
|
|
}
|
2020-12-13 19:24:33 +03:00
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
@extend %link-color;
|
|
|
|
|
@extend %no-bottom-border;
|
|
|
|
|
@extend %heading;
|
2020-12-12 20:45:52 +03:00
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
font-size: 1.4rem;
|
|
|
|
|
line-height: 2.5rem;
|
|
|
|
|
}
|
2020-12-24 14:37:33 +03:00
|
|
|
|
|
2023-09-08 17:48:37 +03:00
|
|
|
|
> article {
|
2021-02-05 17:08:04 +03:00
|
|
|
|
width: 100%;
|
2020-12-24 14:37:33 +03:00
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
&:not(:last-child) {
|
|
|
|
|
margin-bottom: 1rem;
|
2020-12-24 14:37:33 +03:00
|
|
|
|
}
|
|
|
|
|
|
2023-03-15 22:36:52 +03:00
|
|
|
|
/* icons */
|
|
|
|
|
i {
|
2021-01-27 15:06:31 +03:00
|
|
|
|
color: #818182;
|
|
|
|
|
margin-right: 0.15rem;
|
|
|
|
|
font-size: 80%;
|
2020-12-24 14:37:33 +03:00
|
|
|
|
}
|
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
> p {
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
-webkit-line-clamp: 3;
|
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
|
}
|
2020-12-24 14:37:33 +03:00
|
|
|
|
}
|
2022-02-14 18:18:24 +03:00
|
|
|
|
} /* #search-results */
|
2020-12-24 14:37:33 +03:00
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
#topbar-title {
|
|
|
|
|
display: none;
|
|
|
|
|
font-size: 1.1rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
font-family: sans-serif;
|
|
|
|
|
color: var(--topbar-text-color);
|
2019-11-28 19:04:01 +03:00
|
|
|
|
text-align: center;
|
2021-01-27 15:06:31 +03:00
|
|
|
|
width: 70%;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
word-break: keep-all;
|
|
|
|
|
white-space: nowrap;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
#mask {
|
|
|
|
|
display: none;
|
|
|
|
|
position: fixed;
|
2023-03-17 19:28:46 +03:00
|
|
|
|
inset: 0 0 0 0;
|
2021-01-27 15:06:31 +03:00
|
|
|
|
height: 100%;
|
|
|
|
|
width: 100%;
|
|
|
|
|
z-index: 1;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
@at-root [#{$sidebar-display}] & {
|
|
|
|
|
display: block !important;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
2019-12-31 18:17:27 +03:00
|
|
|
|
}
|
|
|
|
|
|
2023-09-17 22:26:02 +03:00
|
|
|
|
/* --- basic wrappers --- */
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
#main-wrapper {
|
|
|
|
|
position: relative;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
@include pl-pr(0);
|
2023-09-18 23:44:35 +03:00
|
|
|
|
|
|
|
|
|
> .container {
|
|
|
|
|
min-height: 100vh;
|
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
#topbar-wrapper.row,
|
2023-09-08 17:48:37 +03:00
|
|
|
|
#main-wrapper > .container > .row,
|
2021-01-27 15:06:31 +03:00
|
|
|
|
#search-result-wrapper > .row {
|
|
|
|
|
@include ml-mr(0);
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2023-09-17 22:26:02 +03:00
|
|
|
|
#tail-wrapper {
|
|
|
|
|
> :not(script) {
|
|
|
|
|
margin-top: 3rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
/* --- button back-to-top --- */
|
2019-11-15 19:01:33 +03:00
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
#back-to-top {
|
2024-04-17 01:10:01 +03:00
|
|
|
|
visibility: hidden;
|
|
|
|
|
opacity: 0;
|
2021-01-27 15:06:31 +03:00
|
|
|
|
z-index: 1;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
position: fixed;
|
2023-05-16 20:59:34 +03:00
|
|
|
|
right: 1rem;
|
2023-09-06 20:58:03 +03:00
|
|
|
|
bottom: calc($footer-height-large - $back2top-size / 2);
|
2021-01-27 15:06:31 +03:00
|
|
|
|
background: var(--button-bg);
|
|
|
|
|
color: var(--btn-backtotop-color);
|
2021-09-23 13:58:18 +03:00
|
|
|
|
padding: 0;
|
2023-09-06 20:58:03 +03:00
|
|
|
|
width: $back2top-size;
|
|
|
|
|
height: $back2top-size;
|
2021-01-27 15:06:31 +03:00
|
|
|
|
border-radius: 50%;
|
|
|
|
|
border: 1px solid var(--btn-backtotop-border-color);
|
2024-04-17 01:10:01 +03:00
|
|
|
|
transition: opacity 0.5s ease-in-out, transform 0.2s ease-out;
|
2021-09-23 13:58:18 +03:00
|
|
|
|
|
2023-05-16 20:59:34 +03:00
|
|
|
|
&:hover {
|
|
|
|
|
transform: translate3d(0, -5px, 0);
|
|
|
|
|
-webkit-transform: translate3d(0, -5px, 0);
|
|
|
|
|
}
|
|
|
|
|
|
2021-09-23 13:58:18 +03:00
|
|
|
|
i {
|
2023-09-06 20:58:03 +03:00
|
|
|
|
line-height: $back2top-size;
|
2021-09-23 13:58:18 +03:00
|
|
|
|
position: relative;
|
|
|
|
|
bottom: 2px;
|
|
|
|
|
}
|
2024-04-17 01:10:01 +03:00
|
|
|
|
|
|
|
|
|
&.show {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
visibility: visible;
|
|
|
|
|
}
|
2019-11-15 19:01:33 +03:00
|
|
|
|
}
|
|
|
|
|
|
2022-06-04 18:54:06 +03:00
|
|
|
|
#notification {
|
2022-10-21 16:34:41 +03:00
|
|
|
|
@-webkit-keyframes popup {
|
|
|
|
|
from {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-06-04 18:54:06 +03:00
|
|
|
|
@keyframes popup {
|
|
|
|
|
from {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.toast-header {
|
|
|
|
|
background: none;
|
|
|
|
|
border-bottom: none;
|
|
|
|
|
color: inherit;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.toast-body {
|
2022-10-19 21:05:29 +03:00
|
|
|
|
font-family: Lato, sans-serif;
|
2022-06-04 18:54:06 +03:00
|
|
|
|
line-height: 1.25rem;
|
|
|
|
|
|
|
|
|
|
button {
|
|
|
|
|
font-size: 90%;
|
|
|
|
|
min-width: 4rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.toast {
|
|
|
|
|
&.show {
|
|
|
|
|
display: block;
|
|
|
|
|
min-width: 20rem;
|
|
|
|
|
border-radius: 0.5rem;
|
|
|
|
|
-webkit-backdrop-filter: blur(10px);
|
|
|
|
|
backdrop-filter: blur(10px);
|
|
|
|
|
background-color: rgba(255, 255, 255, 0.5);
|
|
|
|
|
color: #1b1b1eba;
|
|
|
|
|
position: fixed;
|
|
|
|
|
left: 50%;
|
|
|
|
|
bottom: 20%;
|
|
|
|
|
transform: translateX(-50%);
|
2022-10-21 16:34:41 +03:00
|
|
|
|
-webkit-animation: popup 0.8s;
|
2022-06-04 18:54:06 +03:00
|
|
|
|
animation: popup 0.8s;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-05 12:50:35 +03:00
|
|
|
|
/*
|
|
|
|
|
Responsive Design:
|
|
|
|
|
|
2023-03-18 01:28:44 +03:00
|
|
|
|
{sidebar, content, panel} >= 1200px screen width
|
2021-04-05 12:50:35 +03:00
|
|
|
|
{sidebar, content} >= 850px screen width
|
|
|
|
|
{content} <= 849px screen width
|
|
|
|
|
|
|
|
|
|
*/
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
2023-07-02 15:16:36 +03:00
|
|
|
|
@media all and (max-width: 576px) {
|
2023-09-08 17:48:37 +03:00
|
|
|
|
main {
|
|
|
|
|
.content {
|
2023-03-15 22:36:52 +03:00
|
|
|
|
> blockquote[class^='prompt-'] {
|
2023-09-06 20:58:03 +03:00
|
|
|
|
@include ml-mr(-1rem);
|
2022-10-07 13:34:12 +03:00
|
|
|
|
|
2022-10-09 00:18:41 +03:00
|
|
|
|
border-radius: 0;
|
|
|
|
|
max-width: none;
|
2022-01-21 12:46:01 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2023-03-24 21:58:58 +03:00
|
|
|
|
#avatar {
|
2019-11-12 11:18:54 +03:00
|
|
|
|
width: 5rem;
|
|
|
|
|
height: 5rem;
|
|
|
|
|
}
|
2022-06-08 11:15:38 +03:00
|
|
|
|
}
|
|
|
|
|
|
2023-07-02 15:16:36 +03:00
|
|
|
|
@media all and (max-width: 768px) {
|
2022-06-08 11:15:38 +03:00
|
|
|
|
%full-width {
|
|
|
|
|
max-width: 100%;
|
2020-02-16 21:55:16 +03:00
|
|
|
|
}
|
|
|
|
|
|
2022-06-08 11:15:38 +03:00
|
|
|
|
#topbar {
|
|
|
|
|
@extend %full-width;
|
|
|
|
|
}
|
|
|
|
|
|
2023-09-08 17:48:37 +03:00
|
|
|
|
#main-wrapper > .container {
|
2022-06-08 11:15:38 +03:00
|
|
|
|
@extend %full-width;
|
|
|
|
|
@include pl-pr(0);
|
|
|
|
|
}
|
2020-02-16 21:55:16 +03:00
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
2021-04-05 12:50:35 +03:00
|
|
|
|
/* hide sidebar and panel */
|
2023-07-02 15:16:36 +03:00
|
|
|
|
@media all and (max-width: 849px) {
|
2022-01-09 14:09:29 +03:00
|
|
|
|
@mixin slide($append: null) {
|
|
|
|
|
$basic: transform 0.4s ease;
|
2022-10-19 21:05:29 +03:00
|
|
|
|
|
2022-01-09 14:09:29 +03:00
|
|
|
|
@if $append {
|
|
|
|
|
transition: $basic, $append;
|
|
|
|
|
} @else {
|
|
|
|
|
transition: $basic;
|
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2022-10-13 16:08:32 +03:00
|
|
|
|
footer {
|
|
|
|
|
@include slide;
|
2023-04-02 07:10:08 +03:00
|
|
|
|
|
2023-09-06 20:58:03 +03:00
|
|
|
|
height: $footer-height-large;
|
|
|
|
|
padding: 1.5rem 0;
|
2022-10-13 16:08:32 +03:00
|
|
|
|
}
|
|
|
|
|
|
2020-04-16 19:26:58 +03:00
|
|
|
|
[#{$sidebar-display}] {
|
|
|
|
|
#sidebar {
|
|
|
|
|
transform: translateX(0);
|
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
|
2023-09-06 20:58:03 +03:00
|
|
|
|
#main-wrapper {
|
2023-09-21 22:27:20 +03:00
|
|
|
|
transform: translateX($sidebar-width);
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
2023-05-16 20:59:34 +03:00
|
|
|
|
|
|
|
|
|
#back-to-top {
|
|
|
|
|
visibility: hidden;
|
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#sidebar {
|
2022-01-09 14:09:29 +03:00
|
|
|
|
@include slide;
|
2020-04-16 19:26:58 +03:00
|
|
|
|
|
2023-09-21 22:27:20 +03:00
|
|
|
|
transform: translateX(-$sidebar-width); /* hide */
|
|
|
|
|
-webkit-transform: translateX(-$sidebar-width);
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#main-wrapper {
|
2022-01-09 14:09:29 +03:00
|
|
|
|
@include slide;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2022-06-08 11:15:38 +03:00
|
|
|
|
#topbar,
|
2023-09-08 17:48:37 +03:00
|
|
|
|
#main-wrapper > .container {
|
2022-06-08 11:15:38 +03:00
|
|
|
|
max-width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#search-result-wrapper {
|
|
|
|
|
width: 100%;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#breadcrumb,
|
2023-09-08 17:48:37 +03:00
|
|
|
|
search {
|
2019-09-30 15:38:41 +03:00
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#topbar-wrapper {
|
2022-01-09 14:09:29 +03:00
|
|
|
|
@include slide(top 0.2s ease);
|
2021-01-27 15:06:31 +03:00
|
|
|
|
|
2019-09-30 15:38:41 +03:00
|
|
|
|
left: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2023-09-08 17:48:37 +03:00
|
|
|
|
main,
|
2022-06-08 11:15:38 +03:00
|
|
|
|
#panel-wrapper {
|
2019-09-30 15:38:41 +03:00
|
|
|
|
margin-top: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#topbar-title,
|
|
|
|
|
#sidebar-trigger,
|
|
|
|
|
#search-trigger {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
2023-09-08 17:48:37 +03:00
|
|
|
|
#search-result-wrapper .content {
|
2019-09-30 15:38:41 +03:00
|
|
|
|
letter-spacing: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#tags {
|
2021-01-27 15:06:31 +03:00
|
|
|
|
justify-content: center !important;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2021-12-01 16:49:51 +03:00
|
|
|
|
h1.dynamic-title {
|
2021-01-27 15:06:31 +03:00
|
|
|
|
display: none;
|
2021-10-25 22:04:15 +03:00
|
|
|
|
|
2023-09-08 17:48:37 +03:00
|
|
|
|
~ .content {
|
2023-03-29 00:01:25 +03:00
|
|
|
|
margin-top: 2.5rem;
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
2022-02-14 18:18:24 +03:00
|
|
|
|
} /* max-width: 849px */
|
2020-02-08 21:59:16 +03:00
|
|
|
|
|
2021-04-05 12:50:35 +03:00
|
|
|
|
/* Sidebar is visible */
|
2023-07-02 15:16:36 +03:00
|
|
|
|
@media all and (min-width: 850px) {
|
2020-04-16 19:26:58 +03:00
|
|
|
|
/* Solved jumping scrollbar */
|
|
|
|
|
html {
|
|
|
|
|
overflow-y: scroll;
|
|
|
|
|
}
|
|
|
|
|
|
2023-04-02 07:10:08 +03:00
|
|
|
|
#main-wrapper {
|
2023-09-06 20:58:03 +03:00
|
|
|
|
margin-left: $sidebar-width;
|
2023-04-02 07:10:08 +03:00
|
|
|
|
}
|
|
|
|
|
|
2023-03-24 21:58:58 +03:00
|
|
|
|
#sidebar {
|
|
|
|
|
.profile-wrapper {
|
|
|
|
|
margin-top: 3rem;
|
|
|
|
|
}
|
2020-04-16 19:26:58 +03:00
|
|
|
|
}
|
|
|
|
|
|
2022-01-06 21:37:43 +03:00
|
|
|
|
#search-hints {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
2023-09-08 17:48:37 +03:00
|
|
|
|
search {
|
2022-06-08 17:35:13 +03:00
|
|
|
|
max-width: $search-max-width;
|
2022-06-08 11:15:38 +03:00
|
|
|
|
}
|
|
|
|
|
|
2021-02-04 18:44:48 +03:00
|
|
|
|
#search-result-wrapper {
|
2022-06-08 11:15:38 +03:00
|
|
|
|
max-width: $main-content-max-width;
|
2023-05-16 20:59:34 +03:00
|
|
|
|
justify-content: start !important;
|
2021-02-04 18:44:48 +03:00
|
|
|
|
}
|
|
|
|
|
|
2023-09-08 17:48:37 +03:00
|
|
|
|
main {
|
2023-03-29 00:01:25 +03:00
|
|
|
|
h1 {
|
|
|
|
|
margin-top: 3rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2023-09-08 17:48:37 +03:00
|
|
|
|
div.content .table-wrapper > table {
|
2020-12-24 14:37:33 +03:00
|
|
|
|
min-width: 70%;
|
|
|
|
|
}
|
|
|
|
|
|
2020-04-16 19:26:58 +03:00
|
|
|
|
/* button 'back-to-Top' position */
|
|
|
|
|
#back-to-top {
|
2022-06-08 11:15:38 +03:00
|
|
|
|
right: 5%;
|
2023-09-06 20:58:03 +03:00
|
|
|
|
bottom: calc($footer-height - $back2top-size / 2);
|
2020-04-16 19:26:58 +03:00
|
|
|
|
}
|
|
|
|
|
|
2022-06-08 11:15:38 +03:00
|
|
|
|
#topbar-title {
|
|
|
|
|
text-align: left;
|
2020-04-16 19:26:58 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-05 12:50:35 +03:00
|
|
|
|
/* Pad horizontal */
|
2023-07-02 15:16:36 +03:00
|
|
|
|
@media all and (min-width: 992px) and (max-width: 1199px) {
|
2023-09-08 17:48:37 +03:00
|
|
|
|
#main-wrapper > .container .col-lg-11 {
|
2020-04-16 19:26:58 +03:00
|
|
|
|
flex: 0 0 96%;
|
|
|
|
|
max-width: 96%;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-05 12:50:35 +03:00
|
|
|
|
/* Compact icons in sidebar & panel hidden */
|
2023-07-02 15:16:36 +03:00
|
|
|
|
@media all and (min-width: 850px) and (max-width: 1199px) {
|
2020-08-19 16:18:14 +03:00
|
|
|
|
#search-results > div {
|
2020-05-03 19:56:56 +03:00
|
|
|
|
max-width: 700px;
|
|
|
|
|
}
|
|
|
|
|
|
2019-09-30 15:38:41 +03:00
|
|
|
|
#breadcrumb {
|
|
|
|
|
width: 65%;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
word-break: keep-all;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-05 12:50:35 +03:00
|
|
|
|
/* panel hidden */
|
2023-07-02 15:16:36 +03:00
|
|
|
|
@media all and (max-width: 1199px) {
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#panel-wrapper {
|
2019-10-29 09:09:58 +03:00
|
|
|
|
display: none;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2023-09-08 17:48:37 +03:00
|
|
|
|
#main-wrapper > .container > div.row {
|
2021-01-27 15:06:31 +03:00
|
|
|
|
justify-content: center !important;
|
2019-11-27 20:59:01 +03:00
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
|
/* --- desktop mode, both sidebar and panel are visible --- */
|
2019-11-25 15:56:50 +03:00
|
|
|
|
|
2023-07-02 15:16:36 +03:00
|
|
|
|
@media all and (min-width: 1200px) {
|
2023-09-08 17:48:37 +03:00
|
|
|
|
search {
|
2022-06-08 11:15:38 +03:00
|
|
|
|
margin-right: 4rem;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#search-input {
|
2020-12-18 15:54:18 +03:00
|
|
|
|
transition: all 0.3s ease-in-out;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2023-09-08 17:48:37 +03:00
|
|
|
|
#search-results > article {
|
|
|
|
|
width: 45%;
|
2021-10-25 22:04:15 +03:00
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
|
&:nth-child(odd) {
|
|
|
|
|
margin-right: 1.5rem;
|
|
|
|
|
}
|
2021-10-25 22:04:15 +03:00
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
|
&:nth-child(even) {
|
|
|
|
|
margin-left: 1.5rem;
|
|
|
|
|
}
|
2021-10-25 22:04:15 +03:00
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
|
&:last-child:nth-child(odd) {
|
|
|
|
|
position: relative;
|
|
|
|
|
right: 24.3%;
|
|
|
|
|
}
|
2019-12-31 18:17:27 +03:00
|
|
|
|
}
|
|
|
|
|
|
2023-09-08 17:48:37 +03:00
|
|
|
|
.content {
|
2020-02-28 19:16:47 +03:00
|
|
|
|
font-size: 1.03rem;
|
|
|
|
|
}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2023-07-02 15:16:36 +03:00
|
|
|
|
@media all and (min-width: 1400px) {
|
2022-06-08 11:15:38 +03:00
|
|
|
|
#back-to-top {
|
2023-09-21 22:27:20 +03:00
|
|
|
|
right: calc((100vw - $sidebar-width - 1140px) / 2 + 3rem);
|
2019-12-31 18:17:27 +03:00
|
|
|
|
}
|
2019-11-27 20:59:01 +03:00
|
|
|
|
}
|
|
|
|
|
|
2023-07-02 15:16:36 +03:00
|
|
|
|
@media all and (min-width: 1650px) {
|
2023-03-24 21:58:58 +03:00
|
|
|
|
$icon-gap: 1rem;
|
|
|
|
|
|
2023-09-06 20:58:03 +03:00
|
|
|
|
#main-wrapper {
|
2020-02-27 12:36:59 +03:00
|
|
|
|
margin-left: $sidebar-width-large;
|
2019-09-30 15:38:41 +03:00
|
|
|
|
}
|
|
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
|
#topbar-wrapper {
|
2020-02-27 12:36:59 +03:00
|
|
|
|
left: $sidebar-width-large;
|
2019-11-11 18:02:38 +03:00
|
|
|
|
}
|
|
|
|
|
|
2023-09-08 17:48:37 +03:00
|
|
|
|
search {
|
2023-03-15 22:36:52 +03:00
|
|
|
|
margin-right: calc(
|
2023-09-21 22:27:20 +03:00
|
|
|
|
$main-content-max-width / 4 - $search-max-width - 0.75rem
|
2023-03-15 22:36:52 +03:00
|
|
|
|
);
|
2022-06-08 17:35:13 +03:00
|
|
|
|
}
|
|
|
|
|
|
2023-09-08 17:48:37 +03:00
|
|
|
|
#main-wrapper > .container {
|
2022-06-08 11:15:38 +03:00
|
|
|
|
max-width: $main-content-max-width;
|
2023-04-10 05:54:27 +03:00
|
|
|
|
padding-left: 1.75rem !important;
|
|
|
|
|
padding-right: 1.75rem !important;
|
2019-11-11 18:02:38 +03:00
|
|
|
|
}
|
|
|
|
|
|
2023-09-08 17:48:37 +03:00
|
|
|
|
main.col-12,
|
2022-06-08 17:35:13 +03:00
|
|
|
|
#tail-wrapper {
|
|
|
|
|
padding-right: 4.5rem !important;
|
|
|
|
|
}
|
|
|
|
|
|
2022-06-08 11:15:38 +03:00
|
|
|
|
#back-to-top {
|
2023-03-15 22:36:52 +03:00
|
|
|
|
right: calc(
|
2023-09-21 22:27:20 +03:00
|
|
|
|
(100vw - $sidebar-width-large - $main-content-max-width) / 2 + 2rem
|
2023-03-15 22:36:52 +03:00
|
|
|
|
);
|
2019-11-11 18:02:38 +03:00
|
|
|
|
}
|
|
|
|
|
|
2020-12-21 17:17:11 +03:00
|
|
|
|
#sidebar {
|
|
|
|
|
width: $sidebar-width-large;
|
2019-11-11 18:02:38 +03:00
|
|
|
|
|
2023-03-24 21:58:58 +03:00
|
|
|
|
.profile-wrapper {
|
|
|
|
|
margin-top: 3.5rem;
|
|
|
|
|
margin-bottom: 2.5rem;
|
|
|
|
|
padding-left: 3.5rem;
|
|
|
|
|
}
|
2020-12-21 17:17:11 +03:00
|
|
|
|
|
|
|
|
|
ul {
|
2023-03-24 21:58:58 +03:00
|
|
|
|
li.nav-item {
|
|
|
|
|
@include pl-pr(2.75rem);
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
2019-11-11 18:02:38 +03:00
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
|
.sidebar-bottom {
|
2023-03-24 21:58:58 +03:00
|
|
|
|
padding-left: 2.75rem;
|
|
|
|
|
margin-bottom: 1.75rem;
|
2020-12-21 17:17:11 +03:00
|
|
|
|
|
2023-03-24 21:58:58 +03:00
|
|
|
|
a:not(:last-child) {
|
2023-09-21 22:27:20 +03:00
|
|
|
|
margin-right: $sb-btn-gap-lg;
|
2020-02-20 20:27:28 +03:00
|
|
|
|
}
|
2020-02-16 22:06:38 +03:00
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
|
.icon-border {
|
2023-09-21 22:27:20 +03:00
|
|
|
|
@include ml-mr(calc(($sb-btn-gap-lg - $btn-border-width) / 2));
|
2020-02-25 12:56:03 +03:00
|
|
|
|
}
|
2023-03-24 21:58:58 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
2022-02-14 18:18:24 +03:00
|
|
|
|
} /* min-width: 1650px */
|