paraqeet 0.5.0 → 0.6.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: 498870ed6c0ad4a5c2b6a7c7f9939ccfa065c2f912cf467e66a2ce5791b9899d
4
- data.tar.gz: 5fe4bcc5a3b1a69e240463199466b663cb959f58ab576ad74a1ae40001335c3b
3
+ metadata.gz: 2c419dc7ebb258122f33910f4735ade965436f5b29e14c2f26e35575906beaca
4
+ data.tar.gz: 2b962127ce0e8cc4da8fe57017170f72745addcceefa4f50e0f2f445e07b59f6
5
5
  SHA512:
6
- metadata.gz: efd1d3c42191aec49d3405b541f09d1db946a20b79e89d391a37ef13923da9ade5b9591b311cf247645564c233bc7a5176c7c4ba91631e1504886b3205fac155
7
- data.tar.gz: ac49135163f576500bdc1761f98c8534746a0bc2d53bc6314586d822f8c5c406d9c35568a1f50fe5212cc5a628b815a36cad963bde30ae438d81e35dfb48ed17
6
+ metadata.gz: 399b78b06d5b408bbbf341157477c46f9d0a794d2fb19b3538035f36af040feff9e1a48f7eb584fd20656ebc1e4bb00f721793704d209bf2df3499e5a50c2650
7
+ data.tar.gz: d88edbabddea8c734be7541dfebc6d56cf198dab30b2c43642d192c70199b2b6998ac1502ce86bef7fb8da7529f2b02602edf5efc740c51e39e9b663389365bb
@@ -1,14 +1,25 @@
1
+ {%- assign title = site.title | escape -%}
2
+ {%- if page.title -%}
3
+ {%- capture title -%}{{ page.title | escape }} | {{ site.title | escape }}{%- endcapture -%}
4
+ {%- endif -%}
5
+
6
+ {%- assign description = site.description | escape -%}
7
+ {%- if page.description -%}
8
+ {%- assign description = page.description | escape -%}
9
+ {%- endif -%}
10
+
1
11
  <!doctype html>
2
12
  <html lang="en">
3
13
  <head>
4
14
  <meta charset="utf-8">
5
15
  <meta name="viewport" content="width=device-width, initial-scale=1">
6
- <link rel="icon" href="{{ '/favicon.ico' | relative_url }}">
7
- <link rel="stylesheet" href="{{ '/assets/css/style.css' | relative_url }}">
8
- <title>{{ site.title }}</title>
16
+ <meta name="description" content="{{- description -}}">
17
+ <link rel="icon" href="{{- '/favicon.ico' | relative_url -}}">
18
+ <link rel="stylesheet" href="{{- '/assets/css/style.css' | relative_url -}}">
19
+ <title>{{- title -}}</title>
9
20
  </head>
10
21
  <body>
11
22
  {{ content }}
12
- <script src="{{ '/assets/js/bootstrap.bundle.min.js' | relative_url }}"></script>
23
+ <script src="{{- '/assets/js/bootstrap.bundle.min.js' | relative_url -}}"></script>
13
24
  </body>
14
25
  </html>
@@ -1,5 +1,7 @@
1
1
  .highlight {
2
2
 
3
+ width: 100%;
4
+
3
5
  * {
4
6
  font-size: $font-size-sm;
5
7
  }
@@ -15,21 +17,6 @@
15
17
  color: $pre-color;
16
18
  }
17
19
 
18
- table,
19
- thead,
20
- tbody,
21
- tr,
22
- th,
23
- td {
24
- margin: 0 !important;
25
- padding: 0 !important;
26
- color: $pre-color !important;
27
- vertical-align: middle !important;
28
- border: none !important;
29
- background-color: transparent !important;
30
- box-shadow: none !important;
31
- }
32
-
33
20
  td {
34
21
 
35
22
  pre {
data/_sass/_prose.scss CHANGED
@@ -8,6 +8,10 @@
8
8
 
9
9
  // Blockquotes
10
10
  blockquote {
11
+ border-left: map-get($border-widths, 4) $border-style $border-color;
12
+ padding-left: $spacer;
13
+ font-style: italic;
14
+
11
15
  margin-bottom: $blockquote-margin-y;
12
16
  @include font-size($blockquote-font-size);
13
17
 
@@ -48,10 +52,17 @@
48
52
  @include img-fluid();
49
53
  }
50
54
 
55
+ pre:not(.highlight pre) {
56
+ background: $light;
57
+ margin-bottom: 0 0 map-get($spacers, 4) 0;
58
+ padding: $spacer;
59
+ color: $pre-color;
60
+ }
61
+
51
62
  // Tables
52
- table {
63
+ table:not(.highlight table) {
53
64
  width: 100%;
54
- margin-bottom: $spacer;
65
+ margin-bottom: map-get($spacers, 4);
55
66
  color: var(--#{$prefix}table-color);
56
67
  vertical-align: $table-cell-vertical-align;
57
68
  border-color: var(--#{$prefix}table-border-color);
@@ -72,4 +83,23 @@
72
83
  }
73
84
  }
74
85
 
86
+ // Blocks
87
+ .highlight,
88
+ address,
89
+ dl,
90
+ form,
91
+ h1,
92
+ h2,
93
+ h3,
94
+ h4,
95
+ h5,
96
+ ol:not(li ol),
97
+ ul:not(li ul) {
98
+ margin-bottom: map-get($spacers, 4);
99
+ }
100
+
101
+ hr {
102
+ margin: map-get($spacers, 5) 0;
103
+ }
104
+
75
105
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paraqeet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Love
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-07 00:00:00.000000000 Z
11
+ date: 2022-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll