/* Theme Name: Maker Description: Used to style the TinyMCE editor. */ /** * Table of Contents * * 0.1 Normalize * 0.2 Typography * Headings * Copy * Links * Blockquotes * Lists * Tables * Code * 0.3 Repeatable Patterns * Images * Lines * Media * Captions * Alignments * Clearings * 0.4 Content * Galleries */ /** * Normalize. Editor modifications. */ *, *:before, *:after { box-sizing: inherit; } html { box-sizing: border-box; font-family: Helvetica, Arial, sans-serif; font-size: 16px; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } body { max-width: 480px; margin: 3em 5%; color: #585858; background: #fff; font-family: inherit; line-height: 1.5; } article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary { display: block; } audio, canvas, progress, video { display: inline-block; vertical-align: baseline; } audio:not([controls]) { display: none; height: 0; } [hidden], template { display: none; } abbr[title], acronym { border-bottom: 1px dotted; cursor: help; } b, strong { font-weight: bold; } dfn, em, i { font-style: italic; } mark, ins { color: #585858; background-color: rgba(88, 88, 88, 0.2); text-decoration: none; } small { font-size: 12px; font-size: 0.75rem; } sub, sup { position: relative; font-size: 75%; line-height: 0; vertical-align: baseline; } sup { top: -0.5em; } sub { bottom: -0.25em; } img { border: 0; } svg:not(:root) { overflow: hidden; } figure { margin: 0 0 1.5em 0; } textarea { margin: 0; color: inherit; font: inherit; } textarea { overflow: auto; } optgroup { font-weight: bold; } table { border-spacing: 0; } td, th { padding: 0; } /** * Typography. */ /* Headings */ h1, h2, h3, h4, h5, h6 { clear: both; margin-top: 0; margin-bottom: 1.5rem; color: #1e1e1e; font-weight: bold; line-height: 1.125; } h1 { font-size: 1.5em; } h2 { font-size: 1.25em; } h3 { font-size: 1.25em; font-weight: normal; } h4 { font-size: 0.875em; letter-spacing: 3px; text-transform: uppercase; } h5 { font-size: 0.875em; font-weight: normal; letter-spacing: 2px; text-transform: uppercase; } h6 { font-size: 1em; font-weight: bold; } .entry-content h1, .entry-content h2, .comment-content h1, .comment-content h2 { margin-top: 3rem; } .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6, .comment-content h3, .comment-content h4, .comment-content h5, .comment-content h6 { margin-top: 2rem; margin-bottom: 13.5px; margin-bottom: 0.75rem; } /* Copy */ p { margin: 0 0 1.5em; } address { margin: 0 0 1.5em; } big { font-size: 1.25em; line-height: 16px; line-height: 1rem; } /* Links */ a { color: #f45844; background-color: transparent; text-decoration: none; } a:hover, a:active { outline: 0; text-decoration: underline; } a:focus { outline: thin dotted; outline: 5px auto -webkit-focus-ring-color; outline-offset: -2px; text-decoration: underline; } /* Blockquotes */ blockquote { margin: 1.5rem; color: #1e1e1e; font-family: Georgia, 'Times New Roman', Times, serif; font-size: 24px; font-size: 1.5rem; font-style: italic; line-height: 1.125; quotes: '' ''; } blockquote:before, blockquote:after { content: ''; } blockquote p { margin: 0; } blockquote cite { display: block; margin: 0 0 -1.2em 0; font-family: Helvetica, Arial, sans-serif; font-size: 10px; font-size: 0.625rem; font-style: normal; line-height: 24px; line-height: 1.5rem; letter-spacing: 2px; text-transform: uppercase; } /* Lists */ ul, ol { margin: 0 0 1.5em 0.75em; padding-left: 1.5em; } ul li, ol li { margin-bottom: 0.75em; } ul { list-style: disc; } ol { list-style: decimal; } li > ul, li > ol { margin-top: 0.75em; margin-bottom: 0; margin-left: 0.75em; } dt { font-weight: bold; } dd { margin: 0 0 1.5em; } /* Tables. Editor modifications */ .mce-item-table, .mce-item-table td, .mce-item-table th, .mce-item-table caption { border: none; border-spacing: 0; } .mce-item-table td, .mce-item-table th { border-bottom: 1px solid; border-bottom-color: rgba(88, 88, 88, 0.2); } /* Tables */ table { width: 100%; margin-top: 2em; margin-bottom: 2em; padding: 0; } td, th { padding: 0.75em; border-bottom: 1px solid rgba(88, 88, 88, 0.2); text-align: left; } thead th { padding: 1em; background-color: rgba(88, 88, 88, 0.2); font-size: 12px; font-size: 0.75rem; font-weight: bold; line-height: 24px; line-height: 1.5rem; letter-spacing: 2px; text-transform: uppercase; } /* Code */ pre { overflow: auto; max-width: 100%; margin: 2em 0; padding: 1.5em; color: #f0f0f0; background-color: #1e1e1e; font-family: Courier, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-weight: bold; word-wrap: initial; } code, kbd, samp, tt, var { padding: 3px 5px; border-radius: 3px; background-color: rgba(0, 0, 0, 0.05); font-family: Courier, 'Andale Mono', 'DejaVu Sans Mono', monospace; white-space: nowrap; } /** * Repeatable Patterns */ /* Images */ img { max-width: 100%; height: auto; } /* Lines */ hr { box-sizing: content-box; height: 2px; margin-top: -2px; margin-bottom: 1.5em; border: 0; background-color: rgba(88, 88, 88, 0.2); } /* Media. Editor modifications */ .wpview-wrap .toolbar .dashicons { box-sizing: content-box; } .wp-smiley { margin-top: 0; margin-bottom: 0; padding: 0; border: none; } embed, iframe, object, video { max-width: 100%; margin-bottom: 1.5em; vertical-align: middle; } p > embed, p > iframe, p > object, p > video { margin-bottom: 0; } .mejs-container { margin: 0; } .wpview-wrap[data-wpview-type='playlist'], .wpview-wrap[data-wpview-type='audio'], .wpview-wrap[data-wpview-type='video'], .wpview-wrap[data-wpview-type='embedURL'] { margin-bottom: 1.5em; padding: 2px 2px 2px 2px; } .wpview-wrap[data-wpview-type='playlist'] iframe, .wpview-wrap[data-wpview-type='audio'] iframe, .wpview-wrap[data-wpview-type='video'] iframe, .wpview-wrap[data-wpview-type='embedURL'] iframe { margin-bottom: 0; } .mce-content-body .mejs-time { padding-top: 11px; } .mce-content-body .wp-playlist { max-width: 100%; margin: 0; padding: 0; border: none; font-size: 16px; font-size: 1rem; line-height: 24px; line-height: 1.5rem; } .mce-content-body .wp-playlist-tracks { margin-top: 1.5em; } .mce-content-body .wp-playlist-light { color: #585858; background-color: transparent; } .mce-content-body .wp-playlist-current-item { height: 4.5em; margin-bottom: 1.5em; } .mce-content-body .wp-playlist-current-item img { max-width: 4.5em; margin-right: 1.5em; } .mce-content-body .wp-playlist-item, .mce-content-body .wp-playlist-item-length { padding: 0.625em 0.75em 0.75em; } .mce-content-body .wp-playlist-item { border-bottom: 1px solid rgba(88, 88, 88, 0.2); } .mce-content-body .wp-playlist-caption, .mce-content-body [class*='wp-playlist-item-'] { font-size: 16px; font-size: 1rem; font-style: normal; line-height: 24px; line-height: 1.5rem; text-transform: none; } .mce-content-body .wp-playlist-playing { border-bottom: 1px solid; border-bottom-color: rgba(88, 88, 88, 0.2); background-color: rgba(88, 88, 88, 0.2); font-weight: normal; } /* Captions. Editor modifications */ .wp-caption { max-width: 100%; margin-bottom: 0.5em; } .wp-caption img[class*='wp-image-'] { display: block; margin-right: auto; margin-left: auto; } .wp-caption .wp-caption-dd { display: block; margin: 1em 0; padding: 0; font-family: Helvetica, Arial, sans-serif; font-size: 12px; font-size: 0.75rem; font-weight: normal; font-style: normal; line-height: 2em; text-align: left; } /* Alignments */ .alignleft { float: left; } .alignright { float: right; } .aligncenter { display: block; margin-right: auto; margin-left: auto; } img.alignleft, .wp-caption.alignleft { margin: 0.5rem 1.5rem 0.5rem 0; } img.alignright, .wp-caption.alignright { margin: 0.5rem 0 0.5rem 1.5rem; } blockquote.alignleft { float: none; margin: 1.5em; } blockquote.alignright { float: none; margin: 1.5em; } /* Clearings */ .clear:after, .gallery:after, .gallery-item:after { display: table; clear: both; content: ''; } /** * Content */ .mce-content-body { word-wrap: break-word; -webkit-hyphens: auto; -ms-hyphens: auto; hyphens: auto; } /* Galleries */ .gallery, #content .tiled-gallery { margin: 0 -2px 1.375em; } .gallery-item { float: left; overflow: hidden; margin: 0; border: 2px solid transparent; } .gallery-item img, .gallery-item a { display: block; margin-bottom: 0; } .gallery-columns-1 .gallery-item { width: 100%; } .gallery-columns-2 .gallery-item { width: 50%; } .gallery-columns-3 .gallery-item { width: 33.33333%; } .gallery-columns-4 .gallery-item { width: 25%; } .gallery-columns-5 .gallery-item { width: 20%; } .gallery-columns-6 .gallery-item { width: 16.66667%; } .gallery-columns-7 .gallery-item { width: 14.28571%; } .gallery-columns-8 .gallery-item { width: 12.5%; } .gallery-columns-9 .gallery-item { width: 11.11111%; } .gallery-columns-10 .gallery-item { width: 10%; } .gallery-caption { display: block; overflow: hidden; height: 1.5em; margin: 0.75em 0 2em; font-size: 0.75em; white-space: nowrap; text-overflow: ellipsis; } .gallery-columns-1 figure.gallery-item:nth-of-type(1n+1), .gallery-columns-2 figure.gallery-item:nth-of-type(2n+1), .gallery-columns-3 figure.gallery-item:nth-of-type(3n+1) { clear: left; } .gallery-columns-6 .gallery-caption, .gallery-columns-7 .gallery-caption, .gallery-columns-8 .gallery-caption, .gallery-columns-9 .gallery-caption, .gallery-columns-10 .gallery-caption { display: none; } /* Galleries. Editor modification */ .wpview-wrap[data-wpview-type='gallery'] { display: inline-block; width: auto; margin-bottom: 1.5em; } .gallery { margin: 0; padding: 0; } .gallery .gallery-item { box-sizing: border-box; padding: 0; line-height: 1.5; text-align: left; } .gallery .gallery-caption { box-sizing: border-box; margin: 0; font-size: 12px; } .gallery:after:after { display: table; clear: both; content: ''; } @media screen and (min-width: 768px) { body { margin: 3em auto; } h1 { font-size: 1.75em; } blockquote { margin: 3rem; } blockquote.alignleft { float: left; max-width: 50%; margin: 3em 1.5em 3em 0; } blockquote.alignright { float: right; max-width: 50%; margin: 3em 0 3em 1.5em; } }