betterplace-content 0.7.129 → 0.7.131

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: c92dc03e95e724046bbcbd9358d4d02a43f910647ae9fa9fdf0bae79245c5658
4
+ data.tar.gz: f81393112d853f393cf6f54f25a7c8dacca552e30ee84085d9a461c0f874ee89
5
5
  SHA512:
6
- metadata.gz: 5d69fa30980215da05bd5bb00ffb67a39edf2111ee667c55c4ae1c29e2637d99474a655f0b338ca2c085bba68e2f0a920e4639d832263644c0e27199deb438fa
7
- data.tar.gz: cac0d339d3b4ee46fe26a4ea351d2cc74995ee091d70b1c6cafd12f797f37de858710457030871cb1075226e2d02a40d25154deadff6eaf667b7b599ca6ac0ea
6
+ metadata.gz: ce52342ef3f63e7b555263513b2b43c45c609ce24fdc17ad7e7e6b42f3d69d3b66b79b4dbb5d5f31b6ab3949a182cf0fd7ced79d9cb0e8c4a8ac4f3a5cfa05fe
7
+ data.tar.gz: 40baab0c5577f9a6802b5dc7865961eab5cb44b9cd21d3e2ff4d350bcc940bbdde6c1f982cec753de7397dde829e133c9188d47a3c2ffb5bb151c61508ab871c
@@ -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.131
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-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll