jekyll-theme-open-project 1.1.15 → 1.1.16

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
  SHA256:
3
- metadata.gz: 96f1afede715ecdb0ceb89e859a4ee8b494bd5d2d52c59abcf79a471a5e43e97
4
- data.tar.gz: b82b6f2949e56402884b4638148e76b026f34856b1a278efc2de6293cf4f0ff6
3
+ metadata.gz: 0a1320100ae5a96e549bdb9b421a9af5d93dbb67ea5790128c1541a5a41faca8
4
+ data.tar.gz: 73c8a7110c32350b2cf31624678403db40dfe56d465d683fed8929168b91502b
5
5
  SHA512:
6
- metadata.gz: eedd9606efcfe5e82f442f5b57ffa420cfe3be49882e58445843b30d779a6b65d02ea72d25bb420515f667cf65644e100865de1383f638cdd4161960e899b854
7
- data.tar.gz: 35a20a24524e5a507c9207fdef6fcd57ea0fac5437ca946ebac3588452902f42c3dc6598a1dec742bd8b5d56e44c56630523fe15b1c629eabac4b433c71fbd45
6
+ metadata.gz: 5f47aa19b2424cc73734edbab536b2f00c0861522b4240da126a03bf9e102e4c4db43f71a691090bde6a0824fe3d47c038fd95a826744872c91f32e4f16bbbc6
7
+ data.tar.gz: fb71ddf8e0e7517c2d4a230c1fec18416ca224c3e122ab91746eaa965254a66b69e2f33d759791a23888154e037d27adf274eec5bbb3821be1448c306e0549d7
@@ -300,15 +300,25 @@ a {
300
300
  code {
301
301
  @include code-snippet();
302
302
  }
303
+
303
304
  pre {
304
305
  @include code-snippet-container();
305
306
  }
306
307
 
308
+ ul, ol {
309
+ li > p:only-child {
310
+ // Keep list items visually together
311
+ margin: 0;
312
+ }
313
+ }
314
+
307
315
  table {
308
316
  $border-color: lighten($main-font-color, 80);
309
317
 
310
318
  border-collapse: collapse;
311
319
  width: 100%;
320
+
321
+ margin-top: 1em;
312
322
  margin-bottom: 1em;
313
323
 
314
324
  th, td {
@@ -43,9 +43,12 @@
43
43
  padding-top: .5em;
44
44
  padding-bottom: .75em;
45
45
 
46
+ margin-top: 1em;
47
+ margin-bottom: 1em;
48
+
46
49
  > code {
47
- // Reset these for <code> elements when nested in a <pre>
48
- // like adoc does
50
+ // Avoid bad formatting in case of <code> element nested
51
+ // inside a <pre>
49
52
  @include padded-code-snippet--reset();
50
53
  }
51
54
  }
@@ -59,7 +62,8 @@
59
62
  margin-bottom: -1px;
60
63
 
61
64
  code {
62
- // Apparently adoc outputs nested <code> sometimes (?)
65
+ // Avoid bad formatting in case of <code> elements nested
66
+ // into each other (possible with adoc output)
63
67
  @include padded-code-snippet--reset();
64
68
  }
65
69
  }
@@ -292,15 +296,18 @@
292
296
  .title {
293
297
  text-transform: uppercase;
294
298
  font-size: 12px;
299
+ border-radius: .25em;
300
+ background-color: $primary-dark-color;
301
+ color: white;
302
+ font-weight: bold;
303
+ padding: .3em .6em;
295
304
  }
296
305
 
297
306
  // Used for tip block labels
298
307
  .admonitionblock {
299
- .icon {
300
- border-left: 1px dotted grey;
301
- > .title {
302
- transform: rotate(-90deg);
303
- }
308
+ td.icon {
309
+ vertical-align: top;
310
+ padding-left: 0;
304
311
  }
305
312
  .content {
306
313
  font-size: 80%;
@@ -315,6 +322,9 @@
315
322
  margin-bottom: 0;
316
323
  }
317
324
  &.ulist {
325
+ li:first-child > :first-child {
326
+ margin-top: 0;
327
+ }
318
328
  li:last-child > :last-child {
319
329
  margin-bottom: 0;
320
330
  }
@@ -337,6 +347,10 @@
337
347
  }
338
348
  }
339
349
 
350
+ > .nav-sidebar {
351
+ padding-top: 0;
352
+ }
353
+
340
354
  > article {
341
355
  max-width: none;
342
356
 
@@ -354,6 +368,7 @@
354
368
  flex: 1;
355
369
  flex-grow: 1;
356
370
  padding-top: 70px;
371
+
357
372
  > section > .section-items {
358
373
  padding-right: 40px;
359
374
  }
@@ -391,6 +406,12 @@
391
406
  > .body {
392
407
  margin-left: 0;
393
408
  }
409
+
410
+ @media screen and (min-width: $bigscreen-breakpoint) {
411
+ > .body {
412
+ padding-top: 70px;
413
+ }
414
+ }
394
415
  }
395
416
  }
396
417
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-open-project
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.15
4
+ version: 1.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: 1.1.15
75
+ version: 1.1.16
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.15
82
+ version: 1.1.16
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: bundler
85
85
  requirement: !ruby/object:Gem::Requirement