Skip to content

Commit

Permalink
Merge branch 'style-img-responsive' into new-style
Browse files Browse the repository at this point in the history
  • Loading branch information
Raniere Silva committed Apr 25, 2015
2 parents bb6f0f2 + 0c3058b commit b42f539
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions css/swc.css
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,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;
Expand Down

0 comments on commit b42f539

Please sign in to comment.