jekyll-theme-open-project 1.1.10 → 1.1.11

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: 717190930a3f7b99d388795b140bc71d202d442f0d5063f133f421b3a3a80029
4
- data.tar.gz: a368ab0aa067b0e5803ff21caffd13fb49a03ad019ac3ea556f62cf183d8f331
3
+ metadata.gz: 7df51e3bbc28d2eb3cdf7e9a85e9970038774a9965ef8f08b49f5aa765959263
4
+ data.tar.gz: 4c05aa4b9fe2ea018caa95ad70b99f7577b65134cd8e7aede27f29308fd1f131
5
5
  SHA512:
6
- metadata.gz: 9b44354a546accb9bd6f2929d185d8a406e19c4c4990127f31d26efa6dd193c8f8b3a53b27eb1f38b29d0cfd6570bd8d7e3d83c020969743388debb9a412d60e
7
- data.tar.gz: 273219f453a1cf0fe75250110e1e3aa896cf491a346975bbf923f40c31f1ba9531a9255e18ee8d2790b03c10e1f64a2cc5618490adb54433473718cd01d38938
6
+ metadata.gz: 13b49ea48ae9208dedacf329a7f030ba984d19acd576ec5ba84aa1a0b93dbdceb588f688bacd443de74e9834b5e9b3890270d71fb43b9f579c79cadaf0c77fd0
7
+ data.tar.gz: e0df8c469b781cb61bb4f5423e42855e38884e71bfa01506accb18f9b68e1b75546425350e43c20d1803db4b72d6ad28b0078ae92c1e4774a054224887edd470
@@ -18,6 +18,7 @@ $hub-specs--hero-background: $hub-specs--primary-dark-color !default;
18
18
 
19
19
  $gutter: 30px;
20
20
  $featured-cols: 3;
21
+ $featured-cols-narrow: 2;
21
22
  $grid-cols: 4;
22
23
 
23
24
  $widescreen-breakpoint: 1140px + $gutter * 2;
@@ -50,7 +51,7 @@ main {
50
51
  }
51
52
 
52
53
  // Top section(s) background
