/* Theme Name: biogenic Description: Used to style the content editor in posts and pages. */ /* =Body ----------------------------------------------- */ html .mceContentBody { max-width: 700px; } body { color: #333; font-family: 'Lato', sans-serif; font-size: 14px; line-height: 1.3; } /* =Base elements ----------------------------------------------- */ img { max-width: 100%; height: auto; } a { color: #3C14A6; } a:visited { color: #701932; } h1, h2, h3, h4, h5, h6 { clear: right; font-family: 'Lato', sans-serif; font-weight: 400; color: #333; margin: 8px 0; } h1 { font-size: 26px; } h2 { font-size: 24px; } h3 { font-size: 22px; } h4 { font-size: 20px; } h5 { font-size: 18px; } h6 { font-size: 16px; } p, ul, ol { font-size: 16px; line-height: 1.5em; } /* =Blockquotes ----------------------------------------------- */ blockquote { background: #f2f2ed; border-left: 3px solid #888; margin: 1.5em 1em; padding: 1em 1em; line-height: 1.5; font-size: 16px; font-style: italic; quotes: "\201C" "\201D" "\2018" "\2019"; } blockquote:before { color: #999; content: open-quote; font-size: 4em; line-height: 0.1em; margin-right: 0.25em; vertical-align: -0.4em; } blockquote p { display: inline; } blockquote cite, blockquote small { color: #333; display: block; font-size: 16px; line-height: 1.5; } blockquote cite:before, blockquote small:before { content: "\f007"; color: #777; font-family: FontAwesome; font-size: 12px; margin: 0 5px; } blockquote em, blockquote i, blockquote cite { font-style: normal; } blockquote strong, blockquote b { font-weight: 400; } blockquote > :last-child { margin-bottom: 0; } /* =Images ----------------------------------------------- */ .wp-caption { margin-bottom: 1.5em; max-width: 100%; } .wp-caption img[class*="wp-image-"] { display: block; margin: 0 auto; } .wp-caption .wp-caption-text { margin: 0; } .wp-caption-text { text-align: center; } .wp-caption .wp-caption-text, .gallery-caption { padding: 0.5em 1em; font-size: 14px;; font-family: 'Lato', sans-serif; background: #f9f9f7; border: solid 1px #ccc; border-radius: 5px; } /* Due to HTML5 galleries being activated default gallery styling does not apply.*/ .site-main .gallery { margin-bottom: 1em; } .gallery-caption { position: absolute; bottom: 0; left: 0; max-height: 50%; width: 100%; padding: 6px 8px; margin: 0; font-size: 12px; line-height: 1.5; color: #fff; text-align: left; background-color: #111; opacity: 0; } .gallery-item:hover .gallery-caption, .gallery-item:focus .gallery-caption { opacity: 1; } .site-main .gallery a img { display: block; max-width: 100%; height: auto; margin: 0 auto; border: none; } .site-main .gallery-item { position: relative; float: left; max-width: 100%; margin-right: 3.333333333%; margin-bottom: 1.5em; overflow: hidden; background: #333; } .site-main .gallery dd, .site-main .gallery figcaption { margin: 0; } .site-main .gallery-columns-4 .gallery-item { } .site-main .gallery-columns-4 .gallery-item img { } /* =Alignment ----------------------------------------------- */ .alignleft { display: inline; float: left; margin-right: 1.5em; } .alignright { display: inline; float: right; margin-left: 1.5em; } .aligncenter { clear: right; display: block; margin: 0 auto; }