jekyll-theme-doodle 5.2.2 → 5.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_sass/minima/_base.scss +23 -3
- data/_sass/minima/_blockquotes.scss +63 -28
- data/_sass/minima/_fonts.scss +20 -20
- data/_sass/minima/_footer.scss +81 -81
- data/_sass/minima/_header.scss +30 -30
- data/_sass/minima/_navigation-bar.scss +133 -133
- data/_sass/minima/_pinned-post.scss +100 -100
- data/_sass/minima/_posts.scss +122 -122
- data/_sass/minima/_theme-selector.scss +91 -91
- data/_sass/minima/_theme.scss +588 -588
- data/_sass/minima/_toc.scss +45 -45
- data/assets/theme-assets/theme-icons/moon.svg +2 -2
- data/assets/theme-assets/theme-icons/sun.svg +17 -17
- data/assets/theme-assets/theme-icons/warning.svg +1 -0
- data/assets/theme-assets/theme-images/box-filled-2.svg +9 -9
- data/assets/theme-assets/theme-images/box-filled.svg +18 -18
- metadata +4 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d0cca84630a9af77749e5d53d1404f517318233d74fcbc2c6abe52383b12744b
|
4
|
+
data.tar.gz: b1ba55c6e96f2895ef403b27cd6c1adc378a4dd3ae9b30fb721348ae71c30a99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d40de400be24d3e98ea5d9426e241379af37e2c50b4cb7905c98c8ed9ab4773b8e57d040daea79e17b8c5f251f47d85fadbd807bffb83bcd56142b445fa2d671
|
7
|
+
data.tar.gz: ae961986885c4dcee78abd2e42b9440b8b471a9a5401637ffb0508996d395dd0bae9e5dd0a654699ea2ecc8cd2efb0913ec0fd880b854d4371a01e20a6d79572
|
data/_sass/minima/_base.scss
CHANGED
@@ -121,9 +121,9 @@ a {
|
|
121
121
|
color: var(--md-sys-color-primary);
|
122
122
|
text-decoration: none;
|
123
123
|
|
124
|
-
&:visited {
|
125
|
-
|
126
|
-
}
|
124
|
+
// &:visited {
|
125
|
+
// color: var(--md-sys-color-inverse-primary);
|
126
|
+
// }
|
127
127
|
|
128
128
|
&:hover {
|
129
129
|
color: $text-color;
|
@@ -270,3 +270,23 @@ main {
|
|
270
270
|
color: var(--md-sys-color-on-primary);
|
271
271
|
background: var(--md-sys-color-primary);
|
272
272
|
}
|
273
|
+
/* Custom scrollbar styling */
|
274
|
+
::-webkit-scrollbar {
|
275
|
+
width: 8px;
|
276
|
+
}
|
277
|
+
|
278
|
+
::-webkit-scrollbar-track {
|
279
|
+
background: var(--md-sys-color-surface-container);
|
280
|
+
}
|
281
|
+
|
282
|
+
::-webkit-scrollbar-thumb {
|
283
|
+
// background: rgba(136, 136, 136, 0.4);
|
284
|
+
background: var(--md-sys-color-secondary);
|
285
|
+
border-radius: 10px;
|
286
|
+
|
287
|
+
}
|
288
|
+
|
289
|
+
::-webkit-scrollbar-thumb:hover {
|
290
|
+
// background: rgba(136, 136, 136, 0.7);
|
291
|
+
background: var(--md-sys-color-primary);
|
292
|
+
}
|
@@ -1,28 +1,63 @@
|
|
1
|
-
blockquote {
|
2
|
-
|
3
|
-
background-color: var(--md-sys-color-
|
4
|
-
color: var(--md-sys-color-on-
|
5
|
-
//
|
6
|
-
border
|
7
|
-
|
8
|
-
|
9
|
-
margin-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
>
|
21
|
-
|
22
|
-
}
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
1
|
+
blockquote {
|
2
|
+
// display: flex;
|
3
|
+
background-color: var(--md-sys-color-surface-container-highest);
|
4
|
+
color: var(--md-sys-color-on-surface);
|
5
|
+
// border-color: var(--md-sys-color-on-surface);
|
6
|
+
// border: 1px solid var(--md-sys-color-on-tertiary-container);
|
7
|
+
// border-left: 6px solid var(--md-sys-color-on-tertiary-container);
|
8
|
+
padding: $spacing-unit;
|
9
|
+
margin-left: 10px;
|
10
|
+
margin-right: 10px;
|
11
|
+
margin-top: 18px;
|
12
|
+
margin-bottom: 18px;
|
13
|
+
border-radius: 12px;
|
14
|
+
svg {
|
15
|
+
margin-right: 4px;
|
16
|
+
flex-shrink: 0;
|
17
|
+
float: left;
|
18
|
+
}
|
19
|
+
|
20
|
+
> :last-child {
|
21
|
+
margin-bottom: 0;
|
22
|
+
}
|
23
|
+
|
24
|
+
> p {
|
25
|
+
text-align: left;
|
26
|
+
&:first-of-type {
|
27
|
+
font-weight: bold;
|
28
|
+
// &::before {
|
29
|
+
// display: none;
|
30
|
+
// content: "";
|
31
|
+
// width: 1.2em;
|
32
|
+
// height: 1.2em;
|
33
|
+
// background-repeat: no-repeat;
|
34
|
+
// background-position: center;
|
35
|
+
// vertical-align: middle;
|
36
|
+
// margin-right: 0.5em;
|
37
|
+
// stroke: currentColor;
|
38
|
+
// }
|
39
|
+
}
|
40
|
+
}
|
41
|
+
&.warning {
|
42
|
+
background-color: var(--md-sys-color-error-container);
|
43
|
+
color: var(--md-sys-color-on-error-container);
|
44
|
+
border-color: var(--md-sys-color-on-error-container);
|
45
|
+
// > p:first-of-type::before {
|
46
|
+
// display: inline-block;
|
47
|
+
// background-image: url("/assets/theme-assets/theme-icons/triangle-alert.svg");
|
48
|
+
// }
|
49
|
+
}
|
50
|
+
&.important,
|
51
|
+
&.idea,
|
52
|
+
&.tip,
|
53
|
+
&.remember {
|
54
|
+
background-color: var(--md-sys-color-tertiary-container);
|
55
|
+
color: var(--md-sys-color-on-tertiary-container);
|
56
|
+
border-color: var(--md-sys-color-on-tertiary-container);
|
57
|
+
}
|
58
|
+
&.quote {
|
59
|
+
background-color: var(--md-sys-color-secondary-container);
|
60
|
+
color: var(--md-sys-color-on-secondary-container);
|
61
|
+
border-color: var(--md-sys-color-on-secondary-container);
|
62
|
+
}
|
63
|
+
}
|
data/_sass/minima/_fonts.scss
CHANGED
@@ -1,20 +1,20 @@
|
|
1
|
-
@font-face {
|
2
|
-
font-family: "Excalifont";
|
3
|
-
src: url("/assets/theme-assets/theme-fonts/Excalifont-Regular.woff2");
|
4
|
-
}
|
5
|
-
@font-face {
|
6
|
-
font-family: "Comic Shanns";
|
7
|
-
src: url("/assets/theme-assets/theme-fonts/comic\ shanns.otf");
|
8
|
-
}
|
9
|
-
@font-face {
|
10
|
-
font-family: "Lexend";
|
11
|
-
src: url("/assets/theme-assets/theme-fonts/Lexend-Regular.ttf");
|
12
|
-
}
|
13
|
-
// @font-face {
|
14
|
-
// font-family: "Gluten Light";
|
15
|
-
// src: url("/assets/theme-assets/theme-fonts/Gluten-Static/Gluten-Regular.ttf");
|
16
|
-
// }
|
17
|
-
// @font-face {
|
18
|
-
// font-family: "Architect";
|
19
|
-
// src: url("/assets/theme-assets/theme-fonts/ArchitectsDaughter-Regular.ttf");
|
20
|
-
// }
|
1
|
+
@font-face {
|
2
|
+
font-family: "Excalifont";
|
3
|
+
src: url("/assets/theme-assets/theme-fonts/Excalifont-Regular.woff2");
|
4
|
+
}
|
5
|
+
@font-face {
|
6
|
+
font-family: "Comic Shanns";
|
7
|
+
src: url("/assets/theme-assets/theme-fonts/comic\ shanns.otf");
|
8
|
+
}
|
9
|
+
@font-face {
|
10
|
+
font-family: "Lexend";
|
11
|
+
src: url("/assets/theme-assets/theme-fonts/Lexend-Regular.ttf");
|
12
|
+
}
|
13
|
+
// @font-face {
|
14
|
+
// font-family: "Gluten Light";
|
15
|
+
// src: url("/assets/theme-assets/theme-fonts/Gluten-Static/Gluten-Regular.ttf");
|
16
|
+
// }
|
17
|
+
// @font-face {
|
18
|
+
// font-family: "Architect";
|
19
|
+
// src: url("/assets/theme-assets/theme-fonts/ArchitectsDaughter-Regular.ttf");
|
20
|
+
// }
|
data/_sass/minima/_footer.scss
CHANGED
@@ -1,81 +1,81 @@
|
|
1
|
-
.site-footer {
|
2
|
-
padding: $spacing-unit 0;
|
3
|
-
@include media-query($on-palm) {
|
4
|
-
padding-bottom: 100px;
|
5
|
-
padding-left: 10px;
|
6
|
-
padding-right: 10px
|
7
|
-
}
|
8
|
-
}
|
9
|
-
|
10
|
-
.footer-heading {
|
11
|
-
@include relative-font-size(1.125);
|
12
|
-
margin-bottom: $spacing-unit / 2;
|
13
|
-
}
|
14
|
-
|
15
|
-
.contact-list,
|
16
|
-
.social-media-list {
|
17
|
-
list-style: none;
|
18
|
-
margin-left: 0;
|
19
|
-
}
|
20
|
-
|
21
|
-
.footer-col-wrapper {
|
22
|
-
@include relative-font-size(0.9375);
|
23
|
-
color: $grey-color;
|
24
|
-
margin-left: -$spacing-unit / 2;
|
25
|
-
@extend %clearfix;
|
26
|
-
}
|
27
|
-
|
28
|
-
.footer-col {
|
29
|
-
float: left;
|
30
|
-
margin-bottom: $spacing-unit / 2;
|
31
|
-
padding-left: $spacing-unit / 2;
|
32
|
-
}
|
33
|
-
|
34
|
-
.footer-col-1 {
|
35
|
-
width: -webkit-calc(35% - (#{$spacing-unit} / 2));
|
36
|
-
width: calc(35% - (#{$spacing-unit} / 2));
|
37
|
-
}
|
38
|
-
|
39
|
-
.footer-col-2 {
|
40
|
-
width: -webkit-calc(20% - (#{$spacing-unit} / 2));
|
41
|
-
width: calc(20% - (#{$spacing-unit} / 2));
|
42
|
-
}
|
43
|
-
|
44
|
-
.footer-col-3 {
|
45
|
-
width: -webkit-calc(45% - (#{$spacing-unit} / 2));
|
46
|
-
width: calc(45% - (#{$spacing-unit} / 2));
|
47
|
-
}
|
48
|
-
|
49
|
-
@include media-query($on-laptop) {
|
50
|
-
.footer-col-1,
|
51
|
-
.footer-col-2 {
|
52
|
-
width: -webkit-calc(50% - (#{$spacing-unit} / 2));
|
53
|
-
width: calc(50% - (#{$spacing-unit} / 2));
|
54
|
-
}
|
55
|
-
|
56
|
-
.footer-col-3 {
|
57
|
-
width: -webkit-calc(100% - (#{$spacing-unit} / 2));
|
58
|
-
width: calc(100% - (#{$spacing-unit} / 2));
|
59
|
-
}
|
60
|
-
}
|
61
|
-
|
62
|
-
@include media-query($on-palm) {
|
63
|
-
.footer-col {
|
64
|
-
float: none;
|
65
|
-
width: -webkit-calc(100% - (#{$spacing-unit} / 2));
|
66
|
-
width: calc(100% - (#{$spacing-unit} / 2));
|
67
|
-
}
|
68
|
-
}
|
69
|
-
|
70
|
-
.divider-svg {
|
71
|
-
width: 100%;
|
72
|
-
height: auto;
|
73
|
-
margin-left: auto;
|
74
|
-
margin-right: auto;
|
75
|
-
@include media-query($on-palm) {
|
76
|
-
}
|
77
|
-
}
|
78
|
-
.divider-path {
|
79
|
-
stroke: var(--md-sys-color-outline);
|
80
|
-
stroke-width: 1.5;
|
81
|
-
}
|
1
|
+
.site-footer {
|
2
|
+
padding: $spacing-unit 0;
|
3
|
+
@include media-query($on-palm) {
|
4
|
+
padding-bottom: 100px;
|
5
|
+
padding-left: 10px;
|
6
|
+
padding-right: 10px
|
7
|
+
}
|
8
|
+
}
|
9
|
+
|
10
|
+
.footer-heading {
|
11
|
+
@include relative-font-size(1.125);
|
12
|
+
margin-bottom: $spacing-unit / 2;
|
13
|
+
}
|
14
|
+
|
15
|
+
.contact-list,
|
16
|
+
.social-media-list {
|
17
|
+
list-style: none;
|
18
|
+
margin-left: 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
.footer-col-wrapper {
|
22
|
+
@include relative-font-size(0.9375);
|
23
|
+
color: $grey-color;
|
24
|
+
margin-left: -$spacing-unit / 2;
|
25
|
+
@extend %clearfix;
|
26
|
+
}
|
27
|
+
|
28
|
+
.footer-col {
|
29
|
+
float: left;
|
30
|
+
margin-bottom: $spacing-unit / 2;
|
31
|
+
padding-left: $spacing-unit / 2;
|
32
|
+
}
|
33
|
+
|
34
|
+
.footer-col-1 {
|
35
|
+
width: -webkit-calc(35% - (#{$spacing-unit} / 2));
|
36
|
+
width: calc(35% - (#{$spacing-unit} / 2));
|
37
|
+
}
|
38
|
+
|
39
|
+
.footer-col-2 {
|
40
|
+
width: -webkit-calc(20% - (#{$spacing-unit} / 2));
|
41
|
+
width: calc(20% - (#{$spacing-unit} / 2));
|
42
|
+
}
|
43
|
+
|
44
|
+
.footer-col-3 {
|
45
|
+
width: -webkit-calc(45% - (#{$spacing-unit} / 2));
|
46
|
+
width: calc(45% - (#{$spacing-unit} / 2));
|
47
|
+
}
|
48
|
+
|
49
|
+
@include media-query($on-laptop) {
|
50
|
+
.footer-col-1,
|
51
|
+
.footer-col-2 {
|
52
|
+
width: -webkit-calc(50% - (#{$spacing-unit} / 2));
|
53
|
+
width: calc(50% - (#{$spacing-unit} / 2));
|
54
|
+
}
|
55
|
+
|
56
|
+
.footer-col-3 {
|
57
|
+
width: -webkit-calc(100% - (#{$spacing-unit} / 2));
|
58
|
+
width: calc(100% - (#{$spacing-unit} / 2));
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
@include media-query($on-palm) {
|
63
|
+
.footer-col {
|
64
|
+
float: none;
|
65
|
+
width: -webkit-calc(100% - (#{$spacing-unit} / 2));
|
66
|
+
width: calc(100% - (#{$spacing-unit} / 2));
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
70
|
+
.divider-svg {
|
71
|
+
width: 100%;
|
72
|
+
height: auto;
|
73
|
+
margin-left: auto;
|
74
|
+
margin-right: auto;
|
75
|
+
@include media-query($on-palm) {
|
76
|
+
}
|
77
|
+
}
|
78
|
+
.divider-path {
|
79
|
+
stroke: var(--md-sys-color-outline);
|
80
|
+
stroke-width: 1.5;
|
81
|
+
}
|
data/_sass/minima/_header.scss
CHANGED
@@ -1,30 +1,30 @@
|
|
1
|
-
.header-container {
|
2
|
-
display: flex;
|
3
|
-
justify-content: center;
|
4
|
-
flex-direction: column;
|
5
|
-
padding-top: 24px;
|
6
|
-
}
|
7
|
-
.site-header {
|
8
|
-
min-height: $spacing-unit * 1.865;
|
9
|
-
position: relative;
|
10
|
-
}
|
11
|
-
|
12
|
-
.site-title {
|
13
|
-
@include relative-font-size(1.625);
|
14
|
-
font-family: Excalifont;
|
15
|
-
font-weight: 300;
|
16
|
-
text-align: center;
|
17
|
-
letter-spacing: -1px;
|
18
|
-
margin-bottom: 0;
|
19
|
-
font-size: 64px;
|
20
|
-
padding: 29px 18px 18px 18px;
|
21
|
-
|
22
|
-
@include media-query($on-palm) {
|
23
|
-
font-size: 46px;
|
24
|
-
}
|
25
|
-
}
|
26
|
-
.tagline {
|
27
|
-
font-family: "Comic Shanns", $base-font-family;
|
28
|
-
text-align: center;
|
29
|
-
font-size: 1.2rem;
|
30
|
-
}
|
1
|
+
.header-container {
|
2
|
+
display: flex;
|
3
|
+
justify-content: center;
|
4
|
+
flex-direction: column;
|
5
|
+
padding-top: 24px;
|
6
|
+
}
|
7
|
+
.site-header {
|
8
|
+
min-height: $spacing-unit * 1.865;
|
9
|
+
position: relative;
|
10
|
+
}
|
11
|
+
|
12
|
+
.site-title {
|
13
|
+
@include relative-font-size(1.625);
|
14
|
+
font-family: Excalifont;
|
15
|
+
font-weight: 300;
|
16
|
+
text-align: center;
|
17
|
+
letter-spacing: -1px;
|
18
|
+
margin-bottom: 0;
|
19
|
+
font-size: 64px;
|
20
|
+
padding: 29px 18px 18px 18px;
|
21
|
+
|
22
|
+
@include media-query($on-palm) {
|
23
|
+
font-size: 46px;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
.tagline {
|
27
|
+
font-family: "Comic Shanns", $base-font-family;
|
28
|
+
text-align: center;
|
29
|
+
font-size: 1.2rem;
|
30
|
+
}
|
@@ -1,133 +1,133 @@
|
|
1
|
-
.site-nav {
|
2
|
-
line-height: $base-line-height * $base-font-size * 2.25;
|
3
|
-
|
4
|
-
.nav-trigger {
|
5
|
-
display: none;
|
6
|
-
}
|
7
|
-
|
8
|
-
.menu-icon {
|
9
|
-
display: none;
|
10
|
-
}
|
11
|
-
.trigger {
|
12
|
-
display: none;
|
13
|
-
justify-content: center;
|
14
|
-
border-radius: 999px;
|
15
|
-
}
|
16
|
-
.page-link {
|
17
|
-
color: var(--md-sys-color-on-surface);
|
18
|
-
min-width: 60px;
|
19
|
-
text-align: center;
|
20
|
-
border-radius: 999px;
|
21
|
-
padding: 0 20px 0 20px;
|
22
|
-
&:not(:last-child) {
|
23
|
-
margin-right: 20px;
|
24
|
-
}
|
25
|
-
}
|
26
|
-
|
27
|
-
@include media-query($on-palm) {
|
28
|
-
position: absolute;
|
29
|
-
top: 12px;
|
30
|
-
left: 12px;
|
31
|
-
background-color: var(--md-sys-color-surface-container);
|
32
|
-
backdrop-filter: blur(8px);
|
33
|
-
border-radius: 8px;
|
34
|
-
text-align: right;
|
35
|
-
padding-bottom: 3px;
|
36
|
-
padding-left: 2px;
|
37
|
-
padding-right: 2px;
|
38
|
-
|
39
|
-
label[for="nav-trigger"] {
|
40
|
-
display: block;
|
41
|
-
width: 36px;
|
42
|
-
height: 36px;
|
43
|
-
z-index: 2;
|
44
|
-
cursor: pointer;
|
45
|
-
}
|
46
|
-
|
47
|
-
.menu-icon {
|
48
|
-
display: block;
|
49
|
-
float: right;
|
50
|
-
width: 36px;
|
51
|
-
height: 26px;
|
52
|
-
line-height: 0;
|
53
|
-
padding-top: 10px;
|
54
|
-
text-align: center;
|
55
|
-
|
56
|
-
> svg {
|
57
|
-
fill: $grey-color-dark;
|
58
|
-
}
|
59
|
-
}
|
60
|
-
|
61
|
-
input ~ .trigger {
|
62
|
-
clear: both;
|
63
|
-
display: none;
|
64
|
-
}
|
65
|
-
|
66
|
-
input:checked ~ .trigger {
|
67
|
-
display: block;
|
68
|
-
padding-bottom: 5px;
|
69
|
-
}
|
70
|
-
|
71
|
-
.page-link {
|
72
|
-
display: block;
|
73
|
-
padding: 5px 10px;
|
74
|
-
|
75
|
-
&:not(:last-child) {
|
76
|
-
margin-right: 0;
|
77
|
-
}
|
78
|
-
margin-left: 20px;
|
79
|
-
}
|
80
|
-
}
|
81
|
-
}
|
82
|
-
.navrail {
|
83
|
-
font-family: "Comic Shanns", $base-font-family;
|
84
|
-
position: fixed;
|
85
|
-
display: flex;
|
86
|
-
flex-direction: column;
|
87
|
-
height: 100vh;
|
88
|
-
justify-content: flex-start;
|
89
|
-
align-items: center;
|
90
|
-
z-index: 99;
|
91
|
-
padding: 30px 8px 30px 16px;
|
92
|
-
box-sizing: border-box;
|
93
|
-
width: 100px;
|
94
|
-
@media screen and (min-width: 1360px) {
|
95
|
-
width: 130px;
|
96
|
-
}
|
97
|
-
|
98
|
-
@include media-query($on-palm) {
|
99
|
-
flex-direction: row;
|
100
|
-
bottom: 0;
|
101
|
-
width: 100vw;
|
102
|
-
height: fit-content;
|
103
|
-
background-color: var(--md-sys-color-surface-container);
|
104
|
-
padding: 0px;
|
105
|
-
box-shadow: 0px -4px 16px 0px var(--md-sys-color-shadow);
|
106
|
-
.navrail-icon {
|
107
|
-
max-height: 34px;
|
108
|
-
max-width: max-content;
|
109
|
-
object-fit: cover;
|
110
|
-
}
|
111
|
-
.navrail-button {
|
112
|
-
padding: 8px 0 8px 0;
|
113
|
-
}
|
114
|
-
}
|
115
|
-
}
|
116
|
-
.navrail-button {
|
117
|
-
padding: 12px 0 12px 0;
|
118
|
-
position: relative;
|
119
|
-
display: flex;
|
120
|
-
flex-direction: column;
|
121
|
-
width: 100%;
|
122
|
-
justify-content: center;
|
123
|
-
text-align: center;
|
124
|
-
align-items: center;
|
125
|
-
color: var(--md-sys-color-on-surface);
|
126
|
-
}
|
127
|
-
.navrail-icon {
|
128
|
-
max-width: 40px;
|
129
|
-
filter: var(--on-surface-filter);
|
130
|
-
}
|
131
|
-
.menu-icon {
|
132
|
-
filter: var(--on-surface-filter);
|
133
|
-
}
|
1
|
+
.site-nav {
|
2
|
+
line-height: $base-line-height * $base-font-size * 2.25;
|
3
|
+
|
4
|
+
.nav-trigger {
|
5
|
+
display: none;
|
6
|
+
}
|
7
|
+
|
8
|
+
.menu-icon {
|
9
|
+
display: none;
|
10
|
+
}
|
11
|
+
.trigger {
|
12
|
+
display: none;
|
13
|
+
justify-content: center;
|
14
|
+
border-radius: 999px;
|
15
|
+
}
|
16
|
+
.page-link {
|
17
|
+
color: var(--md-sys-color-on-surface);
|
18
|
+
min-width: 60px;
|
19
|
+
text-align: center;
|
20
|
+
border-radius: 999px;
|
21
|
+
padding: 0 20px 0 20px;
|
22
|
+
&:not(:last-child) {
|
23
|
+
margin-right: 20px;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
@include media-query($on-palm) {
|
28
|
+
position: absolute;
|
29
|
+
top: 12px;
|
30
|
+
left: 12px;
|
31
|
+
background-color: var(--md-sys-color-surface-container);
|
32
|
+
backdrop-filter: blur(8px);
|
33
|
+
border-radius: 8px;
|
34
|
+
text-align: right;
|
35
|
+
padding-bottom: 3px;
|
36
|
+
padding-left: 2px;
|
37
|
+
padding-right: 2px;
|
38
|
+
|
39
|
+
label[for="nav-trigger"] {
|
40
|
+
display: block;
|
41
|
+
width: 36px;
|
42
|
+
height: 36px;
|
43
|
+
z-index: 2;
|
44
|
+
cursor: pointer;
|
45
|
+
}
|
46
|
+
|
47
|
+
.menu-icon {
|
48
|
+
display: block;
|
49
|
+
float: right;
|
50
|
+
width: 36px;
|
51
|
+
height: 26px;
|
52
|
+
line-height: 0;
|
53
|
+
padding-top: 10px;
|
54
|
+
text-align: center;
|
55
|
+
|
56
|
+
> svg {
|
57
|
+
fill: $grey-color-dark;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
input ~ .trigger {
|
62
|
+
clear: both;
|
63
|
+
display: none;
|
64
|
+
}
|
65
|
+
|
66
|
+
input:checked ~ .trigger {
|
67
|
+
display: block;
|
68
|
+
padding-bottom: 5px;
|
69
|
+
}
|
70
|
+
|
71
|
+
.page-link {
|
72
|
+
display: block;
|
73
|
+
padding: 5px 10px;
|
74
|
+
|
75
|
+
&:not(:last-child) {
|
76
|
+
margin-right: 0;
|
77
|
+
}
|
78
|
+
margin-left: 20px;
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
.navrail {
|
83
|
+
font-family: "Comic Shanns", $base-font-family;
|
84
|
+
position: fixed;
|
85
|
+
display: flex;
|
86
|
+
flex-direction: column;
|
87
|
+
height: 100vh;
|
88
|
+
justify-content: flex-start;
|
89
|
+
align-items: center;
|
90
|
+
z-index: 99;
|
91
|
+
padding: 30px 8px 30px 16px;
|
92
|
+
box-sizing: border-box;
|
93
|
+
width: 100px;
|
94
|
+
@media screen and (min-width: 1360px) {
|
95
|
+
width: 130px;
|
96
|
+
}
|
97
|
+
|
98
|
+
@include media-query($on-palm) {
|
99
|
+
flex-direction: row;
|
100
|
+
bottom: 0;
|
101
|
+
width: 100vw;
|
102
|
+
height: fit-content;
|
103
|
+
background-color: var(--md-sys-color-surface-container);
|
104
|
+
padding: 0px;
|
105
|
+
box-shadow: 0px -4px 16px 0px var(--md-sys-color-shadow);
|
106
|
+
.navrail-icon {
|
107
|
+
max-height: 34px;
|
108
|
+
max-width: max-content;
|
109
|
+
object-fit: cover;
|
110
|
+
}
|
111
|
+
.navrail-button {
|
112
|
+
padding: 8px 0 8px 0;
|
113
|
+
}
|
114
|
+
}
|
115
|
+
}
|
116
|
+
.navrail-button {
|
117
|
+
padding: 12px 0 12px 0;
|
118
|
+
position: relative;
|
119
|
+
display: flex;
|
120
|
+
flex-direction: column;
|
121
|
+
width: 100%;
|
122
|
+
justify-content: center;
|
123
|
+
text-align: center;
|
124
|
+
align-items: center;
|
125
|
+
color: var(--md-sys-color-on-surface);
|
126
|
+
}
|
127
|
+
.navrail-icon {
|
128
|
+
max-width: 40px;
|
129
|
+
filter: var(--on-surface-filter);
|
130
|
+
}
|
131
|
+
.menu-icon {
|
132
|
+
filter: var(--on-surface-filter);
|
133
|
+
}
|