krad 3.7.1 → 3.7.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d0f6b829509bcba8b7a6b219ca4ada89440990c1
4
- data.tar.gz: 08288f0a5e837c45bd914a2b4e4e597a86d3dbbe
3
+ metadata.gz: 03b0aab497dd9981cb7f8495ab42eaa4b80dbe09
4
+ data.tar.gz: dfc213c65f420623b37269ca5bee7b053088e436
5
5
  SHA512:
6
- metadata.gz: 78ff34a3871b796329a755aac023bdb3b84d7284077e22aa7ab679f97f57327c9494aa76adeff916174af976af7632dbfa9e7d3cbf4e4d1c5ea4fc553a3037ab
7
- data.tar.gz: d22c7362fe4a99fe10a2214b30b9b6dc411afa3d2f266ffbc9557474989c401d0257782994d9d97fb2a88c9aa5c0a43221befc8f2ffdcba8f4c166c379124ea1
6
+ metadata.gz: 9194e03d0e7debb49443f941eb1f6837b3214d552865d542cd2226db714074b4bc0d64bebdc029875f1b141e38276c904a65e16feee16009463b2cec65070787
7
+ data.tar.gz: 4b91c90db09be4fbe44fe780d39977abaa1dfebe3085f8aec78881f75e467b0bcf4b18bccc94007c1a1772aceb056b717f79b82e6e3fde04497d3de8f1e40750
@@ -154,9 +154,13 @@ kbd {
154
154
 
155
155
  /* Blockquote */
156
156
  blockquote {
157
- padding: 1rem 1.5rem;
158
- margin: 0px 0px 1rem;
159
- border-left: .6rem solid $color-gray-milk;
157
+ padding: 0.5rem 1.5rem;
158
+ margin: 0px 0px 1.5rem;
159
+ border-left: .4rem solid $color-gray-milk;
160
+
161
+ p {
162
+ margin-bottom: 1rem;
163
+ }
160
164
 
161
165
  footer {
162
166
  color: $color-gray-light;
@@ -172,6 +176,67 @@ blockquote {
172
176
  }
173
177
  }
174
178
 
179
+ .pullquote {
180
+ position: relative;
181
+ border: none;
182
+ color: $color-gray-light;
183
+ text-align: center;
184
+ margin-bottom: 1.6rem;
185
+
186
+ p {
187
+ font-size: $font-size-big;
188
+ margin-bottom: 1rem;
189
+ }
190
+
191
+ cite {
192
+ &:before {
193
+ content: '—';
194
+ }
195
+ }
196
+
197
+ &:before {
198
+ content: '\201C';
199
+ position: absolute;
200
+ top: 0;
201
+ left: 0;
202
+ z-index: -9;
203
+ color: $color-gray-milk;
204
+ font-size: $font-size-blockquote-mark;
205
+ line-height: 1;
206
+ }
207
+ }
208
+
209
+ @media (min-width: 65em) {
210
+ .pullquote {
211
+ &.pq-left, &.pq-right {
212
+ display: block;
213
+ max-width: 40%;
214
+ padding-top: 0;
215
+ font-style: italic;
216
+ &:before { top: -1.5rem };
217
+ }
218
+ &.pq-left {
219
+ float: left;
220
+ text-align: right;
221
+ margin-left: -7em;
222
+ }
223
+ &.pq-right {
224
+ float: right;
225
+ text-align: left;
226
+ margin-right: -7em;
227
+ }
228
+
229
+ &.pq-expand {
230
+ margin-left: -5em;
231
+ margin-right: -5em;
232
+ &:before {
233
+ font-size: 12rem;
234
+ top: -0.5rem;
235
+ }
236
+ }
237
+ }
238
+ }
239
+
175
240
  /* Text formats */
176
241
  small {
177
242
  font-size: 75%;
@@ -28,4 +28,18 @@ blockquote {
28
28
  content: '\2014 \00A0';
29
29
  }
30
30
  }
31
+ }
32
+
33
+ .pullquote {
34
+ border: none;
35
+ color: $color-gray-light;
36
+ text-align: center;
37
+
38
+ p {
39
+ font-size: $font-size-big;
40
+ }
41
+
42
+ &:before {
43
+ content: '”';
44
+ }
31
45
  }
@@ -26,7 +26,7 @@ figcaption + img {
26
26
  text-align: center;
27
27
  }
28
28
 
29
- @media (min-width: 62em) {
29
+ @media (min-width: 65em) {
30
30
  .img-expand {
31
31
  text-align: center;
32
32
  margin-left: -7em;
@@ -8,7 +8,7 @@ $font-size-big: 1.125rem;
8
8
  $font-size-bigger: 1.3rem;
9
9
  $font-size-small: 0.875rem;
10
10
  $font-size-smaller: 0.7rem;
11
- $font-size-blockquote-mark: 4rem;
11
+ $font-size-blockquote-mark: 9rem;
12
12
 
13
13
  $font-ultra-bold: 900;
14
14
  $font-extra-bold: 800;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: krad
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.1
4
+ version: 3.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lê Thanh Tùng
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-17 00:00:00.000000000 Z
11
+ date: 2018-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll