Skip to content

Commit a2d2ed4

Browse files
committed
Fix up banner on small screen
1 parent 3c769da commit a2d2ed4

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

css/style.css

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ dd {
4747

4848
/**** HEADER ****/
4949
.header {
50+
position: relative;
5051
font-family: "Roboto Slab";
5152
font-size: 20px;
5253
line-height: 50px;
@@ -126,21 +127,22 @@ dd {
126127
.banner {
127128
font-family: "Roboto Slab";
128129
font-size: 16px;
129-
line-height: 50px;
130130
padding: 0px 10px;
131131
min-height: 50px;
132132
background: #333;
133133
border-bottom: 1px solid #eee;
134-
text-align: center;
134+
display: flex;
135+
flex-direction: column;
136+
justify-content: center;
137+
align-items: center;
135138
}
136139
.banner-content {
137-
width: 100%;
138-
max-width: 1155px;
139-
min-width: 755px;
140140
margin: 0 auto;
141-
color: #fff;
141+
color: #fff;
142+
}
143+
.banner-content span {
144+
margin: 0 4px;
142145
}
143-
144146
/**** END HEADER ****/
145147

146148
.footer {
@@ -306,5 +308,6 @@ dd {
306308

307309
.banner-content {
308310
min-width: 0;
311+
font-size: 0.8em
309312
}
310313
}

0 commit comments

Comments
 (0)