paraqeet 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/_sass/_prose.scss +75 -0
  3. metadata +2 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 33cf1b78b882113a17298b268eebe49c43dc2c8e81a990e0620b4cceb9c95f16
4
- data.tar.gz: e965410a1b337ff6f1bb3af58ca92ee307c66b03cf515d23d22c2ac9bbcc6ece
3
+ metadata.gz: d29388a2976f27d75ea56fe8bc0f17ee245ba5f3447f85ecdca63aeaead05523
4
+ data.tar.gz: e89fd92d4ccd0d8a199a6012fbaeaaf98c05b8a5400fc8f01871e9ac6540161e
5
5
  SHA512:
6
- metadata.gz: 99dbd70d6f09aa44b2995b04a67d7d773345b66b097bae438e4acdaa8d827e36aba5d677c212ca1bf98ff1d288251a1ce2039057b03dcd1fc9e48913f20093eb
7
- data.tar.gz: 3526edf9c29ae891dca6bc69e3e66fc419c2a37e8f1d967c5508fa4a21085d135ca54f2a1472d55b5885791d67f2f6fd209332c71130d0c5d32ff70c40ab1545
6
+ metadata.gz: 18d9101b0b20b080c5e60e69bdb70b7411d05af16e0ef4aaa66d766579e26d6a3ace9824b2566c59be1a2504924faf2844eac440c82450d2998c45392702c154
7
+ data.tar.gz: b7f735e411de4c12f5de255bff4e546ec351b95cac84b89ebbd783edce3e8d399e41360a76b003bb05997f316a9ee03a81cb3c8ad5b78ae1a4e0ebb477434755
data/_sass/_prose.scss ADDED
@@ -0,0 +1,75 @@
1
+ .prose {
2
+
3
+ // Abbreviations
4
+ abbr {
5
+ @include font-size($initialism-font-size);
6
+ text-transform: uppercase;
7
+ }
8
+
9
+ // Blockquotes
10
+ blockquote {
11
+ margin-bottom: $blockquote-margin-y;
12
+ @include font-size($blockquote-font-size);
13
+
14
+ > :last-child {
15
+ margin-bottom: 0;
16
+ }
17
+
18
+ figcaption {
19
+ margin-top: -$blockquote-margin-y;
20
+ margin-bottom: $blockquote-margin-y;
21
+ @include font-size($blockquote-footer-font-size);
22
+ color: $blockquote-footer-color;
23
+
24
+ &::before {
25
+ content: "\2014\00A0";
26
+ }
27
+ }
28
+ }
29
+
30
+ // Figures
31
+ figure {
32
+ display: inline-block;
33
+
34
+ figcaption {
35
+ @include font-size($figure-caption-font-size);
36
+ color: $figure-caption-color;
37
+ }
38
+
39
+ img {
40
+ margin-bottom: $spacer * .5;
41
+ line-height: 1;
42
+ @include img-fluid();
43
+ }
44
+ }
45
+
46
+ // Images
47
+ img {
48
+ @include img-fluid();
49
+ }
50
+
51
+ // Tables
52
+ table {
53
+ width: 100%;
54
+ margin-bottom: $spacer;
55
+ color: var(--#{$prefix}table-color);
56
+ vertical-align: $table-cell-vertical-align;
57
+ border-color: var(--#{$prefix}table-border-color);
58
+
59
+ > :not(caption) > * > * {
60
+ padding: $table-cell-padding-y $table-cell-padding-x;
61
+ background-color: var(--#{$prefix}table-bg);
62
+ border-bottom-width: $table-border-width;
63
+ box-shadow: inset 0 0 0 9999px var(--#{$prefix}table-accent-bg);
64
+ }
65
+
66
+ > tbody {
67
+ vertical-align: inherit;
68
+ }
69
+
70
+ > thead {
71
+ vertical-align: bottom;
72
+ }
73
+ }
74
+
75
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paraqeet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Love
@@ -45,6 +45,7 @@ files:
45
45
  - _layouts/post.html
46
46
  - _sass/_bootstrap-icons.scss
47
47
  - _sass/_highlight.scss
48
+ - _sass/_prose.scss
48
49
  - _sass/_variables.scss
49
50
  - _sass/bootstrap/_accordion.scss
50
51
  - _sass/bootstrap/_alert.scss