betterplace-content 0.7.76 → 0.7.78

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: 1e71dcab6a361b3d5364eb7eda65f336e367d382e68a832d252bd2a3a6c25100
4
- data.tar.gz: dc7e6f4d31422ea07058594aa4d00124fa24968f49d65bb30c1a7de730543162
3
+ metadata.gz: 33547327918dff9fa601b7f8df759f1033bd7d194e5c018941c3b0260682d2ff
4
+ data.tar.gz: bda0f5a70fa2300e56519cc4a519a9a52cfdcf1fa60f04215e45a203eb640fc9
5
5
  SHA512:
6
- metadata.gz: 1c6c75027f01981819ba70e9c79b1a30d9997ea4129f80815c9ee6786658155d8f01968e245123978dcc5112b0cb436f3402b945c789aacc4e3d7aa5c864b800
7
- data.tar.gz: 984b4395aa25f1c7011ae4a4e2afa0bdee05633c464dcf28f551b43bd6696b72ee03e42c06e86cc451abaee6c0927089d2c074e1083ffc72190e3ab01a0bb1ef
6
+ metadata.gz: 4efc82baa908d027beba8d10773b2f731c492a145f9265e6f9ffe672988db32640b99458c756da2e97612b830c2c3291ad70dd6ff7c2489d98c0cb2054cdd29f
7
+ data.tar.gz: e3b193be5046290fe0f0e0312440d6441cbb0d548576115e585d2988be6ab72369fa5f3669aa39e8cce17450f0c1da25b570db10855c9e5272fe376b6edfe2c7
data/_layouts/help.html CHANGED
@@ -18,12 +18,12 @@ layout: default
18
18
  {% if page.author %}
19
19
  <div class="help-meta-information mb-4">
20
20
  <div class="help-author">
21
- <i class="fa fa-user-circle-o fa-fw"></i>
21
+ <i class="fas fa-user fa-fw"></i>
22
22
  {{ page.author }}
23
23
  </div>
24
24
 
25
25
  <div class="help-date">
26
- <i class="fa fa-clock-o fa-fw"></i>
26
+ <i class="fas fa-clock fa-fw"></i>
27
27
  {{ page.date | date:"%d.%m.%Y" }}
28
28
  </div>
29
29
  </div>
data/_layouts/news.html CHANGED
@@ -22,12 +22,12 @@ layout: default
22
22
  {% if page.author %}
23
23
  <div class="news-meta-information mb-4">
24
24
  <div class="news-author">
25
- <i class="fa fa-user-circle-o fa-fw"></i>
25
+ <i class="fas fa-user fa-fw"></i>
26
26
  {{ page.author }}
27
27
  </div>
28
28
 
29
29
  <div class="news-date">
30
- <i class="fa fa-clock-o fa-fw"></i>
30
+ <i class="fas fa-clock fa-fw"></i>
31
31
  {{ page.date | date:"%d.%m.%Y" }}
32
32
  </div>
33
33
  </div>
@@ -1,6 +1,23 @@
1
-
2
1
  .generic-team-list-interlaced {
3
- margin: 0 -0.5%;
2
+ @mixin phone-ext {
3
+ @include phone {
4
+ @content(2, 2%);
5
+ }
6
+ }
7
+
8
+ @mixin desktop-ext {
9
+ @include desktop {
10
+ @content(5, 1%);
11
+ }
12
+ }
13
+
14
+ @include phone-ext using ($columns, $gutter) {
15
+ margin: 0 $gutter/-2;
16
+ }
17
+ @include desktop-ext using ($columns, $gutter) {
18
+ margin: 0 $gutter/-2;
19
+ }
20
+
4
21
  padding: 0;
5
22
  list-style: none;
6
23
  display: flex;
@@ -12,17 +29,13 @@
12
29
 
13
30
  li {
14
31
  $tile-aspect-ratio: percentage(600/365);
15
-
16
32
  position: relative;
17
33
  display: block;
18
34
  z-index: 10;
19
35
 
20
- @include desktop {
21
- $columns: 5;
36
+ @include desktop-ext using ($columns, $gutter) {
22
37
  $column-width: 100%/$columns;
23
- $gutter: 1%;
24
38
  $gutter-per-column: percentage($gutter/($column-width - $gutter));
25
-
26
39
  width: $column-width;
27
40
  padding: $gutter/2;
28
41
 
@@ -47,12 +60,9 @@
47
60
  }
48
61
  }
49
62
 
50
- @include phone {
51
- $columns: 2;
63
+ @include phone-ext using ($columns, $gutter) {
52
64
  $column-width: 100%/$columns;
53
- $gutter: 2%;
54
65
  $gutter-per-column: percentage($gutter/($column-width - $gutter));
55
-
56
66
  width: $column-width;
57
67
  padding: $gutter/2;
58
68
 
@@ -68,6 +78,14 @@
68
78
  }
69
79
  }
70
80
 
81
+ &:nth-child(n+14) {
82
+ display: none;
83
+ }
84
+
85
+ &:target, &:target ~ li {
86
+ display: block;
87
+ }
88
+
71
89
  &.halfling {
72
90
  article {
73
91
  padding-top: 0.5 * ($tile-aspect-ratio - $gutter-per-column);
@@ -150,7 +168,7 @@
150
168
  font-weight: 300;
151
169
  font-size: 0.875em;
152
170
  line-height: 1.25;
153
- margin-bottom: 0;
171
+ margin-bottom: .25em;
154
172
  }
155
173
  }
156
174
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: betterplace-content
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.76
4
+ version: 0.7.78
5
5
  platform: ruby
6
6
  authors:
7
7
  - betterplace.org Developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-08 00:00:00.000000000 Z
11
+ date: 2021-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll