2024-10-20 08:47:54 +03:00
|
|
|
/**
|
|
|
|
* Post-specific styles
|
|
|
|
*/
|
2020-05-03 22:52:23 +03:00
|
|
|
|
2023-03-21 04:52:15 +03:00
|
|
|
%btn-post-nav {
|
2020-02-25 12:56:03 +03:00
|
|
|
width: 50%;
|
|
|
|
position: relative;
|
2020-02-27 16:05:50 +03:00
|
|
|
border-color: var(--btn-border-color);
|
2020-02-25 12:56:03 +03:00
|
|
|
}
|
|
|
|
|
2021-12-04 01:56:33 +03:00
|
|
|
@mixin dot($pl: 0.25rem, $pr: 0.25rem) {
|
2023-03-15 21:56:54 +03:00
|
|
|
content: '\2022';
|
2020-12-17 10:17:21 +03:00
|
|
|
padding-left: $pl;
|
|
|
|
padding-right: $pr;
|
|
|
|
}
|
|
|
|
|
2024-03-18 13:50:05 +03:00
|
|
|
header {
|
|
|
|
.post-desc {
|
|
|
|
@extend %heading;
|
2021-12-04 01:56:33 +03:00
|
|
|
|
2024-03-18 13:50:05 +03:00
|
|
|
font-size: 1.125rem;
|
|
|
|
line-height: 1.6;
|
2023-09-08 17:48:37 +03:00
|
|
|
}
|
2021-12-04 21:29:40 +03:00
|
|
|
|
2024-03-18 13:50:05 +03:00
|
|
|
.post-meta {
|
|
|
|
span + span::before {
|
|
|
|
@include dot;
|
|
|
|
}
|
|
|
|
|
|
|
|
em,
|
|
|
|
time {
|
|
|
|
@extend %text-highlight;
|
|
|
|
}
|
|
|
|
|
|
|
|
em {
|
|
|
|
a {
|
|
|
|
color: inherit;
|
|
|
|
}
|
2020-12-17 10:17:21 +03:00
|
|
|
}
|
|
|
|
}
|
2024-03-22 22:52:13 +03:00
|
|
|
|
|
|
|
h1 + .post-meta {
|
|
|
|
margin-top: 1.5rem;
|
|
|
|
}
|
2020-12-17 10:17:21 +03:00
|
|
|
}
|
|
|
|
|
2020-02-16 22:01:48 +03:00
|
|
|
.post-tail-wrapper {
|
2023-10-07 23:40:16 +03:00
|
|
|
@extend %text-sm;
|
2023-10-04 22:29:44 +03:00
|
|
|
|
2020-07-29 23:58:05 +03:00
|
|
|
margin-top: 6rem;
|
2020-02-27 16:05:50 +03:00
|
|
|
border-bottom: 1px double var(--main-border-color);
|
2022-10-19 21:05:29 +03:00
|
|
|
|
|
|
|
.license-wrapper {
|
|
|
|
line-height: 1.2rem;
|
|
|
|
|
|
|
|
> a {
|
2023-08-02 00:18:35 +03:00
|
|
|
@extend %text-highlight;
|
2022-10-19 21:05:29 +03:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
@extend %link-hover;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
span:last-child {
|
2023-10-07 23:40:16 +03:00
|
|
|
@extend %text-sm;
|
2022-10-19 21:05:29 +03:00
|
|
|
}
|
|
|
|
} /* .license-wrapper */
|
|
|
|
|
2022-01-27 13:47:03 +03:00
|
|
|
.post-meta a:not(:hover) {
|
2021-12-04 21:29:40 +03:00
|
|
|
@extend %link-underline;
|
|
|
|
}
|
2022-10-19 21:05:29 +03:00
|
|
|
|
|
|
|
.share-wrapper {
|
|
|
|
vertical-align: middle;
|
2022-10-21 16:34:41 +03:00
|
|
|
-webkit-user-select: none;
|
|
|
|
-moz-user-select: none;
|
2023-03-15 21:56:54 +03:00
|
|
|
-ms-user-select: none;
|
2022-10-19 21:05:29 +03:00
|
|
|
user-select: none;
|
|
|
|
|
2023-10-29 21:02:58 +03:00
|
|
|
%icon-size {
|
|
|
|
font-size: 1.125rem;
|
|
|
|
}
|
|
|
|
|
2022-10-19 21:05:29 +03:00
|
|
|
.share-icons {
|
2023-10-29 21:02:58 +03:00
|
|
|
display: flex;
|
|
|
|
|
|
|
|
i {
|
|
|
|
color: var(--btn-share-color);
|
|
|
|
|
|
|
|
@extend %icon-size;
|
|
|
|
}
|
2022-10-19 21:05:29 +03:00
|
|
|
|
2023-09-10 15:23:34 +03:00
|
|
|
> * {
|
2023-10-29 21:02:58 +03:00
|
|
|
@extend %icon-size;
|
|
|
|
|
|
|
|
margin-left: 0.5rem;
|
2023-09-10 15:23:34 +03:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
i {
|
2024-10-20 08:47:54 +03:00
|
|
|
@extend %btn-share-hover;
|
2023-09-10 15:23:34 +03:00
|
|
|
}
|
2023-08-02 00:18:35 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
padding: 0;
|
2023-11-07 20:16:00 +03:00
|
|
|
border: none;
|
|
|
|
line-height: inherit;
|
2022-10-19 21:05:29 +03:00
|
|
|
|
|
|
|
@extend %cursor-pointer;
|
|
|
|
}
|
|
|
|
} /* .share-icons */
|
|
|
|
} /* .share-wrapper */
|
2019-12-23 20:21:55 +03:00
|
|
|
}
|
|
|
|
|
2023-10-29 21:02:58 +03:00
|
|
|
.share-mastodon {
|
|
|
|
/* See: https://github.com/justinribeiro/share-to-mastodon#properties */
|
|
|
|
--wc-stm-font-family: $font-family-base;
|
|
|
|
--wc-stm-dialog-background-color: var(--card-bg);
|
|
|
|
--wc-stm-form-button-border: 1px solid var(--btn-border-color);
|
|
|
|
--wc-stm-form-submit-background-color: var(--sidebar-btn-bg);
|
|
|
|
--wc-stm-form-cancel-background-color: var(--sidebar-btn-bg);
|
|
|
|
--wc-stm-form-button-background-color-hover: #007bff;
|
|
|
|
--wc-stm-form-button-color-hover: white;
|
|
|
|
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
|
2020-04-06 21:11:50 +03:00
|
|
|
.post-tags {
|
|
|
|
line-height: 2rem;
|
2023-03-21 03:59:17 +03:00
|
|
|
|
|
|
|
.post-tag {
|
|
|
|
&:hover {
|
|
|
|
@extend %link-hover;
|
|
|
|
@extend %tag-hover;
|
|
|
|
@extend %no-bottom-border;
|
|
|
|
}
|
|
|
|
}
|
2020-04-06 21:11:50 +03:00
|
|
|
}
|
|
|
|
|
2020-01-03 14:33:49 +03:00
|
|
|
.post-navigation {
|
2020-02-21 22:15:13 +03:00
|
|
|
.btn {
|
2023-03-21 04:52:15 +03:00
|
|
|
@extend %btn-post-nav;
|
2021-01-27 15:06:31 +03:00
|
|
|
|
2023-03-21 04:52:15 +03:00
|
|
|
&:not(:hover) {
|
|
|
|
color: var(--link-color);
|
|
|
|
}
|
2021-03-04 09:42:02 +03:00
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
&:hover {
|
2023-03-21 04:52:15 +03:00
|
|
|
&:not(.disabled)::before {
|
|
|
|
color: whitesmoke;
|
|
|
|
}
|
2020-02-25 12:56:03 +03:00
|
|
|
}
|
2021-03-04 09:42:02 +03:00
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
&.disabled {
|
2023-03-21 04:52:15 +03:00
|
|
|
@extend %btn-post-nav;
|
2021-01-27 15:06:31 +03:00
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
pointer-events: auto;
|
|
|
|
cursor: not-allowed;
|
|
|
|
background: none;
|
|
|
|
color: gray;
|
|
|
|
}
|
2021-03-04 09:42:02 +03:00
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
&.btn-outline-primary.disabled:focus {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2021-03-04 09:42:02 +03:00
|
|
|
|
2021-02-02 12:37:50 +03:00
|
|
|
&::before {
|
|
|
|
color: var(--text-muted-color);
|
|
|
|
font-size: 0.65rem;
|
|
|
|
text-transform: uppercase;
|
2023-09-08 17:48:37 +03:00
|
|
|
content: attr(aria-label);
|
2021-02-02 12:37:50 +03:00
|
|
|
}
|
2019-12-23 20:21:55 +03:00
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
&:first-child {
|
2024-08-25 13:17:38 +03:00
|
|
|
border-radius: $radius-lg 0 0 $radius-lg;
|
2020-10-27 17:08:04 +03:00
|
|
|
left: 0.5px;
|
2020-02-25 12:56:03 +03:00
|
|
|
}
|
2021-03-04 09:42:02 +03:00
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
&:last-child {
|
2024-08-25 13:17:38 +03:00
|
|
|
border-radius: 0 $radius-lg $radius-lg 0;
|
2020-10-27 17:08:04 +03:00
|
|
|
right: 0.5px;
|
2020-02-25 12:56:03 +03:00
|
|
|
}
|
2020-02-21 21:45:07 +03:00
|
|
|
}
|
2021-02-02 12:37:50 +03:00
|
|
|
|
2021-03-04 09:42:02 +03:00
|
|
|
p {
|
|
|
|
font-size: 1.1rem;
|
|
|
|
line-height: 1.5rem;
|
|
|
|
margin-top: 0.3rem;
|
|
|
|
white-space: normal;
|
|
|
|
}
|
2021-12-30 19:29:25 +03:00
|
|
|
} /* .post-navigation */
|
2020-02-21 21:45:07 +03:00
|
|
|
|
2023-03-21 04:52:15 +03:00
|
|
|
@media (hover: hover) {
|
|
|
|
.post-navigation {
|
|
|
|
.btn,
|
|
|
|
.btn::before {
|
|
|
|
transition: all 0.35s ease-in-out;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-10-21 16:34:41 +03:00
|
|
|
@-webkit-keyframes fade-up {
|
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
position: relative;
|
|
|
|
top: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
position: relative;
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-11-24 17:08:17 +03:00
|
|
|
@keyframes fade-up {
|
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
position: relative;
|
|
|
|
top: 2rem;
|
|
|
|
}
|
2022-10-19 21:05:29 +03:00
|
|
|
|
2019-11-24 17:08:17 +03:00
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
position: relative;
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-10-11 17:32:10 +03:00
|
|
|
/* TOC panel */
|
2019-12-31 18:17:27 +03:00
|
|
|
#toc-wrapper {
|
2019-11-15 19:01:33 +03:00
|
|
|
border-left: 1px solid rgba(158, 158, 158, 0.17);
|
|
|
|
position: -webkit-sticky;
|
|
|
|
position: sticky;
|
2020-03-03 15:17:51 +03:00
|
|
|
top: 4rem;
|
2019-11-15 19:01:33 +03:00
|
|
|
transition: top 0.2s ease-in-out;
|
2022-10-21 16:34:41 +03:00
|
|
|
-webkit-animation: fade-up 0.8s;
|
2020-12-18 15:54:18 +03:00
|
|
|
animation: fade-up 0.8s;
|
2019-11-15 19:01:33 +03:00
|
|
|
|
2023-03-15 21:56:54 +03:00
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
font-size: 0.85rem;
|
|
|
|
line-height: 1.25;
|
|
|
|
padding-left: 0;
|
2022-10-08 15:00:22 +03:00
|
|
|
|
|
|
|
li {
|
2023-03-15 21:56:54 +03:00
|
|
|
&:not(:last-child) {
|
|
|
|
margin: 0.4rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
padding: 0.2rem 0 0.2rem 1.25rem;
|
|
|
|
}
|
2022-10-08 15:00:22 +03:00
|
|
|
}
|
2019-11-15 19:01:33 +03:00
|
|
|
|
2023-03-15 21:56:54 +03:00
|
|
|
/* Overwrite TOC plugin style */
|
|
|
|
|
|
|
|
.toc-link {
|
|
|
|
display: block;
|
2024-10-20 08:47:54 +03:00
|
|
|
|
|
|
|
@extend %text-ellipsis;
|
2023-03-15 21:56:54 +03:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: var(--toc-highlight);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.is-active-link {
|
|
|
|
color: var(--toc-highlight) !important;
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
display: inline-block;
|
|
|
|
width: 1px;
|
|
|
|
left: -1px;
|
|
|
|
height: 1.25rem;
|
|
|
|
background-color: var(--toc-highlight) !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
2023-09-03 15:20:14 +03:00
|
|
|
padding-left: 0.75rem;
|
2021-09-21 13:00:29 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-10-11 17:32:10 +03:00
|
|
|
/* --- TOC button, bar and popup in mobile/tablet --- */
|
|
|
|
|
|
|
|
#toc-bar {
|
|
|
|
position: -webkit-sticky;
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
z-index: 1;
|
|
|
|
margin: 0 -1rem;
|
|
|
|
height: $topbar-height;
|
|
|
|
background: var(--main-bg);
|
|
|
|
border-bottom: 1px solid var(--main-border-color);
|
|
|
|
transition: all 0.2s ease-in-out;
|
|
|
|
|
|
|
|
@extend %btn-color;
|
|
|
|
|
|
|
|
.label {
|
|
|
|
@extend %heading;
|
|
|
|
|
|
|
|
margin-left: 0.25rem;
|
|
|
|
padding: 0 0.75rem;
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.invisible {
|
|
|
|
top: -$topbar-height;
|
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#toc-solo-trigger {
|
|
|
|
color: var(--text-muted-color);
|
|
|
|
border-color: var(--btn-border-color);
|
|
|
|
border-radius: $radius-lg;
|
|
|
|
|
|
|
|
.label {
|
|
|
|
font-size: 1rem;
|
|
|
|
font-family: $font-family-heading;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
box-shadow: none;
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin slide-in {
|
|
|
|
from {
|
|
|
|
opacity: 0.7;
|
|
|
|
transform: translateY(-$topbar-height);
|
|
|
|
}
|
|
|
|
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin slide-out {
|
|
|
|
0% {
|
|
|
|
transform: translateY(0);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
transform: translateY(-$topbar-height);
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@-webkit-keyframes slide-in {
|
|
|
|
@include slide-in;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes slide-in {
|
|
|
|
@include slide-in;
|
|
|
|
}
|
|
|
|
|
|
|
|
@-webkit-keyframes slide-out {
|
|
|
|
@include slide-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes slide-out {
|
|
|
|
@include slide-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
#toc-popup {
|
|
|
|
$slide-in: slide-in 0.3s ease-out;
|
|
|
|
$slide-out: slide-out 0.3s ease-out;
|
|
|
|
$curtain-height: 2rem;
|
2024-10-19 16:13:21 +03:00
|
|
|
$backdrop: blur(5px);
|
2024-10-11 17:32:10 +03:00
|
|
|
|
|
|
|
border-color: var(--toc-popup-border-color);
|
|
|
|
border-width: 1px;
|
|
|
|
border-radius: $radius-lg;
|
|
|
|
color: var(--text-color);
|
2024-10-19 16:13:21 +03:00
|
|
|
background: var(--card-bg);
|
2024-10-11 17:32:10 +03:00
|
|
|
margin-top: $topbar-height;
|
|
|
|
min-width: 20rem;
|
|
|
|
font-size: 1.05rem;
|
|
|
|
|
|
|
|
@media all and (min-width: 576px) {
|
|
|
|
max-width: 32rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&[open] {
|
|
|
|
-webkit-animation: $slide-in;
|
|
|
|
animation: $slide-in;
|
|
|
|
}
|
|
|
|
|
|
|
|
&[closing] {
|
|
|
|
-webkit-animation: $slide-out;
|
|
|
|
animation: $slide-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media all and (min-width: 850px) {
|
|
|
|
left: $sidebar-width;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header {
|
|
|
|
@extend %btn-color;
|
|
|
|
|
|
|
|
position: -webkit-sticky;
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
background-color: inherit;
|
|
|
|
border-bottom: 1px solid var(--main-border-color);
|
|
|
|
|
|
|
|
.label {
|
|
|
|
font-family: $font-family-heading;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-10-19 16:13:21 +03:00
|
|
|
button {
|
|
|
|
> i {
|
|
|
|
font-size: 1.25rem;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus-visible {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2024-10-11 17:32:10 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style-type: none;
|
|
|
|
padding-left: 0;
|
|
|
|
|
|
|
|
li {
|
|
|
|
ul,
|
|
|
|
& + li {
|
|
|
|
margin-top: 0.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: flex;
|
|
|
|
line-height: 1.5;
|
|
|
|
padding: 0.375rem 0;
|
|
|
|
padding-right: 1.125rem;
|
|
|
|
|
|
|
|
&.toc-link::before {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@for $i from 2 through 4 {
|
|
|
|
.node-name--H#{$i} {
|
|
|
|
padding-left: 1.125rem * ($i - 1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.is-active-link {
|
|
|
|
color: var(--toc-highlight) !important;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-webkit-backdrop {
|
2024-10-19 16:13:21 +03:00
|
|
|
-webkit-backdrop-filter: $backdrop;
|
|
|
|
backdrop-filter: $backdrop;
|
2024-10-11 17:32:10 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
&::backdrop {
|
2024-10-19 16:13:21 +03:00
|
|
|
-webkit-backdrop-filter: $backdrop;
|
|
|
|
backdrop-filter: $backdrop;
|
2024-10-11 17:32:10 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
display: flex;
|
|
|
|
content: '';
|
|
|
|
position: relative;
|
2024-10-19 16:13:21 +03:00
|
|
|
background: linear-gradient(transparent, var(--card-bg) 70%);
|
2024-10-11 17:32:10 +03:00
|
|
|
height: $curtain-height;
|
|
|
|
}
|
|
|
|
|
|
|
|
#toc-popup-content {
|
|
|
|
overflow: auto;
|
|
|
|
max-height: calc(100vh - 4 * $topbar-height);
|
|
|
|
font-family: $font-family-heading;
|
|
|
|
margin-bottom: -$curtain-height;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-01-27 15:06:31 +03:00
|
|
|
/* --- Related Posts --- */
|
2019-11-15 19:01:33 +03:00
|
|
|
|
2020-02-21 22:15:13 +03:00
|
|
|
#related-posts {
|
2021-01-27 15:06:31 +03:00
|
|
|
> h3 {
|
2020-04-07 15:23:57 +03:00
|
|
|
@include label(1.1rem, 600);
|
2020-02-25 12:56:03 +03:00
|
|
|
}
|
2021-10-25 22:04:15 +03:00
|
|
|
|
2023-09-08 17:48:37 +03:00
|
|
|
time {
|
2021-12-04 01:56:33 +03:00
|
|
|
@extend %normal-font-style;
|
2023-10-07 23:40:16 +03:00
|
|
|
@extend %text-xs;
|
2022-04-25 19:39:58 +03:00
|
|
|
|
2023-08-02 00:18:35 +03:00
|
|
|
color: var(--text-muted-color);
|
2021-12-04 01:56:33 +03:00
|
|
|
}
|
|
|
|
|
2022-10-19 21:05:29 +03:00
|
|
|
p {
|
2024-10-20 08:47:54 +03:00
|
|
|
@extend %text-ellipsis;
|
|
|
|
|
2022-10-19 21:05:29 +03:00
|
|
|
font-size: 0.9rem;
|
|
|
|
margin-bottom: 0.5rem;
|
2024-10-20 08:47:54 +03:00
|
|
|
white-space: break-spaces;
|
2022-10-19 21:05:29 +03:00
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
}
|
|
|
|
|
2020-02-21 22:15:13 +03:00
|
|
|
.card {
|
2023-05-13 04:03:13 +03:00
|
|
|
h4 {
|
2023-04-10 05:54:27 +03:00
|
|
|
@extend %text-clip;
|
2020-02-21 22:15:13 +03:00
|
|
|
}
|
|
|
|
}
|
2019-11-25 15:56:50 +03:00
|
|
|
}
|
|
|
|
|
2023-09-17 22:26:02 +03:00
|
|
|
/* stylelint-disable-next-line selector-id-pattern */
|
|
|
|
#disqus_thread {
|
|
|
|
min-height: 8.5rem;
|
|
|
|
}
|
2021-12-11 12:24:08 +03:00
|
|
|
|
2023-09-17 22:26:02 +03:00
|
|
|
.utterances {
|
|
|
|
max-width: 100%;
|
2020-02-16 22:01:48 +03:00
|
|
|
}
|
|
|
|
|
2024-10-20 08:47:54 +03:00
|
|
|
%btn-share-hover {
|
2021-01-27 15:06:31 +03:00
|
|
|
color: var(--btn-share-hover-color) !important;
|
2020-02-27 16:05:50 +03:00
|
|
|
}
|
|
|
|
|
2020-02-21 22:15:13 +03:00
|
|
|
.share-label {
|
2020-04-07 15:23:57 +03:00
|
|
|
@include label(inherit, 400, inherit);
|
2021-01-27 15:06:31 +03:00
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
&::after {
|
2023-03-15 21:56:54 +03:00
|
|
|
content: ':';
|
2020-02-25 12:56:03 +03:00
|
|
|
}
|
2020-02-16 22:01:48 +03:00
|
|
|
}
|
|
|
|
|
2023-07-02 15:16:36 +03:00
|
|
|
@media all and (max-width: 576px) {
|
2020-02-16 22:01:48 +03:00
|
|
|
.post-tail-bottom {
|
2021-01-27 15:06:31 +03:00
|
|
|
flex-wrap: wrap-reverse !important;
|
2021-10-25 22:04:15 +03:00
|
|
|
|
|
|
|
> div:first-child {
|
2020-04-06 21:11:50 +03:00
|
|
|
width: 100%;
|
|
|
|
margin-top: 1rem;
|
2020-02-25 12:56:03 +03:00
|
|
|
}
|
2020-02-16 22:01:48 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-02 15:16:36 +03:00
|
|
|
@media all and (max-width: 768px) {
|
2023-09-08 17:48:37 +03:00
|
|
|
.content > p > img {
|
2019-12-23 20:21:55 +03:00
|
|
|
max-width: calc(100% + 1rem);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Hide SideBar and TOC */
|
2023-07-02 15:16:36 +03:00
|
|
|
@media all and (max-width: 849px) {
|
2020-01-03 14:33:49 +03:00
|
|
|
.post-navigation {
|
2024-10-20 08:47:54 +03:00
|
|
|
@include pl-pr(0);
|
|
|
|
@include ml-mr(-0.5rem);
|
2020-01-02 19:37:56 +03:00
|
|
|
}
|
2019-12-23 20:21:55 +03:00
|
|
|
}
|
2024-10-11 17:32:10 +03:00
|
|
|
|
|
|
|
@media all and (min-width: 1200px) {
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4 {
|
|
|
|
scroll-margin-top: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#toc-bar,
|
|
|
|
#toc-solo-trigger {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|