Skip to content

Commit 0d3daeb

Browse files
improved consistency of wave gradient to make more seamless plus arranged wave height and font color to be more legible while appearing and disappearing with the wave
1 parent cd3f810 commit 0d3daeb

2 files changed

Lines changed: 16 additions & 9 deletions

File tree

application/static/css/style.css

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ h1 {
4141
padding: 0;
4242
font-size: 1.2rem;
4343
font-family: custom-bold;
44-
color: rgb(56, 59, 80);
44+
color: inherit;
4545
}
4646

4747
@media screen and (min-width: 760px) {
@@ -68,9 +68,8 @@ ul {
6868
margin: 0;
6969
padding: 0;
7070
overflow-x: hidden;
71-
box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px,
72-
rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px,
73-
rgba(0, 0, 0, 0.07) 0px 16px 16px;
71+
border-bottom: 4px solid #0f6c79;
72+
box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 3px 0px;
7473
}
7574

7675
@media screen and (min-width: 760px) {
@@ -176,7 +175,8 @@ p {
176175
}
177176

178177
p {
179-
font-size: 0.9rem;
178+
max-width: 72ch;
179+
font-size: 1rem;
180180
font-family: custom-regular;
181181
margin: 0;
182182
padding: 7px 15px;
@@ -185,7 +185,6 @@ p {
185185
@media screen and (min-width: 760px) {
186186
p {
187187
font-size: 1.2rem;
188-
width: 75ch;
189188
}
190189
}
191190

@@ -269,6 +268,7 @@ p {
269268
overflow: hidden;
270269
text-align: center;
271270
line-height: 1.6;
271+
color: rgb(255, 253, 250);
272272
background-color: rgb(255, 253, 250);
273273
}
274274

@@ -291,7 +291,7 @@ p {
291291

292292
a#dynamic-example {
293293
text-decoration: underline;
294-
color: rgb(31, 34, 58);
294+
color: rgb(255, 253, 250);
295295
font-weight: bold;
296296
}
297297

application/static/css/waves.css

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,22 @@
22
/* Source code: https://codepen.io/tedmcdo/pen/PqxKXg */
33

44
.ocean {
5-
height: 5%;
5+
height: 5.35rem;
6+
max-height: 38%;
67
width: 100%;
78
position: absolute;
89
bottom: 0;
910
left: 0;
10-
background: #005a71;
11+
background: #015871;
1112
opacity: 0.7;
1213
}
1314

15+
@media screen and (min-width: 760px) {
16+
.ocean {
17+
height: 13.35rem;
18+
}
19+
}
20+
1421
.wave {
1522
background: url("../images/wave.svg") repeat-x;
1623
position: absolute;

0 commit comments

Comments
 (0)