dark-blog-theme 3.8.0 → 3.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/navrail.html +14 -17
- data/_sass/minima/_layout.scss +1 -0
- data/_sass/minima/_mysass.scss +19 -22
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f102ac1b3d7958fe2144547c9d6d96a48936aed5e40f070b0e22b84a740aaba9
|
4
|
+
data.tar.gz: 54ce229eef4a29b1cc15b17d53977d1b73e46a0bf0639c34bc8a24fba6823436
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d971cfccf0bef8e5c04a8f6129581c36908c9a96b10f83f90e7597ab669ad9c02ad2ca125e37080c9519a5ca9fab0f291fbcbb18fee1e85e8faa29ffa604d005
|
7
|
+
data.tar.gz: 93b341f1c0da9a18b8f643e74c4952358df5a94ea1e700e74caf4f0f7acb30fc323fd8bfb81f4f7bffee4272cde1a52b41b0e5802006845b904b3078425088e4
|
data/_includes/navrail.html
CHANGED
@@ -1,20 +1,17 @@
|
|
1
1
|
{%- if page_paths -%}
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
2
|
+
<nav class="navrail">
|
3
|
+
<a class="navrail-button" href="/">
|
4
|
+
<img class="navrail-icon" src="{{- site.home_icon | relative_url -}}" />
|
5
|
+
Home</a
|
6
|
+
>
|
7
7
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
{%- endif -%}
|
18
|
-
{%- endfor -%}
|
19
|
-
</nav>
|
8
|
+
{%- for path in page_paths -%} {%- assign my_page = site.pages | where:
|
9
|
+
'path', path | first -%} {%- if my_page.title -%}
|
10
|
+
<a class="navrail-button" href="{{ my_page.url | relative_url }}">
|
11
|
+
{%- if my_page.title -%}
|
12
|
+
<img class="navrail-icon" src="{{- my_page.icon | relative_url -}}" />
|
13
|
+
{%- endif -%} {{ my_page.title | escape }}
|
14
|
+
</a>
|
15
|
+
{%- endif -%} {%- endfor -%}
|
16
|
+
</nav>
|
20
17
|
{%- endif -%}
|
data/_sass/minima/_layout.scss
CHANGED
@@ -227,6 +227,7 @@
|
|
227
227
|
background-color: var(--md-sys-color-surface-container);
|
228
228
|
border-radius: 24px;
|
229
229
|
padding: $spacing-unit;
|
230
|
+
overflow-x: clip;
|
230
231
|
@media screen and (max-width: 850px) {
|
231
232
|
// background-color: var(--md-sys-color-secondary-container);
|
232
233
|
padding: $spacing-unit/2;
|
data/_sass/minima/_mysass.scss
CHANGED
@@ -105,7 +105,21 @@
|
|
105
105
|
width: 100px;
|
106
106
|
|
107
107
|
@include media-query($on-palm) {
|
108
|
-
|
108
|
+
flex-direction: row;
|
109
|
+
bottom: 0;
|
110
|
+
width: 100vw;
|
111
|
+
height: fit-content;
|
112
|
+
background-color: var(--md-sys-color-surface-container-highest);
|
113
|
+
padding: 0px;
|
114
|
+
box-shadow: 0px -4px 16px 0px var(--md-sys-color-shadow);
|
115
|
+
.navrail-icon {
|
116
|
+
max-height: 34px;
|
117
|
+
max-width: max-content;
|
118
|
+
object-fit: cover;
|
119
|
+
}
|
120
|
+
.navrail-button {
|
121
|
+
padding: 8px 0 8px 0;
|
122
|
+
}
|
109
123
|
}
|
110
124
|
}
|
111
125
|
.navrail-button {
|
@@ -118,27 +132,6 @@
|
|
118
132
|
align-items: center;
|
119
133
|
color: var(--md-sys-color-on-surface);
|
120
134
|
}
|
121
|
-
// .navrail-button::before {
|
122
|
-
// content: "";
|
123
|
-
// position: absolute;
|
124
|
-
// height: 20px;
|
125
|
-
// width: 20px;
|
126
|
-
// background-color: aqua;
|
127
|
-
// top: -20px;
|
128
|
-
// z-index: 99;
|
129
|
-
// right: 0px;
|
130
|
-
// }
|
131
|
-
|
132
|
-
// .navrail-button::after {
|
133
|
-
// content: "";
|
134
|
-
// position: absolute;
|
135
|
-
// height: 20px;
|
136
|
-
// width: 20px;
|
137
|
-
// background-color: aqua;
|
138
|
-
// bottom: -20px;
|
139
|
-
// z-index: 999;
|
140
|
-
// right: 0px;
|
141
|
-
// }
|
142
135
|
.navrail-icon {
|
143
136
|
filter: var(--outline-filter);
|
144
137
|
max-width: 40px;
|
@@ -209,3 +202,7 @@
|
|
209
202
|
h1 {
|
210
203
|
font-family: "Comic Shanns", $base-font-family;
|
211
204
|
}
|
205
|
+
.tagline {
|
206
|
+
font-family: "Comic Shanns", $base-font-family;
|
207
|
+
text-align: center;
|
208
|
+
}
|