betterplace-content 0.7.129 → 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: 1e49c44e5f509247dfb65117bba63185a9847ea2fe5668ac74eeba37dd84f8ee
4
- data.tar.gz: cec913fd147c5a54b31d669af36bebe167a213c2aef024b908d198a7a6d40481
3
+ metadata.gz: b1de344214d12373be12dac6e407e934f1b4ccc9b398ac0cc82a4233f71dcc8b
4
+ data.tar.gz: ea7eef438971cc3df800b4b45258857f89b19efb062778a163ef0cc6cf68d292
5
5
  SHA512:
6
- metadata.gz: 5d69fa30980215da05bd5bb00ffb67a39edf2111ee667c55c4ae1c29e2637d99474a655f0b338ca2c085bba68e2f0a920e4639d832263644c0e27199deb438fa
7
- data.tar.gz: cac0d339d3b4ee46fe26a4ea351d2cc74995ee091d70b1c6cafd12f797f37de858710457030871cb1075226e2d02a40d25154deadff6eaf667b7b599ca6ac0ea
6
+ metadata.gz: 294a4c16a81971703fa538830d2aad3e667df1631467e5137e70d2ee1b64ca5336da9d3fd9dbd562e756aea2ae8ef108f1a6bb81163fc2fc355964b26ece7026
7
+ data.tar.gz: 1f18819188414b1298d32970fcc6a6586ad7c4fc32520f2bcd420664442f5b4c98843408c2d7fb35ef84b2110fb15cbe2e884c75619b93ba9130b90559f69c0e
@@ -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.129
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-18 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