Skip to content

Commit 5c794bf

Browse files
authored
Merge pull request #297 from NGO-Algorithm-Audit/feature/2025-06-20
Feature/2025 06 20
2 parents e9da334 + 1d48e4a commit 5c794bf

File tree

36 files changed

+304
-262
lines changed

36 files changed

+304
-262
lines changed

assets/scss/_common.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ a:hover {
7070
text-decoration: underline;
7171
}
7272

73+
.link__force-underline a {
74+
text-decoration: underline !important;
75+
}
7376
h1, .h1 {
7477
font-size:36px;
7578
}

assets/scss/_custom.scss

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
color: #005aa7;
4242
font-style: normal;
4343
}
44-
.highlight-red-sm {
44+
.highlight-lightred-sm {
4545
border: rgba(255, 255, 255, 0) 0.3rem solid;
4646
border-radius: 0.75rem;
4747
padding: 0.25rem 0.5rem !important;
@@ -52,6 +52,17 @@
5252
background-color: rgba(255, 203, 189, 0.5);
5353
}
5454

55+
.highlight-red-sm {
56+
border: rgba(255, 255, 255, 0) 0.3rem solid;
57+
border-radius: 0.75rem;
58+
padding: 0.25rem 0.5rem !important;
59+
color: #005aa7;
60+
font-style: normal;
61+
text-decoration: none !important;
62+
63+
background-color: #FFCBBD;
64+
}
65+
5566
.yellow-button {
5667
margin-left: 20px;
5768
background-color: #005aa7;

assets/scss/templates/_main.scss

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -76,24 +76,12 @@ input[type="checkbox"] {
7676
padding-right: 3rem;
7777
padding-top: 3rem;
7878
padding-bottom: 3rem;
79-
80-
// gradient
81-
border-bottom: 5px solid transparent;
82-
border-image: linear-gradient(to left, #ffcbbd, #fffde4);
83-
border-image-slice: 1;
84-
width:100%;
8579
}
8680
.mobile-desktop-container-layout-web-app {
8781
padding-left: 3rem;
8882
padding-right: 3rem;
8983
padding-top: 3rem;
9084
padding-bottom: 3rem;
91-
92-
// gradient
93-
border-bottom: 5px solid transparent;
94-
border-image: linear-gradient(to left, #ffcbbd, #fffde4);
95-
border-image-slice: 1;
96-
width:100%;
9785
}
9886
.promobar-mobile-desktop-layout{
9987
height: 50px;
@@ -160,24 +148,12 @@ input[type="checkbox"] {
160148
padding-right: 0rem;
161149
padding-top: 0rem;
162150
padding-bottom: 0rem;
163-
164-
// gradient
165-
border-bottom: 5px solid transparent;
166-
border-image: linear-gradient(to left, #ffcbbd, #fffde4);
167-
border-image-slice: 1;
168-
width:100%;
169151
}
170152
.mobile-desktop-container-layout-web-app{
171153
padding-left: 1rem;
172154
padding-right: 1rem;
173155
padding-top: 1rem;
174156
padding-bottom: 1rem;
175-
176-
// gradient
177-
border-bottom: 5px solid transparent;
178-
border-image: linear-gradient(to left, #ffcbbd, #fffde4);
179-
border-image-slice: 1;
180-
width:100%;
181157
}
182158
.promobar-mobile-desktop-layout{
183159
height: 100px;
@@ -193,6 +169,12 @@ input[type="checkbox"] {
193169
}
194170
}
195171

172+
.border-bottom-gradient {
173+
border-bottom: 5px solid transparent;
174+
border-image: linear-gradient(to left, #ffcbbd, #fffde4);
175+
border-image-slice: 1;
176+
width: 100%;
177+
}
196178
// view ≥768px (md and lg)
197179
@media (min-width: 768px) {
198180
.show-mobile {

content/english/technical-tools/BDT.md

Lines changed: 31 additions & 39 deletions
Large diffs are not rendered by default.

content/english/technical-tools/SDG.md

Lines changed: 59 additions & 45 deletions
Large diffs are not rendered by default.

content/nederlands/technical-tools/BDT.md

Lines changed: 46 additions & 50 deletions
Large diffs are not rendered by default.

content/nederlands/technical-tools/SDG.md

Lines changed: 56 additions & 42 deletions
Large diffs are not rendered by default.

layouts/algoprudence/repository.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ <h3>{{.Params.title_content | markdownify}}</h3>
5353
{{ end }}
5454
<a class="" href="{{$algoprudence.link | relURL}}">
5555
<div class="clickable-wrapper my-5">
56-
<div class="grid shadow mobile-desktop-container-layout rounded-lg facet-item" data-facets="{{$facets_for_data_attribute}}">
56+
<div class="grid shadow mobile-desktop-container-layout border-bottom-gradient rounded-lg facet-item" data-facets="{{$facets_for_data_attribute}}">
5757
<div class="row">
5858
<div class="col-md-3 col-sm-12 pr-4">
5959
<div class="row justify-content-center">

layouts/knowledge-platform/overview.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ <h3>{{.Params.title_content | markdownify}}</h3>
4848
<!-- Featured Article -->
4949
{{ range $item := first 1 (where $knowledgebase_items "Params.featured" "==" true) }}
5050
<div class="col-12 mb-5 pb-5">
51-
<div class="row align-items-center shadow mobile-desktop-container-layout rounded-lg">
51+
<div class="row align-items-center shadow mobile-desktop-container-layout border-bottom-gradient rounded-lg">
5252
<div class="col-md-6 mb-4 mb-md-0">
5353
<div style=" margin-left: auto; margin-right: auto;">
5454
<img src="{{ .Params.image | relURL }}" alt="{{.Title}}"
@@ -82,7 +82,7 @@ <h2><a href="{{ .Permalink }}" title="{{ .Title }}" class="post-title">{{
8282
$facet.value | printf "%s" }}
8383
{{ end }}
8484
<div class="col-md-6 mb-4 facet-item" data-facets="{{$facets_for_data_attribute}}">
85-
<div class="shadow mobile-desktop-container-layout rounded-lg">
85+
<div class="shadow mobile-desktop-container-layout border-bottom-gradient rounded-lg">
8686
<div style=" margin-left: auto; margin-right: auto; display: table;">
8787
<img src="{{ .Params.image |relURL }}" alt="{{ .Title }}" style='height: 276px; margin-bottom: 25px;'>
8888
</div>

layouts/partials/landingpage/activityfeed.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{{ with .Params.Activity_Feed}}
33
<!-- Featured activities -->
44
<section class="activitifeed-section pb-5 mt-5" id="featured">
5-
<div class="container" style="background-color:#deecf7;">
5+
<div class="container border-bottom-gradient rounded-lg" style="background-color:#deecf7;">
66
<div class="row align-items-center">
77
<div class="mx-4 col order-1">
88
{{ if .featured_activities }}
@@ -41,12 +41,12 @@ <h3 class="mb-2" style="color: #005aa7;">{{$item.title}}</h3>
4141
<!-- metadata -->
4242
<div class="row" style="position:relative;">
4343
{{ if $item.date }}
44-
<span class="highlight-red">
44+
<span class="highlight-red-sm mr-3">
4545
{{$item.date }}
4646
</span>
4747
{{ end }}
4848
{{ if $item.type }}
49-
<span class="highlight-red">
49+
<span class="highlight-red-sm">
5050
{{ $item.type }}
5151
</span>
5252
{{ end }}
@@ -74,7 +74,7 @@ <h3 class="mb-2" style="color: #005aa7;">{{$item.title}}</h3>
7474

7575
<!-- Items -->
7676
<section class="activitifeed-section pt-5 mt-2" id="events">
77-
<div class="container" style="background-color:#deecf7;">
77+
<div class="container border-bottom-gradient rounded-lg" style="background-color:#deecf7;">
7878
<div class="row align-items-center">
7979
<div class="mx-4 col order-1">
8080
<!-- Activities -->

0 commit comments

Comments
 (0)