Fix CSS issue on jams page
This commit is contained in:
parent
e4dd15d248
commit
1b1c25da80
|
@ -7553,6 +7553,9 @@ article code {
|
||||||
.g5 {
|
.g5 {
|
||||||
gap: 4rem; }
|
gap: 4rem; }
|
||||||
|
|
||||||
|
.aspect-ratio--2x1 {
|
||||||
|
padding-bottom: 50%; }
|
||||||
|
|
||||||
.hide-if-empty:empty {
|
.hide-if-empty:empty {
|
||||||
display: none !important; }
|
display: none !important; }
|
||||||
|
|
||||||
|
|
|
@ -372,6 +372,10 @@ article code {
|
||||||
.g4 { gap: $spacing-large; }
|
.g4 { gap: $spacing-large; }
|
||||||
.g5 { gap: $spacing-extra-large; }
|
.g5 { gap: $spacing-extra-large; }
|
||||||
|
|
||||||
|
.aspect-ratio--2x1 {
|
||||||
|
padding-bottom: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
.hide-if-empty:empty {
|
.hide-if-empty:empty {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,8 +31,8 @@
|
||||||
<img src="{{ static "wheeljam2021/TwitterCard.png" }}">
|
<img src="{{ static "wheeljam2021/TwitterCard.png" }}">
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
<a href="{{ .LispJamUrl }}" class="relative">
|
<a href="{{ .LispJamUrl }}" class="br2 overflow-hidden relative aspect-ratio--2x1 bg--card">
|
||||||
<div class="br2 overflow-hidden absolute absolute--fill flex flex-column flex justify-center items-center f3 c--dim">
|
<div class="aspect-ratio--object flex flex-column flex justify-center items-center f3 c--dim">
|
||||||
<h3>LISP Jam</h3>
|
<h3>LISP Jam</h3>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in New Issue