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

Improve figures

Figures should be centered
and not overflow the screen.
parent d5769347
Branches
Tags
No related merge requests found
......@@ -117,6 +117,29 @@ blockquote.testimonial cite {
font-size: inherit;
}
/* Images
*
* Rules from http://getbootstrap.com/css/#images-responsive.
*
* This is compatible with Pandoc behavior for HTML and HTML5. */
article img {
max-width: 100%;
height: auto;
display: block;
margin-left: auto;
margin-right: auto;
}
article div.figure,
article figure {
text-align: center;
}
article p.caption::before,
article figcaption::before {
content: "Figure: ";
}
/* Main body of pages. */
body {
font-family: "Open Sans", "Helvetica", "Arial", sans-serif;
......
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