/* Theme Name: Avanti Description: Used to style the TinyMCE editor. */ /** * Table of Contents: * * 1.0 - Normalize * 2.0 - Typography * 3.0 - Elements * 4.0 - Alignments * 5.0 - Media */ /* * 1.0 - Normalize */ li, fieldset, figure, hr { margin: 0; } fieldset { padding: 0; } a { background-color: transparent; } a:active, a:hover { outline: 0; } svg:not(:root) { overflow: hidden; } hr { box-sizing: content-box; } b, strong { font-weight: bold; } small { font-size: 80%; } big { font-size: 125%; } sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sup { top: -0.5em; } sub { bottom: -0.25em; } dfn, cite, em, i, address { font-style: italic; } abbr[title], dfn[title] { cursor: help; border-bottom: 1px dotted; } /** * 2.0 - Typography */ body { font: 400 16px/1.625 'Roboto', Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 1rem; word-wrap: break-word; color: #333; } h1, h2, h3, h4, h5, h6 { font-family: 'Oswald', Helvetica Neue, Helvetica, Arial, sans-serif; font-weight: 700; margin: 0 0 1.625rem; color: #404040; text-rendering: optimizeLegibility; } h1 { font-size: 2rem; line-height: 1.625; } h2 { font-size: 1.625rem; line-height: 1; } h3 { font-size: 1.375rem; line-height: 1.182; } h4 { font-size: 1.25rem; line-height: 1.3; } h5 { font-size: 1.125rem; line-height: 1.445; } h6 { font-size: 1rem; line-height: 1.625; } blockquote { font-family: Georgia, Serif; font-size: 18px; font-style: italic; line-height: 1.4445; line-height: 1.625; position: relative; width: 100%; margin: 0 0 1.625rem; padding: 1.2em 1.75em 1.2em 3em; border-left: 8px solid #78c0a8 ; background: #f2f2f2; } blockquote::before { font-family: Arial; font-size: 4em; position: absolute; top: -10px; left: 10px; content: '\201C'; color: #78c0a8; } blockquote::after { content: ''; } blockquote cite { font-size: 16px; line-height: 1.625; display: block; margin: 1.625rem 0 0; color: #404040; } blockquote > :last-child { margin-bottom: 0; } code, kbd, tt, var { font: 16px/1.625 Courier New, Courier, monospace; padding: 2px; white-space: pre; white-space: pre-wrap; word-wrap: break-word; color: maroon; background-color: #f2f2f2; } pre { font: 16px/1.625 Courier New, Courier, monospace; overflow: auto; max-width: 100%; margin: 0 0 1.625rem; padding: 0 0.8125em; color: maroon; border: 1px solid #e6e6e6; border-left-width: 10px; background: #f2f2f2 linear-gradient(#f2f2f2 50%, #fff 50%) repeat 0 0; background-image: -webkit-linear-gradient(#f2f2f2 50%, #fff 50%); background-size: 52px 52px; } pre code { padding: 0; background-color: transparent; } address, p { margin: 0 0 1.625rem; } dfn, cite, em, i { font-style: italic; } abbr, dfn[title], acronym { cursor: help; border-bottom: 1px dotted #666; } mark, ins { text-decoration: none; background: #fff9c0; } big { font-size: 125%; } dt { font-weight: 700; } @media only screen and (min-width: 768px) { html { font-size: 112.5%; } h1 { font-size: 2.5rem; line-height: 1.625; } code, kbd, samp, pre { font-family: monaco, Consolas, Lucida Console, monospace; } .entry-content, .entry-footer, .comment-content { font-size: 16px; line-height: 1.625; } } /** * 3.0 Elements */ body { padding: 2.5em; } hr { height: 1px; margin-bottom: 1.625rem; border: 0; background-color: #ccc; } ul, ol { margin: 0 0 1.625rem; padding: 0 0 0 1.625em; } ul { list-style: disc; } ol { list-style: decimal; } li > ul, li > ol { margin-bottom: 0; margin-left: 0.8125em; } dt { font-weight: bold; } dd { margin: 0 0.8125rem 1.625rem; } img { max-width: 100%; /* Adhere to container width. */ height: auto; /* Make sure images are scaled correctly. */ padding: 0; } figure { margin: 0; /* Extra wide images within figure tags don't overflow the content area. */ } table { font-size: 16px; line-height: 1.625; width: 100%; margin: 0 0 1.625rem; border-spacing: 0; border-collapse: separate; border: 1px solid #e6e6e6; border-width: 1px 0 0 1px; } td, th { padding: 0.8125em 0.5em; text-align: left; border: 1px solid #e6e6e6; border-width: 0 1px 1px 0; } tbody tr:nth-of-type(odd) { background-color: #f2f2f2; } /** * 4.0 Alignments */ .alignleft { float: left; margin-right: 13px; } .alignright { float: right; margin-left: 13px; } .aligncenter { display: block; margin-right: auto; margin-left: auto; } .alignnone { display: block; } /** * 5.0 Media */ /* Make sure embeds and iframes fit their containers. */ embed, iframe, object, video { max-width: 100%; } /** * 5.1 Captions */ .wp-caption { max-width: 100%; margin-bottom: 1.625rem; padding: 2px; border: 1px solid #e6e6e6; } .wp-caption img[class*='wp-image-'], .entry-content .gallery img { display: block; margin: 0; padding: 0; border: none; } .wp-caption-text { font-size: 14px; line-height: 1.8572; text-align: center; } /** * 5.2 Galleries */ .gallery { margin-bottom: 1.625rem; } .gallery-item { line-height: 10px; position: relative; float: left; overflow: hidden; margin: 0 4px 4px 0; } .gallery-columns-1.gallery-size-thumbnail { display: table; margin: 0 auto 1.625rem; } .gallery-columns-1 .gallery-item { text-align: center; } .gallery-columns-2 .gallery-item { max-width: 48%; max-width: calc(50% - 4px); } .gallery-columns-3 .gallery-item { max-width: 32%; max-width: calc(33.3% - 4px); } .gallery-columns-4 .gallery-item { max-width: 23%; max-width: calc(25% - 4px); } .gallery-columns-5 .gallery-item { max-width: 19%; max-width: calc(20% - 4px); } .gallery-columns-6 .gallery-item { max-width: 15%; max-width: calc(16.7% - 4px); } .gallery-columns-7 .gallery-item { max-width: 13%; max-width: calc(14.28% - 4px); } .gallery-columns-8 .gallery-item { max-width: 11%; max-width: calc(12.5% - 4px); } .gallery-columns-9 .gallery-item { max-width: 9%; max-width: calc(11.1% - 4px); } .gallery-columns-1 .gallery-item:nth-of-type(1n), .gallery-columns-2 .gallery-item:nth-of-type(2n), .gallery-columns-3 .gallery-item:nth-of-type(3n), .gallery-columns-4 .gallery-item:nth-of-type(4n), .gallery-columns-5 .gallery-item:nth-of-type(5n), .gallery-columns-6 .gallery-item:nth-of-type(6n), .gallery-columns-7 .gallery-item:nth-of-type(7n), .gallery-columns-8 .gallery-item:nth-of-type(8n), .gallery-columns-9 .gallery-item:nth-of-type(9n) { margin-right: 0; } .gallery-columns-1.gallery-size-medium figure.gallery-item:nth-of-type(1n+1), .gallery-columns-1.gallery-size-thumbnail figure.gallery-item:nth-of-type(1n+1), .gallery-columns-2.gallery-size-thumbnail figure.gallery-item:nth-of-type(2n+1), .gallery-columns-3.gallery-size-thumbnail figure.gallery-item:nth-of-type(3n+1) { clear: left; } .gallery-caption { font-size: 12px; font-style: italic; line-height: 1.2; position: absolute; bottom: 0; left: 0; box-sizing: border-box; width: 100%; max-height: 50%; margin: 0; padding: 0.5em 0.6667em; text-align: left; opacity: 0; color: #fff; background-color: rgba(0, 0, 0, 0.7); } .gallery-caption:before { position: absolute; top: 0; left: 0; width: 100%; height: 100%; min-height: 49px; content: ''; } .gallery-item:hover .gallery-caption { opacity: 1; } .gallery-columns-7 .gallery-caption, .gallery-columns-8 .gallery-caption, .gallery-columns-9 .gallery-caption { display: none; } @media only screen and (min-width: 389px) { .gallery-columns-2.gallery-size-thumbnail { display: table; margin: 0 auto 1.625rem; } .gallery-columns-2 .gallery-item { text-align: center; } } @media only screen and (min-width: 540px) { .gallery-columns-3.gallery-size-thumbnail { display: table; margin: 0 auto 1.625rem; } .gallery-columns-3 .gallery-item { text-align: center; } }