Skip to content

Commit 9b2db03

Browse files
authored
Merge pull request #396 from NGO-Algorithm-Audit/feature/2026-02-11
Feature/2026 02 11
2 parents f640b19 + 334ed3a commit 9b2db03

5 files changed

Lines changed: 48 additions & 69 deletions

File tree

assets/scss/templates/_main.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ input[type="checkbox"] {
8484
padding-bottom: 3rem;
8585
}
8686
.promobar-mobile-desktop-layout{
87-
height: 50px;
87+
min-height: 50px;
8888
align-items: center;
8989
justify-content: center;
9090
}
@@ -156,7 +156,7 @@ input[type="checkbox"] {
156156
padding-bottom: 1rem;
157157
}
158158
.promobar-mobile-desktop-layout{
159-
height: 100px;
159+
min-height: 100px;
160160
}
161161
.mobile-desktop-margin{
162162
padding-top: 3rem;

layouts/events/overview.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,22 +62,22 @@
6262
<div class="col-12 col-lg-2 p-0 mt-0 text-center">
6363
<img class="img-fluid img-event p-4" src="{{$event.image}}" />
6464
</div>
65-
<div class="col pt-3 pb-5" style="background-color: #ffffff;">
65+
<div class="col py-3" style="background-color: #ffffff;">
6666
<div class="row align-items-center">
6767
<h4 class="mb-4 mx-3" style="color: #005aa7;">
6868
{{$event.title}}
6969
</h4>
7070
</div>
71-
<div class="row pl-3" style="position: absolute; bottom: 0; font-weight: 300; font-size: 15px;">
71+
<div class="row pl-3" style="font-weight: 300; font-size: 15px;">
7272
{{ if $event.date }}
73-
<span class="highlight-red-sm mr-2">
73+
<span class="highlight-red-sm m-1">
7474
{{ $event.date }}
7575
</span>
7676
{{ end }}
7777
{{ range $facet := $event.facets }}
7878
{{ if $facet.hide }}
7979
{{ else }}
80-
<span class="highlight-red-sm">{{$facet.label}}</span>
80+
<span class="highlight-red-sm m-1">{{$facet.label}}</span>
8181
{{ end }}
8282
{{end}}
8383
</div>

layouts/shortcodes/accordion_item_open.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,16 @@
55
<div class="col-12 col-lg-2 text-center">
66
<img class="img-fluid img-action" src={{.Get "image"}} />
77
</div>
8-
<div class="col pt-3 pb-5 px-5">
8+
<div class="col px-5 py-3">
99
<div class="row align-items-center">
1010
<h4 class="mb-4 mx-1" style="color: #005aa7;">
1111
{{.Get "title"}}
1212
</h4>
1313
</div>
14-
<div class="row"
15-
style="position: absolute; bottom: 0; font-weight: 300; font-size: 15px;">
14+
<div class="row" style="font-weight: 300; font-size: 15px;">
1615
{{ $date := .Get "date" }}
1716
{{ if $date }}
18-
<span style="color:#005aa7;" class="mr-1 mb-2 px-2 py-1 mx-1">
17+
<span class="highlight-red-sm m-1">
1918
{{ $date }}
2019
</span>
2120
{{ end }}

layouts/shortcodes/promo_bar.html

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
11
{{ $_hugo_config := `{ "version": 1 }` }}
22
{{$param := int (.Get "index")}}
33
{{ with index .Page.Params.promo_bar $param }}
4-
<div id={{.id}} class="container-fluid mt-0 p-0">
5-
<div class="shadow bg-lightblue">
6-
<div class="row promobar-mobile-desktop-layout">
7-
<div class="d-flex justify-center align-items-center px-5 link__force-underline mx-auto">
8-
<span class="mr-3" style="font-size:16px; color:#005aa7;">
9-
{{ .content | markdownify }}
10-
</span>
11-
{{if .iframe }}
12-
<span>
13-
<iframe src={{.iframe}} frameborder="0" scrolling="0" width="150" height="20" title="GitHub"></iframe>
14-
</span>
15-
{{ end }}
16-
</div>
4+
<div id={{.id}} class="container-fluid mt-0 p-0 shadow bg-lightblue">
5+
<div class="row promobar-mobile-desktop-layout">
6+
<div class="d-flex justify-center align-items-center py-4 px-5 link__force-underline mx-auto">
7+
<span style="font-size:16px; color:#005aa7;">
8+
{{ .content | markdownify }}
9+
</span>
10+
{{if .iframe }}
11+
<span class="ml-2">
12+
<iframe src={{.iframe}} frameborder="0" scrolling="0" width="150" height="20" title="GitHub"></iframe>
13+
</span>
14+
{{ end }}
1715
</div>
1816
</div>
1917
</div>

0 commit comments

Comments
 (0)