nano-theme 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_sass/_config.scss +1 -1
- data/_sass/_theme.scss +15 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a72af235ea63685df7ec61891f681a03b99ebc1b281c29a7970e6106242f510
|
4
|
+
data.tar.gz: 002f394016e010026ac553e3a20df7c63a1efae92d24b28a46fbe3f3385054ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f041a948c80d96221f38a521e8068fa95137e6744ddbe60fda4ff69c0f8dd777c906550707ca4093ad474b96c2799f138cb506108f7fb83d569bbdb954358d66
|
7
|
+
data.tar.gz: 9e4f9c36e5fd6ce516df14704f672e8692223b674199808a9c767d0a23930d0297480c04e3f4f77420819ef78bd2edc4eb7b83e72f7594c3e4b86766d0f9f63d
|
data/_sass/_config.scss
CHANGED
@@ -35,7 +35,7 @@ $codeFont-var: 'IBM Plex Mono', monospace; // Might break if nothing is here
|
|
35
35
|
$font: 'Inter', sans-serif;
|
36
36
|
$font-var: 'Inter var experimental', sans-serif; // Might break if nothing is here
|
37
37
|
$font-regular: 500;
|
38
|
-
$font-bold:
|
38
|
+
$font-bold: 600;
|
39
39
|
|
40
40
|
// New Image System in v0.4.1. You can revert using this config.
|
41
41
|
// Don't change without reading: https://github.com/doamatto/nano/wiki/Images
|
data/_sass/_theme.scss
CHANGED
@@ -29,7 +29,7 @@ body {
|
|
29
29
|
h3 { font-size: 19px !important; }
|
30
30
|
.post { h3 { font-size: 14px !important; } }
|
31
31
|
h4, h5, h6 { font-size: 16px !important; }
|
32
|
-
.tagline, .tagline * { font-size:
|
32
|
+
.tagline, .tagline * { font-size: 12vw !important; }
|
33
33
|
b {
|
34
34
|
@supports (font-variation-settings: normal) { font-variation-settings: 'wght' $font-bold, 'slnt' 0; }
|
35
35
|
font-weight: $font-bold !important;
|
@@ -37,7 +37,7 @@ body {
|
|
37
37
|
}
|
38
38
|
@media (max-width: 750px) { font-size: 72px; }
|
39
39
|
|
40
|
-
p { margin: 1em 0; }
|
40
|
+
p, h1, h2, h3, h4, h5, h6 { margin: 1em 0; }
|
41
41
|
h1 {
|
42
42
|
font-size: 48px;
|
43
43
|
@supports (font-variation-settings: normal) { font-variation-settings: "wght" $font-bold, 'slnt' 0; }
|
@@ -76,13 +76,15 @@ strong {
|
|
76
76
|
}
|
77
77
|
|
78
78
|
// Code blocks
|
79
|
-
.highlight, code
|
79
|
+
.highlight, code {
|
80
80
|
@supports (font-variation-settings: normal) { font-family: $codeFont-var; }
|
81
81
|
font-family: $codeFont;
|
82
82
|
background: $LIGHTcodebgColour;
|
83
83
|
color: $LIGHTcodeColour;
|
84
84
|
padding: .5vh 1vh .5vh 1vh;
|
85
|
+
overflow-x: auto;
|
85
86
|
}
|
87
|
+
.highlighter-rouge { margin: 1em auto; }
|
86
88
|
code { padding: .25vh .5vh .25vh .5vh; }
|
87
89
|
|
88
90
|
// Navigation
|
@@ -166,17 +168,24 @@ nav {
|
|
166
168
|
|
167
169
|
p, b {
|
168
170
|
flex: 0 0 auto;
|
169
|
-
margin: auto 16px;
|
170
171
|
display: flex;
|
171
172
|
justify-content: center;
|
172
173
|
|
173
174
|
font-size: 80px;
|
174
175
|
letter-spacing: -.05em;
|
175
|
-
@supports (font-variation-settings: normal) { font-variation-settings: 'wght' $font-regular, 'slnt' 0; }
|
176
|
-
font-weight: $font-regular;
|
177
176
|
line-height: 1.1;
|
178
177
|
white-space: nowrap;
|
179
178
|
}
|
179
|
+
p {
|
180
|
+
@supports (font-variation-settings: normal) { font-variation-settings: 'wght' $font-regular, 'slnt' 0; }
|
181
|
+
font-weight: $font-regular;
|
182
|
+
margin: auto 16px;
|
183
|
+
}
|
184
|
+
b {
|
185
|
+
margin-left: 10px;
|
186
|
+
@supports (font-variation-settings: normal) { font-variation-settings: 'wght' $font-bold, 'slnt' 0; }
|
187
|
+
font-weight: $font-bold;
|
188
|
+
}
|
180
189
|
}
|
181
190
|
|
182
191
|
// Footer
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nano-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- doamatto
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-07-
|
11
|
+
date: 2020-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|