betterplace-content 0.7.128 → 0.7.130

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: c2633e01ab93d6f88c64af095213aa8bd0d08a7ced8ae15ce3f2eb798c9245b2
4
- data.tar.gz: d6d661808d2fd50e5680fb3c7baec9dbc97585ad297775fa1da1c2f87192fbb8
3
+ metadata.gz: b1de344214d12373be12dac6e407e934f1b4ccc9b398ac0cc82a4233f71dcc8b
4
+ data.tar.gz: ea7eef438971cc3df800b4b45258857f89b19efb062778a163ef0cc6cf68d292
5
5
  SHA512:
6
- metadata.gz: f3c86415757eb210cd89df55d92128b9fd549b2c595b42b362afbb3dca05ee825c6da9e349570419106d1828b5b8e48f2e6212d99b6a0813ed2fffdbfd8f6f93
7
- data.tar.gz: 620c9a8eb94f2c7f6e3353a06a21b7b8379b637a9e2a16c78929f774014fce8a82d1a2222145f298417c3690b88abac7ba07a9aa3e2186ce87992916714e0d71
6
+ metadata.gz: 294a4c16a81971703fa538830d2aad3e667df1631467e5137e70d2ee1b64ca5336da9d3fd9dbd562e756aea2ae8ef108f1a6bb81163fc2fc355964b26ece7026
7
+ data.tar.gz: 1f18819188414b1298d32970fcc6a6586ad7c4fc32520f2bcd420664442f5b4c98843408c2d7fb35ef84b2110fb15cbe2e884c75619b93ba9130b90559f69c0e
@@ -21,6 +21,10 @@
21
21
  position: relative
22
22
  background: $gray-200
23
23
 
24
+ &::-webkit-details-marker
25
+ // Hide default toggle in Safari.
26
+ display: none
27
+
24
28
  +desktop
25
29
  font-size: 20px
26
30
  line-height: 66px
@@ -56,6 +60,7 @@
56
60
  color: $green-500 !important
57
61
 
58
62
  h3
63
+ display: inline
59
64
  font: inherit
60
65
  margin: 0
61
66
 
@@ -41,7 +41,10 @@
41
41
 
42
42
  &:nth-child(5n+1) .tile,
43
43
  &:nth-child(5n+3) .tile,
44
- &:nth-child(5n) .tile {
44
+ &:nth-child(5n) .tile,
45
+ &:nth-last-child(5) .tile,
46
+ &:nth-last-child(3) .tile,
47
+ &:nth-last-child(1) .tile {
45
48
  margin-top: -0.5 * ($tile-aspect-ratio + $gutter-per-column);
46
49
  .speech-bubble {
47
50
  top: 50%;
@@ -59,6 +62,21 @@
59
62
  margin: $gutter-per-column/2 $gutter-per-column;
60
63
  min-height: 50% + percentage($gutter-per-column / $tile-aspect-ratio / 2);
61
64
  }
65
+
66
+ // There are 9 trailing spacers that fill up the last two rows as needed.
67
+ // Hide or show according to their position in list.
68
+ &.spacer:nth-child(5n+1):nth-last-child(9),
69
+ &.spacer:nth-child(5n+2):nth-last-child(8),
70
+ &.spacer:nth-child(5n+3):nth-last-child(7),
71
+ &.spacer:nth-child(5n+4):nth-last-child(6),
72
+ &.spacer:nth-child(5n+1):nth-last-child(8),
73
+ &.spacer:nth-child(5n+2):nth-last-child(7),
74
+ &.spacer:nth-child(5n+3):nth-last-child(6),
75
+ &.spacer:nth-child(5n+1):nth-last-child(7),
76
+ &.spacer:nth-child(5n+2):nth-last-child(6),
77
+ &.spacer:nth-child(5n+1):nth-last-child(6) {
78
+ display: none;
79
+ }
62
80
  }
63
81
 
64
82
  @include phone-ext using ($columns, $gutter) {
@@ -117,6 +135,8 @@
117
135
  z-index: 0;
118
136
  }
119
137
 
138
+ // Spread colors evenly. https://en.wikipedia.org/wiki/Magic_square
139
+ // Use this background color pattern with staff photos with transparent background (WEBP FTW).
120
140
  &:nth-child(30n+1) .tile,
121
141
  &:nth-child(30n+7) .tile,
122
142
  &:nth-child(30n+14) .tile,
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.128
4
+ version: 0.7.130
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: 2023-12-06 00:00:00.000000000 Z
11
+ date: 2023-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll