Skip to content

Commit fed5255

Browse files
committed
Remove pink box around accordion content divs
1 parent 7f0b715 commit fed5255

File tree

24 files changed

+26
-49
lines changed

24 files changed

+26
-49
lines changed

assets/scss/templates/_main.scss

Lines changed: 1 addition & 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;
@@ -197,6 +173,7 @@ input[type="checkbox"] {
197173
border-bottom: 5px solid transparent;
198174
border-image: linear-gradient(to left, #ffcbbd, #fffde4);
199175
border-image-slice: 1;
176+
width: 100%;
200177
}
201178
// view ≥768px (md and lg)
202179
@media (min-width: 768px) {

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/shortcodes/about_AA.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{{ $_hugo_config := `{ "version": 1 }` }}
22

33
<div class="container-fluid mt-5 p-0">
4-
<div class="shadow mobile-desktop-container-layout rounded-lg" id={{.Get "id" }}>
4+
<div class="shadow mobile-desktop-container-layout border-bottom-gradient rounded-lg" id={{.Get "id" }}>
55

66
{{ with .Page.Params.about_AA }}
77

layouts/shortcodes/about_board.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<div class="container">
44
<div class="row">
55
<div class="col-lg-12 col-md-12">
6-
<div class="shadow mobile-desktop-container-layout rounded-lg">
6+
<div class="shadow mobile-desktop-container-layout border-bottom-gradient rounded-lg">
77
<h3 class="mb-4 board" style="color: #005aa7; padding: 0 0 0 25px">{{ .Get 0 | markdownify }}</h3>
88

99
<div class="board-wrapper">

layouts/shortcodes/ai_policy_observatory.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{{ $_hugo_config := `{ "version": 1 }` }}
22
<div class="container-fluid">
3-
<div class="shadow mobile-desktop-container-layout rounded-lg">
3+
<div class="shadow mobile-desktop-container-layout border-bottom-gradient rounded-lg">
44

55
<h3 class="mb-4 info" style="color: #005aa7; padding: 0 0 0 25px; margin-bottom:0px !important;">{{ .Get "title" | markdownify }}</h3>
66

layouts/shortcodes/container_open.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
</script>
2222
{{ end }}
2323
<div id={{$id}} class="{{ if $isAccordion }} accordion_container_{{$id}} {{ end }} container-fluid mt-5 p-0">
24-
<div class="{{ if $isAccordion }} ac {{ end }} shadow mobile-desktop-container-layout rounded-lg ">
24+
<div class="{{ if $isAccordion }} ac {{else}} border-bottom-gradient {{ end }} shadow mobile-desktop-container-layout rounded-lg ">
2525
<div class="{{ if $isAccordion }} ac-header {{ end }} ">
2626
<div class="col-12 row ac--has-own-icon {{ if $isAccordion }} ac-trigger {{ end }}">
2727

layouts/shortcodes/reports_preview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<!-- Recent audits -->
55
<div class="container-fluid mt-5 p-0">
6-
<div class="shadow mobile-desktop-container-layout rounded-lg" id={{.Get "id" }}>
6+
<div class="shadow mobile-desktop-container-layout border-bottom-gradient rounded-lg" id={{.Get "id" }}>
77
{{ with .Page.Params.Reports_preview}}
88
<div class="row">
99
<div class="col-12">

layouts/shortcodes/tab_content_open.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="row tabcontent m-0" id="{{$id}}_tab">
33
<div class="col-lg-12 mx-auto px-0 mobile-desktop-margin">
44
<div class="content">
5-
<div class="shadow mobile-desktop-container-layout rounded-lg">
5+
<div class="shadow mobile-desktop-container-layout border-bottom-gradient rounded-lg">
66

77
<!-- title -->
88
{{ $title := .Get "title" }}

layouts/shortcodes/team.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<!-- desktop version -->
44
<div class="container-fluid mt-5 desktop p-0">
5-
<div class="shadow mobile-desktop-container-layout rounded-lg" id={{.Get "id" }}>
5+
<div class="shadow mobile-desktop-container-layout border-bottom-gradient rounded-lg" id={{.Get "id" }}>
66

77
{{ with .Page.Params.team}}
88

0 commit comments

Comments
 (0)