Skip to content

Commit 88fe0c1

Browse files
committed
Fixed margin on DD elements, plus added initial mobile media-query.
1 parent 8f82f95 commit 88fe0c1

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

css/advanced.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,10 @@ body {
33
margin-left: auto;
44
margin-right: auto;
55
}
6+
7+
/* Mobile Landscape CSS */
8+
@media all and (max-device-width: 480px) and (orientation:portrait) {
9+
body {
10+
width: 22.375em; /* 358px @ 16px */
11+
}
12+
}

css/basic.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ p, dt, dd {
2020
margin-bottom: 1.5em;
2121
padding: 0 1.5em;
2222
}
23+
dd {
24+
margin-left: 1.5em;
25+
}
2326
h1, h2, h3, h4, h5, h6 {
2427
font-family: "Gill Sans", sans-serif;
2528
font-weight: normal;

0 commit comments

Comments
 (0)