Skip to content

Commit ced072b

Browse files
author
Meredith G Hoo
committed
making mobile responsive
1 parent 88dd998 commit ced072b

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

css/secrets.css

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
body {
22
overflow: hidden;
33
position: relative;
4-
left: -100px;
5-
top: -100px;
64
background: #000;
5+
margin: 0;
76
}
87

98
.row {
109
display: flex;
11-
margin-left: 1em;
1210
}
1311
.row:nth-child(2n) {
1412
position: relative;
@@ -37,3 +35,13 @@ svg {
3735
transform:rotate(0deg);
3836
}
3937
}
38+
@media only screen and (max-width: 450px) {
39+
.row:nth-child(2n) {
40+
position: relative;
41+
left: 75px;
42+
}
43+
body {
44+
left: -100px;
45+
top: 10px;
46+
}
47+
}

0 commit comments

Comments
 (0)