Skip to content

Commit 7851888

Browse files
authored
Merge pull request #285 from NGO-Algorithm-Audit/feature/homepage-improvements
Feature/homepage improvements
2 parents b297649 + e810774 commit 7851888

File tree

12 files changed

+345
-1167
lines changed

12 files changed

+345
-1167
lines changed

assets/scss/_common.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -932,9 +932,7 @@ padding: 0 50px 0 0px;
932932
}
933933

934934
.box {
935-
border: 1px solid #ccc;
936935
border-radius: 4px;
937-
cursor: pointer;
938936
margin-top: 10px;
939937
padding-top: 5px;
940938
}

assets/scss/_custom.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
margin: 0.25rem 0.25rem 0.5rem 0.25rem !important;
3232
padding: 0.25rem 0.5rem !important;
3333
font-style: normal;
34+
text-decoration: none !important;
3435
}
3536

3637
.highlight-potential-sm {
@@ -41,6 +42,13 @@
4142
font-style: normal;
4243
}
4344
.highlight-red-sm {
45+
border: rgba(255, 255, 255, 0) 0.3rem solid;
46+
border-radius: 0.75rem;
47+
padding: 0.25rem 0.5rem !important;
48+
color: #005aa7;
49+
font-style: normal;
50+
text-decoration: none !important;
51+
4452
background-color: rgba(255, 203, 189, 0.5);
4553
}
4654

assets/scss/_landingpage.scss

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.landing-page-container {
2-
width: 100vw;
3-
max-width: 100vw;
2+
width: 100%;
3+
max-width: 100%;
44
overflow: hidden;
55

66
min-height: 100vh;
@@ -416,7 +416,7 @@
416416
.landing-page-clear-bottom {
417417
z-index: 11;
418418
background-color: #FFF;
419-
width: 100vw;
419+
width: 100%;
420420
min-height: 35vh;
421421
position: relative;
422422
margin-bottom: -20vh;
@@ -427,6 +427,16 @@
427427
z-index: 20;
428428
position: relative;
429429
}
430+
.landinge-page-activityfeed-activity-image-wrapper {
431+
@media (max-width: 992px) {
432+
height: 200px;
433+
}
434+
}
435+
.landinge-page-activityfeed-activity-image {
436+
margin: auto;
437+
max-height: 100%;
438+
display: block;
439+
}
430440

431441
.landing-page-about {
432442
margin-top: 7rem;

assets/scss/templates/_main.scss

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,12 @@ input[type="checkbox"] {
108108
}
109109
}
110110

111+
.img-event{
112+
max-height: 140px;
113+
@media (max-width: 992px) {
114+
max-height:120px;
115+
}
116+
}
111117
// view ≤992px
112118
@media (max-width: 992px) {
113119
.margin-banner-image {
@@ -131,9 +137,6 @@ input[type="checkbox"] {
131137
padding: 15px;
132138
margin: 20px 0px;
133139
}
134-
.img-event{
135-
height:200px;
136-
}
137140
#img-gif{
138141
width: 100%;
139142
}
@@ -854,7 +857,7 @@ padding: 20px 0px 0px 0px;
854857
}
855858

856859
.layer {
857-
width: 100vw;
860+
width: 100%;
858861
height: 100vh;
859862
display: flex;
860863
justify-content: center;

0 commit comments

Comments
 (0)