Skip to content

Commit 212397c

Browse files
committed
Consolidated media selectors.
1 parent ec52213 commit 212397c

File tree

1 file changed

+14
-18
lines changed

1 file changed

+14
-18
lines changed

source/css/style.css

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -51,24 +51,6 @@ pre code.php {
5151
font-size: 50px;
5252
}
5353

54-
55-
@media (max-width: 767px) {
56-
.jumbotron a.btn {
57-
font-size: 12px;
58-
padding: 5px 9px;
59-
}
60-
}
61-
62-
@media (min-width: 768px) {
63-
.jumbotron {
64-
font-size: 2em;
65-
margin-bottom: 2em;
66-
}
67-
.jumbotron a.btn {
68-
margin-top: 1em;
69-
}
70-
}
71-
7254
figure {
7355
text-align: center;
7456
}
@@ -125,6 +107,11 @@ ol.conventions .no {
125107
}
126108

127109
@media (max-width: 767px) {
110+
.jumbotron a.btn {
111+
font-size: 12px;
112+
padding: 5px 9px;
113+
}
114+
128115
ol.conventions li {
129116
padding-top: 0.2em;
130117
}
@@ -140,6 +127,15 @@ ol.conventions .no {
140127
}
141128

142129
@media (min-width: 768px) {
130+
.jumbotron {
131+
font-size: 2em;
132+
margin-bottom: 2em;
133+
}
134+
135+
.jumbotron a.btn {
136+
margin-top: 1em;
137+
}
138+
143139
.text p, .text ul, .text ol {
144140
font-size: 1.4em;
145141
line-height: 1.6em;

0 commit comments

Comments
 (0)