Skip to content

Commit 75f86ef

Browse files
committed
fix mobile styling a bit
1 parent 6891069 commit 75f86ef

File tree

2 files changed

+33
-13
lines changed

2 files changed

+33
-13
lines changed

assets/scss/_landingpage.scss

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,48 @@
11
.landing-page-container {
22
width: 100vw;
33
max-width: 100vw;
4-
min-height: 100vh;
4+
5+
@media (max-width: 1200px) {
6+
min-height: 77vh;
7+
}
8+
9+
@media (min-width: 1200px) {
10+
min-height: 100vh;
11+
}
512
background-color: #DFF1FF;
613
}
714

815
.landing-page-top-row {
9-
min-height: 33vh;
16+
@media (max-width: 1200px) {
17+
min-height: 20vh;
18+
}
19+
20+
@media (min-width: 1200px) {
21+
min-height: 33vh;
22+
}
1023
}
1124

1225
.landing-page-middle-row {
1326
min-height: 42vh;
1427
}
1528

1629
.landing-page-bottom-row {
17-
min-height: 25vh;
30+
31+
@media (max-width: 1200px) {
32+
min-height: 15vh;
33+
}
34+
35+
@media (min-width: 1200px) {
36+
min-height: 25vh;
37+
}
1838
}
1939

2040
.landing-page-col-content {
2141
z-index: 20;
2242
}
2343

2444
.landing-page-title {
25-
font-size: 5rem;
45+
font-size: 4rem;
2646
text-align: center;
2747
font-weight: 600;
2848
}

layouts/index.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,26 @@
99
{{ with .Params.Banner }}
1010
<section class="container landing-page-container content mx-0 mt-5">
1111
<div class="row landing-page-top-row">
12-
<div class="landing-page-col col-lg-2 col-md-12 col-sm-12">
12+
<div class="landing-page-col col-xl-2 d-none d-xl-block">
1313
<div class="shape shape-square-top-left"></div>
1414
<div class="shape shape-square-middle-left"></div>
1515
</div>
16-
<div class="landing-page-col col-lg-8 col-md-12 col-sm-12">
16+
<div class="landing-page-col col-xl-8 col-12">
1717
<div class="shape shape-circle-top-middle__left"></div>
1818
<div class="shape shape-triangle-top-middle"></div>
1919
<div class="shape shape-square-top-middle__middle"></div>
2020
<div class="shape shape-circle-top-middle__right"></div>
2121
<div class="shape shape-square-top-middle__right"></div>
2222
</div>
23-
<div class="landing-page-col col-lg-2 col-md-12 col-sm-12">
23+
<div class="landing-page-col col-xl-2 d-none d-xl-block">
2424
<div class="shape shape-circle-top-right"></div>
2525
</div>
2626
</div>
2727
<div class="row landing-page-middle-row">
28-
<div class="landing-page-col col-lg-2 col-md-12 col-sm-12">
28+
<div class="landing-page-col col-xl-2 d-none d-xl-block">
2929
<div class="shape shape-circle-middle-left"></div>
3030
</div>
31-
<div class="landing-page-col landing-page-col-content col-lg-8 col-md-12 col-sm-12">
31+
<div class="landing-page-col landing-page-col-content col-xl-8 col-12">
3232
<h1 class="landing-page-title mt-5" style="color:#005aa7;">{{.title}}</h1>
3333
{{ with .slogan }}
3434
<!-- Slogan -->
@@ -67,23 +67,23 @@ <h2 class="landing-page-slide-title" style="color:#005aa7; font-weight:100;"><i
6767
{{ end }}
6868
</div>
6969

70-
<div class="landing-page-col col-lg-2 col-md-12 col-sm-12">
70+
<div class="landing-page-col col-xl-2 d-none d-xl-block">
7171
<div class="shape shape-square-middle-right"></div>
7272
</div>
7373
</div>
7474
<!-- /al-go-pru-dence -->
7575
</div>
7676
<div class="row landing-page-bottom-row">
77-
<div class="landing-page-col col-lg-2 col-md-12 col-sm-12">
77+
<div class="landing-page-col col-xl-2 d-none d-xl-block">
7878
<div class="shape shape-square-bottom-left"></div>
7979
</div>
80-
<div class="landing-page-col col-lg-8 col-md-12 col-sm-12">
80+
<div class="landing-page-col col-xl-8 col-12">
8181
<div class="shape shape-square-bottom-middle__most-left"></div>
8282
<div class="shape shape-square-bottom-middle__left"></div>
8383
<div class="shape shape-square-bottom-middle__right"></div>
8484
<div class="shape shape-square-bottom-middle__most-right"></div>
8585
</div>
86-
<div class="landing-page-col col-lg-2 col-md-12 col-sm-12">
86+
<div class="landing-page-col col-xl-2 d-none d-xl-block">
8787
<div class="shape shape-triangle-bottom-right"></div>
8888
</div>
8989
</div>

0 commit comments

Comments
 (0)