jekyll-theme-open-project 1.1.13 → 1.1.15

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: d4892c08dafd633c9039588e4b48df58f0741070aa932a89ac4403d3e453b002
4
- data.tar.gz: 92891e05c9cdc91f1426baae0aff92fd1070d9374efbf0f64e336b5dc982ca93
3
+ metadata.gz: 96f1afede715ecdb0ceb89e859a4ee8b494bd5d2d52c59abcf79a471a5e43e97
4
+ data.tar.gz: b82b6f2949e56402884b4638148e76b026f34856b1a278efc2de6293cf4f0ff6
5
5
  SHA512:
6
- metadata.gz: 7de0e6e5e569763d21f759626b737bafa253513b3693d06a9238b3ed13bb338dd757a16dbe955aa0cd6fea39164e21bd3aba3da71db3c8a9ff6a0dd409dc13a8
7
- data.tar.gz: 6fb677b5f369b694afe4de79affb0e56575d29e7f0bc3c02744e4aaf3403e0f6e9cd76367d38edc6e14f347907fea17a57bdb38c43534095a024ff448fba845b
6
+ metadata.gz: eedd9606efcfe5e82f442f5b57ffa420cfe3be49882e58445843b30d779a6b65d02ea72d25bb420515f667cf65644e100865de1383f638cdd4161960e899b854
7
+ data.tar.gz: 35a20a24524e5a507c9207fdef6fcd57ea0fac5437ca946ebac3588452902f42c3dc6598a1dec742bd8b5d56e44c56630523fe15b1c629eabac4b433c71fbd45
@@ -219,9 +219,14 @@ main {
219
219
  > article {
220
220
  @extend .main-article;
221
221
 
222
- > header > .meta {
223
- @extend .post-meta-row;
224
- margin-bottom: 36px;
222
+ > header {
223
+ > .title {
224
+ margin-bottom: 14px;
225
+ }
226
+ > .meta {
227
+ @extend .post-meta-row;
228
+ margin-bottom: 36px;
229
+ }
225
230
  }
226
231
  aside.social-links {
227
232
  position: relative;
@@ -12,6 +12,10 @@ body {
12
12
  color: $main-font-color;
13
13
  }
14
14
 
15
+ abbr {
16
+ cursor: help;
17
+ }
18
+
15
19
  a {
16
20
  &:link, &:hover, &:visited {
17
21
  color: $primary-dark-color;
@@ -229,6 +233,7 @@ a {
229
233
 
230
234
  display: inline-block;
231
235
  vertical-align: middle;
236
+
232
237
  img {
233
238
  vertical-align: middle;
234
239
  }
@@ -281,7 +286,7 @@ a {
281
286
  .title {
282
287
  font-size: 36px;
283
288
  font-weight: 600;
284
- margin-bottom: 14px;
289
+ margin-bottom: 36px;
285
290
  }
286
291
  }
287
292
  .body {
@@ -298,6 +303,25 @@ a {
298
303
  pre {
299
304
  @include code-snippet-container();
300
305
  }
306
+
307
+ table {
308
+ $border-color: lighten($main-font-color, 80);
309
+
310
+ border-collapse: collapse;
311
+ width: 100%;
312
+ margin-bottom: 1em;
313
+
314
+ th, td {
315
+ text-align: left;
316
+ padding: .5em;
317
+ }
318
+ tr {
319
+ border-bottom: 1px solid $border-color;
320
+ &:last-child {
321
+ border-bottom-width: 0;
322
+ }
323
+ }
324
+ }
301
325
  }
302
326
  }
303
327
 
@@ -2,27 +2,66 @@
2
2
  // TODO: Refactor disabled item doc navigation links with this mixin in mind
3
3
 
4
4
  position: relative;
5
+ padding: 0 .3em;
6
+ border: 1px dashed lighten($main-font-color, 70);
5
7
 
6
8
  &:after {
7
9
  position: absolute;
8
10
  left: 100%;
9
11
  content: "TBD";
10
- color: $color;
12
+ color: lighten($main-font-color, 70);
11
13
  font-size: .6em;
12
- vertical-align: super;
14
+ line-height: 1;
15
+ padding: .05em .4em;
13
16
  }
14
17
  }
15
18
 
19
+ @mixin padded-code-snippet() {
20
+ padding: 0 1em;
21
+ margin: 0 .2em;
22
+ background: rgba($main-font-color, 0.03);
23
+ border: 1px dashed lighten($main-font-color, 70);
24
+ border-radius: .5em;
25
+ font-size: 80%;
26
+ }
27
+
28
+ @mixin padded-code-snippet--reset() {
29
+ padding: 0;
30
+ margin: 0;
31
+ background: transparent;
32
+ border: 0;
33
+ border-radius: 0;
34
+ font-size: 100%;
35
+ }
36
+
16
37
  @mixin code-snippet-container() {
17
38
  overflow-x: scroll;
18
39
  overflow-y: hidden;
19
40
  line-height: 1.2;
41
+
42
+ @include padded-code-snippet();
43
+ padding-top: .5em;
44
+ padding-bottom: .75em;
45
+
46
+ > code {
47
+ // Reset these for <code> elements when nested in a <pre>
48
+ // like adoc does
49
+ @include padded-code-snippet--reset();
50
+ }
20
51
  }
21
52
 
22
53
  @mixin code-snippet() {
23
54
  white-space: pre-wrap;
24
55
  color: lighten($main-font-color, 24);
25
- font-size: 80%;
56
+
57
+ @include padded-code-snippet();
58
+ margin-top: -1px;
59
+ margin-bottom: -1px;
60
+
61
+ code {
62
+ // Apparently adoc outputs nested <code> sometimes (?)
63
+ @include padded-code-snippet--reset();
64
+ }
26
65
  }
27
66
 
28
67
  @mixin cta-button($bgcolor, $color) {
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.1.13
4
+ version: 1.1.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-02 00:00:00.000000000 Z
11
+ date: 2018-10-07 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.1.13
75
+ version: 1.1.15
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.1.13
82
+ version: 1.1.15
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: bundler
85
85
  requirement: !ruby/object:Gem::Requirement