jekyll-theme-open-project 1.3.1 → 1.3.2

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: '0530758261382737889843301cec1a316937e4fa933a2f13672a7222beb68edd'
4
- data.tar.gz: 2fa76e9901405742545e594f0ab0375182756fe9e78a6d9accdf953f7a3469f8
3
+ metadata.gz: 8608002e01dbaffe87459f51a885499eff114e33fccb31ed0c4010fdb5de4d8b
4
+ data.tar.gz: e4d13df9ca1f79fc48f592f6af5380fd9cdf451a4af45499597dd17784a2fcf8
5
5
  SHA512:
6
- metadata.gz: b6bdb86467beebbafc2010e15529aff7ae452f260eacd09c8b8142111c37a4c1d3b2fcb813e90e0a835c87e4392d5191f404fffbf38d1657a40e490d96b1a3a2
7
- data.tar.gz: 7cb68bb9b3320e538a5993a43b2244cbe65dcb2d4193ad423520fd23dadaf700a6998ca81bb19f7cfc577ff54594bd081b00c2485d4589f8909b2f12fd34c40e
6
+ metadata.gz: 513d131fe32fd8c31465ee4900e48bf6de832696ef6ec28bff6e9df51df96bcec999b08850c542958083339641af6db7a7fc02af5a01771fc291c4ce2b1da389
7
+ data.tar.gz: 47c79fd29cf58382bd0dd11436c8eeecd9536cbf5d306a1928fa3a2ff5d46ed1953e45c6d95e701406781c38ebb63da89e16e8b748c368bf862a93c03696ab10
@@ -2,6 +2,9 @@ $font-family: Helvetica, Arial, sans-serif !default;
2
2
 
3
3
  $main-font-color: #000;
4
4
 
5
+ $code-listing-background-color: rgba($main-font-color, 0.03);
6
+ $code-listing-border-color: lighten($main-font-color, 70);
7
+
5
8
  $primary-color: lightblue !default;
6
9
  $primary-dark-color: navy !default;
7
10
  $accent-color: red !default;
@@ -27,9 +27,9 @@
27
27
  @mixin padded-code-snippet() {
28
28
  padding: 0 .75em;
29
29
  margin: 0 .2em;
30
- background: rgba($main-font-color, 0.03);
30
+ background: $code-listing-background-color;
31
31
 
32
- border: 1px dashed lighten($main-font-color, 70);
32
+ border: 1px dashed $code-listing-border-color;
33
33
  border-radius: .25em;
34
34
 
35
35
  font-size: 15px;
@@ -140,18 +140,9 @@
140
140
  }
141
141
 
142
142
  @mixin asciidoc-markup($highlight-color) {
143
- // Used for e.g. code listing headings and tip block labels
144
- .title {
145
- text-transform: uppercase;
146
- font-size: 12px;
147
- border-radius: .25em;
148
- background-color: $highlight-color;
149
- color: white;
150
- font-weight: bold;
151
- padding: .3em .6em;
152
- }
153
143
 
154
144
  h1, h2, h3, h4, h5, h6 {
145
+ // Header highlight when in-page navigation links are used
155
146
  &.highlighted {
156
147
  &:before {
157
148
  content: "→";
@@ -160,6 +151,7 @@
160
151
  }
161
152
  }
162
153
 
154
+ // Callouts
163
155
  .conum {
164
156
  color: $primary-dark-color;
165
157
  font-family: $font-family;
@@ -170,7 +162,6 @@
170
162
  opacity: 1;
171
163
  }
172
164
  }
173
-
174
165
  .colist {
175
166
  ol {
176
167
  list-style: none;
@@ -208,7 +199,50 @@
208
199
  }
209
200
  }
210
201
 
211
- // Used for tip block labels
202
+ // Generic title
203
+ // Used for e.g. code listing headings and tip block labels
204
+ .title {
205
+ text-transform: uppercase;
206
+ font-size: 12px;
207
+ border-radius: .25em;
208
+ background-color: $main-font-color;
209
+ color: white;
210
+ font-weight: bold;
211
+ padding: .3em .6em;
212
+ }
213
+
214
+ // Blocks
215
+ .imageblock {
216
+ .title {
217
+ background-color: $accent-color;
218
+ color: white;
219
+ }
220
+ }
221
+
222
+ .listingblock {
223
+ display: flex;
224
+ flex-flow: column nowrap;
225
+
226
+ .title {
227
+ align-self: flex-start;
228
+ background-color: $code-listing-border-color;
229
+ color: white;
230
+ border-radius: 0;
231
+ }
232
+
233
+ .content {
234
+ align-self: stretch;
235
+
236
+ pre {
237
+ margin: 0;
238
+ }
239
+ }
240
+ }
241
+
242
+ .admonitionblock {
243
+ margin: 1em 0;
244
+ }
245
+
212
246
  .admonitionblock {
213
247
  overflow-x: scroll;
214
248
  padding-left: .5em;
@@ -227,6 +261,11 @@
227
261
  font-size: 90%;
228
262
  }
229
263
 
264
+ .title {
265
+ background-color: $primary-dark-color;
266
+ color: white;
267
+ }
268
+
230
269
  .content {
231
270
  font-size: 90%;
232
271
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-open-project
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-13 00:00:00.000000000 Z
11
+ date: 2019-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: 1.3.1
75
+ version: 1.3.2
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: 1.3.1
82
+ version: 1.3.2
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: bundler
85
85
  requirement: !ruby/object:Gem::Requirement