Skip to content

Commit 02a743b

Browse files
KhadijaMahangaDavidLemayian
authored andcommitted
[Land] [Feature] Improve partners section titles (#99)
* setting up section * section title styling and showcase stories changes * move html style to scss file * showcase title positioning * showcase title and button styling * partners section * partner title, showcase story * change databse url for hurumap_land * remove unused file * add partners logo * partners section titles * readd showcase styling * remove white space * Improve partner pages. * Add pesayetu wsgi * Update pesayetu/fixtures/pesayetu.json * Update icons.
1 parent 4634c7b commit 02a743b

File tree

11 files changed

+204
-35
lines changed

11 files changed

+204
-35
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,6 @@ compilescss:
1515

1616
dumpdata:
1717
$(COMPOSE) exec web python manage.py dumpdata wazimap hurumap ${HURUMAP_APP} -o ${HURUMAP_APP}/fixtures/${HURUMAP_APP}.json
18+
19+
enter:
20+
$(COMPOSE) exec web bash

hurumap_land/static/css/hurumap_land.scss

Lines changed: 44 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
// Fonts
99
@import url('https://fonts.googleapis.com/css?family=Raleway:400,700');
1010

11+
$brand-color-primary: #0e4a48;
1112
$brand-color-light-green: #b6d9e2;
1213
$brand-color-solid-light-green: #269c94;
1314
$brand-color-solid-green: #279c94;
@@ -30,6 +31,16 @@ h1 {
3031
.font-weight-bold {
3132
font-weight: 700;
3233
}
34+
.text-primary {
35+
color: $brand-color-primary
36+
}
37+
.text-white {
38+
color: white;
39+
}
40+
41+
.bg-color-gradient {
42+
background-image: linear-gradient(to right, #0e4b49, #16635f, #269a92);
43+
}
3344

3445
// Colors
3546
.bg-color-gradient {
@@ -62,16 +73,41 @@ h1 {
6273
span.img-bg {
6374
display: inline-block;
6475
padding: 24px;
76+
font-size:12px;
77+
}
78+
79+
.text-uppercase {
80+
text-transform: uppercase!important;
6581
}
6682

6783
// Section containers
6884
.section-container {
6985
background-color: #fff;
70-
border-top: 2px solid #aed4df
86+
border-top: 2px solid #aed4df;
87+
.wrapper {
88+
top: -60px;
89+
position: relative;
90+
padding: 15px 30px 0px;
91+
max-width: 1024px;
92+
margin: 0 auto;
93+
}
7194
}
7295
.section-title-icon {
96+
font-size:12px;
97+
display: flex;
98+
justify-content: center;
99+
span {
100+
height: 110px;
101+
width: 110px;
102+
padding: 20px 20px 24px;
103+
display: flex;
104+
flex-direction: column;
105+
justify-content: center;
106+
align-items: center;
107+
}
73108
img {
74109
margin-bottom: 5px;
110+
max-width: 30px;
75111
}
76112
}
77113

@@ -144,25 +180,12 @@ span.img-bg {
144180

145181
// Stories
146182
.showcase-stories {
147-
top: -60px;
148-
position: relative;
149-
padding: 15px 30px 0px;
150-
max-width: 1024px;
151-
margin: 0 auto;
152-
153183
hr {
154184
border-color: #aed4df;
155185
border-top-width: 2px;
156186
margin: 2em 0;
157187
}
158188

159-
.img-bg {
160-
font-size:12px;
161-
img {
162-
max-width: 30px;
163-
}
164-
}
165-
166189
a {
167190
text-decoration: none;
168191
}
@@ -204,3 +227,10 @@ span.img-bg {
204227

205228
}
206229
}
230+
231+
// Partners
232+
.showcase-partners .logos img {
233+
margin: 10px 20px;
234+
max-width: 150px;
235+
max-height: 70px;
236+
}
13.9 KB
Loading
Lines changed: 39 additions & 0 deletions
Loading
Lines changed: 69 additions & 0 deletions
Loading
Lines changed: 2 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)