typographical 1.0.9 → 1.0.10

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: '08f72aa0f3013f9dafcda161851ffc66fa75d1c33332e0f33cc29a0c35cc646e'
4
- data.tar.gz: 0e4c71f83b0dc0e88385f5f499606d3907f65877c4648405c5bd772cadd52f06
3
+ metadata.gz: bb019d36be5124c3d983030b35d5bfd7c60e1b831e9ee1941dea31813c5aea5e
4
+ data.tar.gz: '090ff04ee422687fd3894ba4f31c6a1625ef48a62eaee9fb62128c2f4fc5ed7a'
5
5
  SHA512:
6
- metadata.gz: 96c1343f63e0b71e1cf1242f4643ceba499f6d7d09aa7508ca8cdc6345f7ac1d6552634292c3408439a127a96de0127e182d80c4a0bb0950e29135c159911715
7
- data.tar.gz: 6f0d40598dd381a6a1eebd7e48086524dc82d6b9743de36ea0c3967e324caa153890e23033a51b715738206990146d379a5e65946546a7a6ea51739a3cab5870
6
+ metadata.gz: 6cb7ea75e86d40bd8de698094dbb27f53c55a5aac460016b4be7badc019c02fedab13ada752da678b04a771950f546026f03c842e1fdc30ab46a4dc841219795
7
+ data.tar.gz: 7982436fea4adca34e83ec923826ae2d53e354c7cbb93cf9c91fe5829e1d9df9d88096600df61f2a0583b5522ad61cc1165e1578e0d037654a28a09507cc34ea
@@ -15,8 +15,10 @@ html {
15
15
  font-size: 1rem;
16
16
  overflow-y: scroll;
17
17
 
18
- @media (min-width: 37.5em) {
19
- font-size: $base-font-size;
18
+ font-size: $base-font-size;
19
+
20
+ @media (min-width: 90em) {
21
+ font-size: 1.15 * $base-font-size;
20
22
  }
21
23
  }
22
24
 
@@ -29,10 +31,6 @@ body {
29
31
  hyphens: auto;
30
32
  }
31
33
 
32
- body p {
33
- font-size: 1.3em;
34
- }
35
-
36
34
  h1,
37
35
  h2,
38
36
  h3,
@@ -13,6 +13,10 @@
13
13
  &:last-child {
14
14
  border: 0;
15
15
  }
16
+
17
+ p {
18
+ font-size: $base-font-size;
19
+ }
16
20
  }
17
21
 
18
22
  &-time {
@@ -9,7 +9,7 @@ footer,
9
9
  .nav-container {
10
10
  display: block;
11
11
  margin: 0 auto;
12
- max-width: 50em;
12
+ max-width: 36em;
13
13
  width: 80%;
14
14
  }
15
15
 
@@ -101,7 +101,7 @@ footer {
101
101
  }
102
102
 
103
103
  .nav-container ul {
104
- font-size: 1.5em;
104
+ font-size: 1.3em;
105
105
  }
106
106
 
107
107
  .nav-container ul a {
@@ -109,7 +109,7 @@ footer {
109
109
  }
110
110
 
111
111
  .share-bar .share-buttons {
112
- font-size: 1.3em;
112
+ font-size: 1.1em;
113
113
  }
114
114
 
115
115
  .share-bar .share-buttons .fab {
@@ -142,7 +142,7 @@ footer, .share-bar, .nav-container { /* Disable selection of some elements */
142
142
  }
143
143
 
144
144
  .post blockquote p {
145
- font-size: 1.25em;
145
+ font-size: 1.1em;
146
146
  }
147
147
 
148
148
  .post li {
@@ -158,3 +158,25 @@ footer, .share-bar, .nav-container { /* Disable selection of some elements */
158
158
  letter-spacing: 0.01em;
159
159
  text-transform: lowercase;
160
160
  }
161
+
162
+ // for those little screens
163
+
164
+ @media (max-width: 37.5em) {
165
+ html {
166
+ font-size: 1.1 * $base-font-size;
167
+ }
168
+
169
+ .post-title {
170
+ font-size: 2.5em;
171
+ }
172
+ }
173
+
174
+ // sub-heading adjustments
175
+
176
+ .post h2 {
177
+ font-size: 1.7em;
178
+ }
179
+
180
+ .post h3 {
181
+ font-size: 1.4em;
182
+ }
@@ -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.3rem;
13
+ $base-font-size: 1.2em;
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.9
4
+ version: 1.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ram Iyer