Skip to content

Commit 7dede98

Browse files
committed
Ensure that div.content will always have margins
1 parent c8cf2ca commit 7dede98

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

techniques/authoring-html.en.html

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,24 @@
6161
float: none;
6262
}
6363

64+
/* Responsive fix for narrow screens */
65+
@media (max-width: 768px) {
66+
div.content {
67+
margin: 1em;
68+
padding: 1.5em;
69+
max-width: none;
70+
box-sizing: border-box;
71+
}
72+
}
73+
74+
@media (max-width: 480px) {
75+
div.content {
76+
margin: 0.5em;
77+
padding: 1em;
78+
border-radius: 4px;
79+
}
80+
}
81+
6482
/* Headings */
6583
h1, h2, h3, h4, h5, h6 {
6684
font-family: "Georgia", serif;
@@ -3280,7 +3298,7 @@ <h5 class="howto">How to's</h5>
32803298
</li>
32813299
<li class="nonw3">
32823300
<p class="link"><a href="http://bittersmann.de/articles/no-flags/">About languages and flags</a></p>
3283-
<p class="desc">On some Web pages youll find country flags as symbols for languages. This article explains why this approach is problematic, and what you should do instead.</p>
3301+
<p class="desc">On some Web pages you'll find country flags as symbols for languages. This article explains why this approach is problematic, and what you should do instead.</p>
32843302
</li>
32853303
</ul>
32863304
</div>

0 commit comments

Comments
 (0)