Skip to content

Commit c064f65

Browse files
more media queries for ocean
1 parent 235dd19 commit c064f65

1 file changed

Lines changed: 27 additions & 3 deletions

File tree

application/static/css/waves.css

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

44
.ocean {
5-
height: 5.35rem;
5+
height: 1.5rem;
66
max-height: 38%;
77
width: 100%;
88
position: absolute;
@@ -11,9 +11,33 @@
1111
background: #015871;
1212
}
1313

14-
@media screen and (min-width: 760px) {
14+
@media screen and (min-width: 720px) {
1515
.ocean {
16-
height: 13.35rem;
16+
height: 2rem;
17+
}
18+
}
19+
20+
@media screen and (min-width: 1080px) {
21+
.ocean {
22+
height: 4rem;
23+
}
24+
}
25+
26+
@media screen and (min-width: 1280px) {
27+
.ocean {
28+
height: 6rem;
29+
}
30+
}
31+
32+
@media screen and (min-width: 1920px) {
33+
.ocean {
34+
height: 10rem;
35+
}
36+
}
37+
38+
@media screen and (min-width: 2160px) {
39+
.ocean {
40+
height: 12rem;
1741
}
1842
}
1943

0 commit comments

Comments
 (0)