Skip to content

Commit ba5ce37

Browse files
committed
made responsive for mobile
Signed-off-by: Akash Hadagali <[email protected]>
1 parent b307f5d commit ba5ce37

File tree

2 files changed

+18
-15
lines changed

2 files changed

+18
-15
lines changed

docs/_sass/mailing-list.scss

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,29 @@
11
.mailing-section {
22
background: #1e2117;
33
color: white;
4-
4+
padding: 162px 0;
5+
@media #{$mobile} {
6+
padding: 87px 0;
7+
}
58

6-
a, a:hover, a:focus, a:active{
9+
a,
10+
a:hover,
11+
a:focus,
12+
a:active {
713
text-decoration: none;
814
color: inherit;
915
}
10-
11-
16+
1217
.mailinglist-main {
13-
margin: 62px auto;
1418
position: relative;
1519
display: flex;
16-
flex-direction: column;
17-
align-items: center;
20+
flex-direction: column;
21+
align-items: center;
1822

1923
.mailinglist-text {
20-
21-
2224
margin-bottom: 40px;
2325
display: block;
24-
span{
26+
span {
2527
font-size: 34px;
2628
}
2729

@@ -30,8 +32,6 @@
3032
margin: 0 3rem;
3133
color: white;
3234
font-size: 20px;
33-
34-
3535
}
3636
}
3737

@@ -40,7 +40,7 @@
4040
flex-wrap: wrap;
4141
justify-content: center;
4242
align-items: center;
43-
43+
4444
.mailinglist-join-button {
4545
display: flex;
4646
justify-content: center;
@@ -50,11 +50,14 @@
5050
height: 56px;
5151
border-radius: 5px;
5252
margin: 2rem 0 0;
53-
5453
}
5554

5655
.mailinglist-join-button:not(:first-child) {
5756
margin-left: 1rem;
57+
@media #{$mobile} {
58+
margin-left: 0;
59+
60+
}
5861
}
5962
}
6063
}

docs/assets/css/main.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
---
3-
3+
@import "variables.scss";
44
@import "getnighthawk.scss";
55
@import "faq.scss";
66
@import "getnighthawk-purpose.scss";

0 commit comments

Comments
 (0)