2021-11-23 15:53:25 +00:00
|
|
|
:root,
|
|
|
|
:root[color-mode="light"] {
|
|
|
|
--code-max-height: auto;
|
|
|
|
|
|
|
|
@include light_mode;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
|
|
:root {
|
|
|
|
@include light_mode;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
:root[color-mode="dark"] {
|
|
|
|
@include dark_mode;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
:root {
|
|
|
|
@include dark_mode;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-07-06 18:55:32 +00:00
|
|
|
html {
|
|
|
|
font-size: $font-size-base;
|
|
|
|
letter-spacing: 0.33px;
|
|
|
|
scroll-behavior: smooth;
|
2021-11-23 15:53:25 +00:00
|
|
|
|
|
|
|
&.color-toggle-hidden {
|
|
|
|
#gblog-dark-mode {
|
|
|
|
.gblog_brightness_auto,
|
|
|
|
.gblog_brightness_dark,
|
|
|
|
.gblog_brightness_light {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.color-toggle-light {
|
|
|
|
#gblog-dark-mode {
|
|
|
|
.gblog_brightness_light {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
.gblog_brightness_auto,
|
|
|
|
.gblog_brightness_dark {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.color-toggle-dark {
|
|
|
|
#gblog-dark-mode {
|
|
|
|
.gblog_brightness_dark {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
.gblog_brightness_auto,
|
|
|
|
.gblog_brightness_light {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.color-toggle-auto {
|
|
|
|
#gblog-dark-mode {
|
|
|
|
.gblog_brightness_light {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.gblog_brightness_dark {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.gblog_brightness_auto {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-07-06 18:55:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
html,
|
|
|
|
body {
|
|
|
|
min-width: $body-min-width;
|
|
|
|
overflow-x: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
2021-11-23 15:53:25 +00:00
|
|
|
color: var(--body-font-color);
|
|
|
|
background: var(--body-background);
|
2020-07-06 18:55:32 +00:00
|
|
|
|
|
|
|
font-weight: $body-font-weight;
|
|
|
|
|
|
|
|
text-rendering: optimizeLegibility;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
* {
|
|
|
|
box-sizing: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
2020-07-13 20:11:38 +00:00
|
|
|
font-weight: 600;
|
2020-07-06 18:55:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
2020-09-08 19:59:17 +00:00
|
|
|
font-size: 1rem !important;
|
2020-07-06 18:55:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: underline;
|
2021-11-23 15:53:25 +00:00
|
|
|
color: var(--link-color);
|
2020-07-06 18:55:32 +00:00
|
|
|
|
|
|
|
&:hover {
|
2021-11-23 15:53:25 +00:00
|
|
|
background: var(--link-color);
|
|
|
|
color: $gray-100;
|
2020-07-06 18:55:32 +00:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:visited {
|
2021-11-23 15:53:25 +00:00
|
|
|
color: var(--link-color-visited);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: var(--link-color-visited);
|
|
|
|
color: $gray-100;
|
|
|
|
}
|
2020-07-06 18:55:32 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-12-29 21:50:13 +00:00
|
|
|
i.gblog-icon {
|
|
|
|
font-family: "GeekblogIcons";
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
2020-07-06 18:55:32 +00:00
|
|
|
img {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2021-11-23 15:53:25 +00:00
|
|
|
#gblog-dark-mode {
|
|
|
|
cursor: pointer;
|
|
|
|
|
2022-04-30 11:36:39 +00:00
|
|
|
svg.gblog-icon {
|
2021-11-23 15:53:25 +00:00
|
|
|
width: 2.5rem;
|
|
|
|
height: 2.5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-07-17 17:19:03 +00:00
|
|
|
.fake-link {
|
2021-11-23 15:53:25 +00:00
|
|
|
background-image: linear-gradient(var(--link-color), var(--link-color));
|
2020-07-17 17:19:03 +00:00
|
|
|
background-position: 0 100%;
|
|
|
|
background-size: 100% 1px;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2020-07-06 18:55:32 +00:00
|
|
|
.wrapper {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
min-height: 100vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
.container {
|
|
|
|
width: 100%;
|
|
|
|
max-width: $container-max-width;
|
|
|
|
margin: 0 auto;
|
2020-09-07 19:08:30 +00:00
|
|
|
padding: $padding-16;
|
2020-07-06 18:55:32 +00:00
|
|
|
}
|
|
|
|
|
2022-04-30 11:36:39 +00:00
|
|
|
svg.gblog-icon {
|
2020-07-06 18:55:32 +00:00
|
|
|
display: inline-block;
|
2020-07-12 21:07:37 +00:00
|
|
|
width: 1.3em;
|
|
|
|
height: 1.3em;
|
2020-07-06 18:55:32 +00:00
|
|
|
vertical-align: middle;
|
|
|
|
stroke-width: 0;
|
|
|
|
stroke: currentColor;
|
|
|
|
fill: currentColor;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gblog-header {
|
2021-11-23 15:53:25 +00:00
|
|
|
background: var(--header-background);
|
|
|
|
color: var(--header-font-color);
|
2020-07-06 18:55:32 +00:00
|
|
|
padding: $padding-16 0;
|
|
|
|
|
2021-11-23 15:53:25 +00:00
|
|
|
&__col-1,
|
|
|
|
&__col-3 {
|
|
|
|
flex: 1 1 15%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__col-2 {
|
|
|
|
flex: 1 1 70%;
|
|
|
|
}
|
|
|
|
|
2020-07-06 18:55:32 +00:00
|
|
|
&__link,
|
|
|
|
&__link:visited {
|
|
|
|
color: inherit;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__link:hover {
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.gblog-brand {
|
2021-11-23 15:53:25 +00:00
|
|
|
font-size: $font-size-32;
|
2020-07-06 18:55:32 +00:00
|
|
|
|
|
|
|
&__subtitle {
|
|
|
|
margin-top: $padding-16;
|
2021-11-23 15:53:25 +00:00
|
|
|
font-size: $font-size-20;
|
2020-07-17 09:33:11 +00:00
|
|
|
font-weight: bolder;
|
2020-07-06 18:55:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__img {
|
|
|
|
margin-right: $padding-16;
|
2021-05-23 13:18:55 +00:00
|
|
|
width: 60px;
|
|
|
|
height: 60px;
|
2020-07-06 18:55:32 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.gblog-nav {
|
|
|
|
background: $second-color;
|
2021-11-23 15:53:25 +00:00
|
|
|
color: $gray-100;
|
2020-11-08 16:08:17 +00:00
|
|
|
min-height: $padding-4;
|
2020-07-06 18:55:32 +00:00
|
|
|
|
|
|
|
.container {
|
2020-09-07 19:08:30 +00:00
|
|
|
padding-top: $padding-8;
|
|
|
|
padding-bottom: $padding-8;
|
2020-07-06 18:55:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__entry {
|
2022-02-07 08:01:52 +00:00
|
|
|
line-height: 1.3em;
|
2020-07-18 14:16:41 +00:00
|
|
|
color: $gray-100;
|
2020-07-06 18:55:32 +00:00
|
|
|
text-decoration: none;
|
|
|
|
padding: $padding-4 $padding-8;
|
2021-02-21 21:39:34 +00:00
|
|
|
border: $border-1 solid;
|
2020-07-06 18:55:32 +00:00
|
|
|
border-radius: $border-radius;
|
|
|
|
display: inline-block;
|
|
|
|
margin: $padding-4;
|
|
|
|
|
|
|
|
&:hover,
|
2021-11-23 15:53:25 +00:00
|
|
|
&.is-active,
|
|
|
|
&:visited:hover {
|
2020-07-06 18:55:32 +00:00
|
|
|
background: lighten($second-color, 10%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:visited {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__control {
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
label {
|
|
|
|
&:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-04-30 11:36:39 +00:00
|
|
|
svg.gblog-icon {
|
2020-07-06 19:00:30 +00:00
|
|
|
margin-right: $padding-4;
|
2020-07-06 18:55:32 +00:00
|
|
|
}
|
|
|
|
|
2022-04-30 11:36:39 +00:00
|
|
|
svg.gblog-icon.gblog_menu {
|
2020-07-06 18:55:32 +00:00
|
|
|
display: inline-block;
|
|
|
|
}
|
2022-04-30 11:36:39 +00:00
|
|
|
svg.gblog-icon.gblog_clear {
|
2020-07-06 18:55:32 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.gblog-page {
|
|
|
|
min-width: $body-min-width;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gblog-post {
|
|
|
|
word-wrap: break-word;
|
2021-11-23 15:53:25 +00:00
|
|
|
border-top: $border-2 dashed var(--accent-color-dark);
|
2020-07-06 18:55:32 +00:00
|
|
|
padding: $padding-32 0;
|
|
|
|
|
2022-01-29 13:38:08 +00:00
|
|
|
&__title {
|
|
|
|
margin-top: 0;
|
2020-07-06 18:55:32 +00:00
|
|
|
|
2020-07-12 21:07:37 +00:00
|
|
|
a,
|
|
|
|
a:visited {
|
2020-07-06 18:55:32 +00:00
|
|
|
color: inherit;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
background: none;
|
|
|
|
text-decoration: underline;
|
2021-11-23 15:53:25 +00:00
|
|
|
color: var(--body-font-color) !important;
|
2020-07-06 18:55:32 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
border-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__readmore {
|
2022-02-06 23:10:30 +00:00
|
|
|
margin: $padding-32 0;
|
2020-07-06 18:55:32 +00:00
|
|
|
|
2021-11-23 15:53:25 +00:00
|
|
|
a:visited {
|
|
|
|
color: var(--link-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover,
|
|
|
|
a:visited:hover {
|
|
|
|
background: var(--link-color);
|
|
|
|
color: $gray-100;
|
|
|
|
}
|
2020-07-06 18:55:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__anchorwrap {
|
2022-04-30 11:36:39 +00:00
|
|
|
&:hover .gblog-post__anchor svg.gblog-icon {
|
2021-11-23 15:53:25 +00:00
|
|
|
color: var(--control-icons);
|
2020-07-06 18:55:32 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__anchor {
|
|
|
|
min-width: 30px;
|
|
|
|
|
|
|
|
&--left {
|
|
|
|
position: absolute;
|
|
|
|
margin-left: -25px;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--right {
|
|
|
|
text-align: right;
|
|
|
|
}
|
2020-07-12 21:07:37 +00:00
|
|
|
|
2022-04-30 11:36:39 +00:00
|
|
|
svg.gblog-icon {
|
2021-11-23 15:53:25 +00:00
|
|
|
font-size: $font-size-20;
|
|
|
|
color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:visited:hover {
|
|
|
|
color: var(--control-icons);
|
|
|
|
background: none;
|
2020-07-12 21:07:37 +00:00
|
|
|
}
|
2020-07-06 18:55:32 +00:00
|
|
|
}
|
|
|
|
|
2020-07-27 18:17:55 +00:00
|
|
|
&__feature {
|
|
|
|
position: relative;
|
|
|
|
margin-bottom: $padding-32;
|
|
|
|
|
2020-07-26 12:47:12 +00:00
|
|
|
img {
|
|
|
|
width: 100%;
|
2020-07-27 18:17:55 +00:00
|
|
|
min-height: 180px;
|
2020-07-26 12:47:12 +00:00
|
|
|
object-fit: cover;
|
2020-07-27 18:17:55 +00:00
|
|
|
overflow: hidden;
|
2021-02-21 13:45:41 +00:00
|
|
|
border-radius: $border-radius;
|
2020-07-27 18:17:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
2022-02-02 21:27:10 +00:00
|
|
|
background: $gray-800;
|
2020-07-27 18:17:55 +00:00
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
2022-02-02 21:27:10 +00:00
|
|
|
padding: $padding-4 $padding-8;
|
2020-07-29 19:14:43 +00:00
|
|
|
font-size: 0.8em;
|
2021-11-23 15:53:25 +00:00
|
|
|
color: $gray-100;
|
2021-02-21 13:45:41 +00:00
|
|
|
border-radius: $border-radius 0;
|
2020-07-27 18:17:55 +00:00
|
|
|
}
|
|
|
|
|
2022-02-02 21:27:10 +00:00
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
color: $link-color-dark;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
2021-11-23 15:53:25 +00:00
|
|
|
a:visited,
|
|
|
|
a:visited:hover {
|
2022-02-02 21:27:10 +00:00
|
|
|
color: $link-color-dark;
|
2020-07-27 18:17:55 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-08-25 22:09:32 +00:00
|
|
|
&__meta {
|
2022-04-30 11:36:39 +00:00
|
|
|
span svg.gblog-icon {
|
2022-01-29 13:38:08 +00:00
|
|
|
margin-left: -5px;
|
2020-08-25 22:09:32 +00:00
|
|
|
}
|
|
|
|
|
2022-02-06 23:10:30 +00:00
|
|
|
> span {
|
|
|
|
margin: $padding-4 0;
|
|
|
|
&:not(:last-child) {
|
|
|
|
margin-right: $padding-8;
|
|
|
|
}
|
2022-01-12 21:50:20 +00:00
|
|
|
}
|
|
|
|
|
2022-04-30 11:36:39 +00:00
|
|
|
svg.gblog-icon {
|
2022-01-12 21:50:20 +00:00
|
|
|
font-size: 1.2em;
|
|
|
|
}
|
2022-01-29 13:38:08 +00:00
|
|
|
|
|
|
|
.gblog-button {
|
2022-02-06 23:10:30 +00:00
|
|
|
margin: 0 $padding-2 0 0;
|
2022-01-29 13:38:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&--head {
|
2022-02-06 23:10:30 +00:00
|
|
|
margin-bottom: $padding-32;
|
2022-01-29 13:38:08 +00:00
|
|
|
}
|
2022-01-12 21:50:20 +00:00
|
|
|
}
|
|
|
|
|
2020-07-27 18:17:55 +00:00
|
|
|
&__figure {
|
2021-02-21 13:45:41 +00:00
|
|
|
padding: $padding-4;
|
2020-07-27 18:17:55 +00:00
|
|
|
margin: $padding-16 0;
|
2021-11-23 15:53:25 +00:00
|
|
|
background-color: var(--accent-color);
|
2020-07-27 18:17:55 +00:00
|
|
|
display: table;
|
2021-02-21 13:45:41 +00:00
|
|
|
border-top-left-radius: $border-radius;
|
|
|
|
border-top-right-radius: $border-radius;
|
2020-07-27 18:17:55 +00:00
|
|
|
|
|
|
|
figcaption {
|
|
|
|
display: table-caption;
|
|
|
|
caption-side: bottom;
|
2021-11-23 15:53:25 +00:00
|
|
|
background-color: var(--accent-color);
|
2021-02-21 13:45:41 +00:00
|
|
|
padding: 0 $padding-4 $padding-4;
|
2020-07-27 18:17:55 +00:00
|
|
|
text-align: center;
|
2021-02-21 13:45:41 +00:00
|
|
|
border-bottom-left-radius: $border-radius;
|
|
|
|
border-bottom-right-radius: $border-radius;
|
2020-07-27 18:17:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
2020-09-08 19:59:17 +00:00
|
|
|
max-width: 100%;
|
|
|
|
height: auto;
|
2020-07-26 12:47:12 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-11-23 21:18:26 +00:00
|
|
|
&__codecontainer {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&:hover > .gblog-post__codecopy {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__codecopy {
|
|
|
|
visibility: hidden;
|
|
|
|
position: absolute;
|
|
|
|
top: 0.5rem;
|
|
|
|
right: 0.5rem;
|
|
|
|
|
|
|
|
border: $border-2 solid var(--code-copy-border-color);
|
|
|
|
border-radius: $border-radius;
|
|
|
|
background: var(--code-background);
|
|
|
|
width: 2.2rem;
|
|
|
|
height: 2.2rem;
|
|
|
|
|
2022-04-30 11:36:39 +00:00
|
|
|
svg.gblog-icon {
|
2021-11-23 21:18:26 +00:00
|
|
|
top: 0;
|
|
|
|
width: $font-size-20;
|
|
|
|
height: $font-size-20;
|
|
|
|
color: var(--code-copy-font-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--success {
|
|
|
|
border-color: var(--code-copy-success-color);
|
|
|
|
|
2022-04-30 11:36:39 +00:00
|
|
|
svg.gblog-icon {
|
2021-11-23 21:18:26 +00:00
|
|
|
color: var(--code-copy-success-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-07-06 18:55:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.gblog-footer {
|
|
|
|
background: $second-color;
|
2020-07-18 14:16:41 +00:00
|
|
|
color: $gray-100;
|
2020-07-06 18:55:32 +00:00
|
|
|
|
2021-11-23 20:40:58 +00:00
|
|
|
.fake-link {
|
2021-12-29 21:50:13 +00:00
|
|
|
background-image: linear-gradient(var(--footer-link-color), var(--footer-link-color));
|
2021-11-23 20:40:58 +00:00
|
|
|
}
|
|
|
|
|
2020-07-06 18:55:32 +00:00
|
|
|
&__item {
|
2021-11-23 20:40:58 +00:00
|
|
|
line-height: 2em;
|
|
|
|
|
|
|
|
&--row {
|
|
|
|
margin-right: $padding-16;
|
|
|
|
}
|
2020-07-06 18:55:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__link {
|
2021-11-23 15:53:25 +00:00
|
|
|
color: var(--link-color-footer);
|
2020-07-06 18:55:32 +00:00
|
|
|
|
2021-11-23 15:53:25 +00:00
|
|
|
&:hover,
|
|
|
|
&:visited:hover {
|
|
|
|
background: var(--link-color-footer);
|
|
|
|
color: $body-font-color;
|
2020-07-06 18:55:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:visited {
|
2021-11-23 15:53:25 +00:00
|
|
|
color: var(--link-color-footer);
|
2020-07-06 18:55:32 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.gblog-paging {
|
|
|
|
padding: $padding-16 0;
|
2020-07-17 17:19:03 +00:00
|
|
|
|
|
|
|
&__item {
|
|
|
|
flex: 1 1 0;
|
|
|
|
|
2021-11-23 15:53:25 +00:00
|
|
|
a:visited {
|
|
|
|
color: var(--link-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover,
|
|
|
|
a:visited:hover {
|
|
|
|
background: var(--link-color);
|
|
|
|
color: $gray-100;
|
|
|
|
}
|
|
|
|
|
2020-07-17 22:03:22 +00:00
|
|
|
&--next {
|
2020-07-17 17:19:03 +00:00
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2020-07-17 22:03:22 +00:00
|
|
|
&--prev {
|
2020-07-17 17:19:03 +00:00
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
}
|
2020-07-06 18:55:32 +00:00
|
|
|
}
|
|
|
|
|
2020-07-08 19:04:18 +00:00
|
|
|
.gblog-error {
|
2022-04-30 12:32:07 +00:00
|
|
|
padding: $padding-96 $padding-16;
|
2020-07-08 19:04:18 +00:00
|
|
|
margin: 0 auto;
|
|
|
|
max-width: 45em;
|
|
|
|
|
2022-04-30 11:36:39 +00:00
|
|
|
svg.gblog-icon {
|
2021-05-23 18:45:26 +00:00
|
|
|
font-size: $font-size-128;
|
2021-11-23 15:53:25 +00:00
|
|
|
color: var(--body-font-color);
|
2020-07-08 19:04:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__link,
|
|
|
|
&__link:visited {
|
2021-11-23 15:53:25 +00:00
|
|
|
color: var(--link-color);
|
2020-07-08 19:04:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__message {
|
2022-04-30 12:32:07 +00:00
|
|
|
padding-left: $padding-64;
|
2020-07-08 19:04:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__line {
|
|
|
|
padding: $padding-8 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__title {
|
2021-11-23 15:53:25 +00:00
|
|
|
font-size: $font-size-64;
|
2020-07-08 19:04:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__code {
|
|
|
|
font-weight: bolder;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-07-06 18:55:32 +00:00
|
|
|
.gblog-toc {
|
|
|
|
// Classes to hide nested levels of ToC/Menu
|
|
|
|
&__level--1 ul ul,
|
|
|
|
&__level--2 ul ul ul,
|
|
|
|
&__level--3 ul ul ul ul,
|
|
|
|
&__level--4 ul ul ul ul ul,
|
|
|
|
&__level--5 ul ul ul ul ul ul,
|
|
|
|
&__level--6 ul ul ul ul ul ul ul {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2021-11-23 15:53:25 +00:00
|
|
|
a:hover,
|
|
|
|
a:visited:hover {
|
|
|
|
background: var(--link-color);
|
|
|
|
color: $gray-100;
|
|
|
|
}
|
|
|
|
|
2020-07-06 18:55:32 +00:00
|
|
|
a,
|
|
|
|
a:visited {
|
2021-11-23 15:53:25 +00:00
|
|
|
color: var(--link-color);
|
2020-07-18 14:16:41 +00:00
|
|
|
text-decoration: none;
|
2020-07-06 18:55:32 +00:00
|
|
|
}
|
|
|
|
}
|