53
- &:first-child {
54
+ &.top-background {
54
55
  padding-bottom: 80px;
55
56
  background-color: #F7F7F7;
56
57
 
@@ -102,8 +103,25 @@ main {
102
103
  }
103
104
 
104
105
  @media screen and (min-width: $bigscreen-breakpoint) {
106
+ box-sizing: border-box;
107
+ flex-basis: calc( 100%/#{$featured-cols-narrow} - #{$gutter} );
108
+
109
+ // Hide third element (there’re at most 3)
110
+ &:nth-child(3) {
111
+ opacity: 0;
112
+ display: none;
113
+ }
114
+ }
115
+
116
+ @media screen and (min-width: $widescreen-breakpoint) {
105
117
  box-sizing: border-box;
106
118
  flex-basis: calc( 100%/#{$featured-cols} - #{$gutter} );
119
+
120
+ // Show third element
121
+ &:nth-child(3) {
122
+ opacity: 1;
123
+ display: block;
124
+ }
107
125
  }
108
126
  }
109
127
  }
@@ -268,6 +268,10 @@ a {
268
268
  }
269
269
  }
270
270
 
271
+ .tbd {
272
+ @include tbd();
273
+ }
274
+
271
275
  .main-article {
272
276
  max-width: 750px;
273
277
 
@@ -319,15 +323,17 @@ body {
319
323
  overflow: hidden;
320
324
  }
321
325
  }
322
- @media screen and (min-width: $bigscreen-breakpoint) {
323
- body > .underlay,
324
- body > main,
325
- body > main > .underlay {
326
- display: flex;
327
- flex-flow: column nowrap;
326
+ body > .underlay,
327
+ body > main,
328
+ body > main > .underlay {
329
+ display: flex;
330
+ flex-flow: column nowrap;
331
+ @media screen and (min-width: $bigscreen-breakpoint) {
328
332
  align-items: center;
329
333
  }
330
- .underlay {
334
+ }
335
+ .underlay {
336
+ @media screen and (min-width: $bigscreen-breakpoint) {
331
337
  width: 100%;
332
338
  }
333
339
  }
@@ -101,39 +101,15 @@ body > .underlay > footer {
101
101
  margin-top: 40px;
102
102
 
103
103
  .button {
104
- font-weight: 800;
105
- font-size: 18px;
106
- padding: 12px 18px;
107
- display: inline-block;
108
-
109
- .icon {
110
- margin-right: 10px;
111
- font-weight: 400;
112
- position: relative;
113
- top: 2px;
114
- font-size: 120%;
115
- }
116
-
117
- margin-right: 10px;
118
-
119
- &, &:link, &:visited {
120
- color: white;
121
- background-color: rgba(white, 0.32);
104
+ &:not(:first-child) {
105
+ @include cta-button(rgba(white, 0.32), white);
122
106
  }
123
107
  &:first-child {
124
- &, &:link, &:visited {
125
- color: $primary-dark-color !important;
126
- background-color: white !important;
127
- }
108
+ @include cta-button(white, $primary-dark-color);
128
109
  }
129
110
  &:last-child {
130
111
  margin-right: 0;
131
112
  }
132
-
133
- transition: box-shadow .2s ease-out;
134
- &:hover {
135
- box-shadow: 0 0 0 4px rgba(black, 0.2);
136
- }
137
113
  }
138
114
  }
139
115
  }
@@ -1,9 +1,54 @@
1
+ @mixin tbd($color: red) {
2
+ // TODO: Refactor disabled item doc navigation links with this mixin in mind
3
+
4
+ position: relative;
5
+
6
+ &:after {
7
+ position: absolute;
8
+ left: 100%;
9
+ content: "TBD";
10
+ color: $color;
11
+ font-size: .6em;
12
+ vertical-align: super;
13
+ }
14
+ }
15
+
16
+ @mixin cta-button($bgcolor, $color) {
17
+ font-weight: 800;
18
+ font-size: 18px;
19
+ padding: 12px 18px;
20
+ display: inline-block;
21
+
22
+ .icon {
23
+ margin-right: 10px;
24
+ font-weight: 400;
25
+ position: relative;
26
+ top: 2px;
27
+ font-size: 120%;
28
+ }
29
+
30
+ margin-right: 10px;
31
+
32
+ &, &:link, &:visited {
33
+ color: $color;
34
+ background-color: $bgcolor;
35
+ }
36
+
37
+ transition: box-shadow .2s ease-out;
38
+
39
+ &:hover {
40
+ box-shadow: 0 0 0 4px rgba(black, 0.2);
41
+ }
42
+ }
43
+
1
44
  @mixin hoverable-card($base-y, $base-blur, $color) {
2
45
  $hovered-y: $base-y * 2;
3
46
  $hovered-blur: $base-blur * 2;
4
47
 
5
- transition: all .15s ease;
6
48
  box-shadow: 0px $base-y $base-blur $color;
49
+
50
+ transition: box-shadow .17s ease, transform .17s ease;
51
+
7
52
  &:hover {
8
53
  transform: translateY(-1px);
9
54
  box-shadow: 0px $hovered-y $hovered-blur $color;
@@ -78,6 +123,10 @@
78
123
  > .nav-sidebar {
79
124
  padding-top: 50px;
80
125
 
126
+ > .sidebar-header, > section {
127
+ margin-bottom: 15px;
128
+ }
129
+
81
130
  > .sidebar-header {
82
131
  display: flex;
83
132
  flex-flow: row nowrap;
@@ -104,8 +153,6 @@
104
153
  }
105
154
 
106
155
  > section {
107
- margin-bottom: 15px;
108
-
109
156
  > .section-title {
110
157
  font-size: 20px;
111
158
  font-weight: bold;
@@ -215,6 +262,8 @@
215
262
  }
216
263
  }
217
264
  .content {
265
+ font-size: 80%;
266
+
218
267
  > div:first-child {
219
268
  > :first-child {
220
269
  margin-top: 0;
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.10
4
+ version: 1.1.11
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-09-28 00:00:00.000000000 Z
11
+ date: 2018-10-01 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.10
75
+ version: 1.1.11
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.10
82
+ version: 1.1.11
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: bundler
85
85
  requirement: !ruby/object:Gem::Requirement