Skip to content

Commit 98d4a9d

Browse files
Refactored CSS 🚀
1 parent c621305 commit 98d4a9d

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

css/grid.css

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ body {
2020
background: #333;
2121
color: #666;
2222
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
23-
font-size: 16px;
23+
font-size: 100%;
2424
line-height: 1.5;
2525
}
2626

@@ -43,32 +43,28 @@ body {
4343
}
4444

4545
div[class*="col-"] {
46+
float: left;
4647
padding: .75em;
4748
}
4849

49-
@media all and (min-width: 600px) {
50+
@media all and (min-width: 37em) {
5051
.col-2-3 {
51-
float: left;
5252
width: 66.66%;
5353
}
5454

5555
.col-1-2 {
56-
float: left;
5756
width: 50%;
5857
}
5958

6059
.col-1-3 {
61-
float: left;
6260
width: 33.33%;
6361
}
6462

6563
.col-1-4 {
66-
float: left;
6764
width: 25%;
6865
}
6966

7067
.col-1-8 {
71-
float: left;
7268
width: 12.5%;
7369
}
7470
}

css/grid.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)