Skip to content
Snippets Groups Projects
Commit 1ad953ee authored by Raniere Silva's avatar Raniere Silva
Browse files

Solve issue #44

The 'box' class overflow the window width for some screen size.
This patch fix it using CSS media query.
parent e83e2c9b
Branches
Tags
No related merge requests found
......@@ -102,7 +102,6 @@ div.banner a img {
/* Explanatory call-out boxes. */
div.box {
width: 54em;
background-color: mistyrose;
display: block;
margin-left: auto;
......@@ -115,6 +114,16 @@ div.box {
outline-width: 1px;
outline-style: solid;
}
@media (max-width: 700px) {
div.box {
width: 80%;
}
}
@media (min-width: 700px) {
div.box {
width: 54em;
}
}
/* Level 2 headings inside pages. */
div.content div h3 {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment