typographical 1.0.10 → 1.1.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bb019d36be5124c3d983030b35d5bfd7c60e1b831e9ee1941dea31813c5aea5e
4
- data.tar.gz: '090ff04ee422687fd3894ba4f31c6a1625ef48a62eaee9fb62128c2f4fc5ed7a'
3
+ metadata.gz: 2f5afcedae092f30379cc646af930ee8e87c47783401dd31d4feee63d00019d4
4
+ data.tar.gz: bb43a2db78e185efe09176dde85e366c5b32af39e668b79cbc8191b1ac50fd7f
5
5
  SHA512:
6
- metadata.gz: 6cb7ea75e86d40bd8de698094dbb27f53c55a5aac460016b4be7badc019c02fedab13ada752da678b04a771950f546026f03c842e1fdc30ab46a4dc841219795
7
- data.tar.gz: 7982436fea4adca34e83ec923826ae2d53e354c7cbb93cf9c91fe5829e1d9df9d88096600df61f2a0583b5522ad61cc1165e1578e0d037654a28a09507cc34ea
6
+ metadata.gz: 33f1175209b47b532a8ffcc882f2648dd3cc534710ce7a8b455461c74eaf7afb7e373330b9cbbb9e8277c914f7c5fd189aa77a599c99af3d60e00f8b5edba1e2
7
+ data.tar.gz: d582e5254fc02b87c02bab85661e27d7bbf228da602879cb8932faa1a3b61b1fa4cf3b2e6c370d1eeae0a633d36f8b3d3c06a13afcef87f80f0451e7602350f3
@@ -16,10 +16,6 @@ html {
16
16
  overflow-y: scroll;
17
17
 
18
18
  font-size: $base-font-size;
19
-
20
- @media (min-width: 90em) {
21
- font-size: 1.15 * $base-font-size;
22
- }
23
19
  }
24
20
 
25
21
  body {
@@ -48,7 +48,7 @@ input:focus, textarea:focus {
48
48
  }
49
49
 
50
50
  .post > p:first-of-type::first-line {
51
- font-family: "Alegreya SC";
51
+ font-family: $sc-font;
52
52
  text-transform: lowercase;
53
53
  letter-spacing: 0.01em;
54
54
  }
@@ -67,11 +67,23 @@ input:focus, textarea:focus {
67
67
  margin-bottom: 3rem;
68
68
  }
69
69
 
70
- .relatedposts ul li {
70
+ .relatedposts ul li, .post ul li {
71
71
  font-size: $base-font-size;
72
72
  list-style-type: square;
73
73
  }
74
74
 
75
+ .post ul#markdown-toc {
76
+ color: $accent-color;
77
+ li a {
78
+ color: $default-color;
79
+ background: none;
80
+
81
+ &:hover {
82
+ text-decoration: none;
83
+ }
84
+ }
85
+ }
86
+
75
87
  .relatedposts {
76
88
  margin: 2.5em 0;
77
89
  }
@@ -142,7 +154,7 @@ footer, .share-bar, .nav-container { /* Disable selection of some elements */
142
154
  }
143
155
 
144
156
  .post blockquote p {
145
- font-size: 1.1em;
157
+ font-size: 0.9 * $base-font-size;
146
158
  }
147
159
 
148
160
  .post li {
@@ -171,6 +183,14 @@ footer, .share-bar, .nav-container { /* Disable selection of some elements */
171
183
  }
172
184
  }
173
185
 
186
+ // for HiDPI screens
187
+
188
+ @media (min-width: 90em) {
189
+ html {
190
+ font-size: 1.2 * $base-font-size;
191
+ }
192
+ }
193
+
174
194
  // sub-heading adjustments
175
195
 
176
196
  .post h2 {
@@ -10,7 +10,7 @@ $blue: #4a9ae1;
10
10
  $shadow-color: rgba(0, 0, 0, .2);
11
11
  $code-color: #bf616a;
12
12
  $accent-color: #ffd900;
13
- $base-font-size: 1.2em;
13
+ $base-font-size: 1.2rem;
14
14
 
15
15
  // Fonts
16
16
  $serif-primary: Alegreya, 'Times New Roman', Times, serif;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: typographical
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.10
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ram Iyer