/* Theme Name: Aamla Version: 1.0.0 Description: Used to style the TinyMCE editor. License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html */ /** * Table of Contents: * * 1.0 - Normalize * 2.0 - WP Core * 3.0 - HTML Tags */ /* * 1.0 - Normalize */ html { line-height: 1.75; -webkit-text-size-adjust: 100%; } .wpview { width: 99.9%; /* Prevent Audio Playlist overflow. */ } abbr[title] { text-decoration: underline; text-decoration: underline dotted; border-bottom: none; -webkit-text-decoration: underline dotted; } b, strong { font-weight: 700; } small { font-size: 80%; } sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sub { bottom: -0.25em; } sup { top: -0.5em; } /* * 2.0 - WP Core */ /* Alignment */ .alignleft { float: left; margin: 0.875rem 1.75rem 0.875rem 0; } .alignright { float: right; margin: 0.875rem 0 0.875rem 1.75rem; } .aligncenter { display: block; clear: both; margin: 0 auto 1.75rem; } .alignnone { float: none; margin: 0 auto 1.75rem; } p .alignnone { margin: 0; } /* Gallery */ .gallery:after { display: table; clear: both; content: ""; } .gallery .gallery-item { position: relative; display: block; float: left; width: 50%; margin: 0 0 6px; padding: 0 3px; } .gallery br { display: none; } .gallery .gallery-item a, .gallery .gallery-item a:hover, .gallery .gallery-item a:focus { display: block; max-width: 100%; background: none; -webkit-box-shadow: none; box-shadow: none; } .gallery .gallery-columns-1 .gallery-item { width: 100%; } .gallery .gallery-columns-2 .gallery-item { width: 50%; } .gallery .gallery-item .gallery-icon { position: relative; } .gallery .gallery-item .gallery-icon a { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; } .gallery .gallery-item .gallery-icon a img { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; } .gallery .gallery-item .gallery-icon img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; } .gallery .gallery-item .gallery-icon:after { display: block; width: 100%; padding-top: 75%; content: ""; } .gallery .gallery-caption { position: absolute; right: 0; bottom: 0; left: 0; overflow: auto; max-height: 50%; margin: 0 3px; padding: 0.875em; -webkit-transition: opacity 0.25s ease; transition: opacity 0.25s ease; text-align: center; background: -webkit-gradient(linear, left top, right top, from(rgba(54, 54, 54, 0.6)), color-stop(85%, rgba(54, 54, 54, 0.4))); background: linear-gradient(to right, rgba(54, 54, 54, 0.6), rgba(54, 54, 54, 0.4) 85%); } .gallery .gallery-caption.wp-caption-text { color: #fff; } .gallery .gallery-item:hover .gallery-caption { opacity: 1; } .gallery img { display: block; margin: 0; } /* Image */ img { max-width: 100%; height: auto; vertical-align: middle; } a img { display: block; } /* Captions */ .wp-caption { max-width: 100%; margin-bottom: 1.75rem; } .wp-caption img[class*="wp-image-"] { display: block; margin: 0; } .wp-caption-text { font-size: 0.8rem; padding-top: 0.875em; color: #505050; } /* Make sure embeds and iframes fit their containers. */ embed, iframe, object, video { max-width: 100%; margin-bottom: 1.75em; vertical-align: middle; } p > embed, p > iframe, p > object, p > video { margin-bottom: 0; } /* WordPress media elements */ .wp-audio-shortcode { margin-top: 0; margin-bottom: 1.75em; } .wp-video { margin-top: 0; margin-bottom: 1.75em; } .wp-playlist.wp-audio-playlist { margin-top: 0; margin-bottom: 1.75em; padding-bottom: 0; } .wp-playlist .wp-playlist-tracks { margin-top: 0; } .wp-playlist-item .wp-playlist-caption { padding: 0.7em 0; border-bottom: 0; } .wp-playlist-item .wp-playlist-item-length { top: 0.7em; } .wp-playlist-caption:focus { outline: 0; } /* Smiley */ .wp-smiley { margin-top: 0; margin-bottom: 0; padding: 0; border: none; } /* Meta Js */ .mejs-container { margin-bottom: 1.75rem; } .mejs-controls a.mejs-horizontal-volume-slider, .mejs-controls a.mejs-horizontal-volume-slider:focus, .mejs-controls a.mejs-horizontal-volume-slider:hover { border: 0; background: transparent; } .mejs-audio.mejs-container, .mejs-audio.mejs-container .mejs-controls { height: 60px !important; border-radius: 4px; background: -webkit-gradient(linear, left top, right top, from(rgba(54, 54, 54, 0.6)), color-stop(85%, rgba(54, 54, 54, 0.4))); background: linear-gradient(to right, rgba(54, 54, 54, 0.6), rgba(54, 54, 54, 0.4) 85%); } .mejs-audio .mejs-controls { padding: 0 13px; -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); -webkit-box-align: center; -ms-flex-align: center; align-items: center; } .mejs-audio .mejs-controls .mejs-playpause-button { position: relative; width: 40px; height: 40px; margin-right: 8px; border-width: 0; border-radius: 50%; background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(54, 54, 54, 0.2) 51%, rgba(54, 54, 54, 0.4) 100%); -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); } .mejs-audio .mejs-controls .mejs-playpause-button button { top: 50%; left: 50%; margin: 1px; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } .mejs-audio .mejs-controls .mejs-time-rail .mejs-time-current { background-color: #03a9f4; } /* Responsive embedded videos in TinyMCE Editor. */ .mce-content-body [data-wpview-type="embedURL"] { position: relative; } .mce-content-body [data-wpview-type="embedURL"]:after { display: block; width: auto; max-height: 100vh; padding-top: 56.25%; content: ""; } .mce-content-body [data-wpview-type="embedURL"] iframe, .mce-content-body [data-wpview-type="embedURL"] object, .mce-content-body [data-wpview-type="embedURL"] embed, .mce-content-body [data-wpview-type="embedURL"] video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; margin: 0; } /* * 3.0 - HTML Tags */ body { font-family: sans-serif; font-size: 16px; font-weight: normal; line-height: 1.75; margin: 1rem; word-wrap: break-word; color: #363636; background-color: #fff; } @media only screen and (min-width: 768px) { body { font-size: 17px; max-width: 80%; margin: 1.75rem auto; } } /* Headings */ h1, h2, h3, h4, h5, h6 { font-weight: bolder; line-height: 1.2; margin: 0 0 1.75rem; } h1 { font-size: 2.5em; } h2 { font-size: 2em; } h3 { font-size: 1.75em; } h4 { font-size: 1.125em; } h5 { font-size: 1em; } h6 { font-size: 0.9em; } /* Links */ a { text-decoration: none; color: #448aff; } a:visited, a:hover { color: #005eff; } a:focus { outline: thin dotted; outline-offset: -0.05em; } /* Lists */ ol, ul { margin: 0 0 1.75rem; padding: 0 0 0 1.75em; } ol ol, ol ul, ul ol, ul ul { font-size: 0.9rem; line-height: 1.94444; margin: 0.875rem 0; } /* Misc */ address, p { margin: 0 0 1.75rem; } hr { overflow: visible; height: 1px; margin-bottom: 1.75rem; border: 0; background-color: #e6e6e6; } abbr, dfn[title], acronym { cursor: help; border-bottom: 1px dotted #e6e6e6; } dfn, cite, em, i { font-style: italic; } mark, ins { color: #363636; background: #fafafa; } dl, dd { margin: 0 0 1.75rem; } dt { font-weight: 700; } figure { margin: 0; } /* Code */ code, kbd, tt, var, samp, pre { font-family: "Andale Mono", AndaleMono, "Lucida Console", monospace; font-size: 0.9rem; line-height: 1.94444; } pre { overflow: auto; max-width: 100%; margin: 0 0 1.75rem; padding: 1.75em; white-space: pre; white-space: pre-wrap; word-wrap: break-word; background-color: #fafafa; } code { padding: 0.125em 0.25em; background-color: #fafafa; } /* Blockquote */ blockquote:not(.wp-block-pullquote) { font-size: 1.125rem; line-height: 1.55556; position: relative; margin-top: 0; margin-bottom: 1.75rem; margin-left: 0; padding-left: 2.5em; color: #363636; } blockquote:not(.wp-block-pullquote) > p { margin-bottom: 0.875rem; } blockquote:not(.wp-block-pullquote) > p:last-child { margin-bottom: 0; } blockquote:not(.wp-block-pullquote) cite { font-size: 0.8rem; font-style: normal; line-height: 2.1875; display: block; margin-top: 0.4375rem; color: #757575; } blockquote:not(.wp-block-pullquote):before { font-family: "georgia"; font-size: 50px; line-height: 1; position: absolute; top: 0; left: 0; width: 30px; content: "\201C"; color: #363636; } blockquote.wp-block-pullquote { padding: 3em 0; text-align: center; color: #363636; border-top: 4px solid currentColor; border-bottom: 4px solid currentColor; } blockquote.wp-block-pullquote > p { font-size: 1.125rem; line-height: 1.55556; } blockquote.wp-block-pullquote cite { font-size: 0.8rem; font-style: normal; line-height: 2.1875; display: block; margin-top: 0.4375rem; color: #757575; } /* Table */ table { width: 100%; margin-bottom: 1.75rem; border-spacing: 0; border-collapse: collapse; } table td, table th { padding: 0.4em; text-align: left; border-bottom: 0.1rem solid #e6e6e6; } table td:first-child, table th:first-child { padding-left: 0; } table td:last-child, table th:last-child { padding-right: 0; } a.button { font-family: inherit; font-size: 16px; line-height: 1; display: inline-block; padding: 0.875em 1.3125em; letter-spacing: 0.046875em; text-transform: uppercase; color: #fff; border: none; border-radius: 2px; background-color: #448aff; } a.button:hover, a.button:focus { cursor: pointer; border: none; background-color: #005eff; } a.button:focus { outline: thin dotted; outline-offset: -4px; } a.bordered.button { padding: calc( 0.875em - 2px) 1.3125em; border: 2px solid currentColor; background-color: rgba(0, 0, 0, 0.3); } a.bordered.button:hover, a.bordered.button:focus { background-color: rgba(0, 0, 0, 0.5); } a.black-bordered.button { padding: calc( 0.875em - 2px) 1.3125em; color: #363636; border: 2px solid currentColor; background-color: #fff; } a.black-bordered.button:hover, a.black-bordered.button:focus { background-color: rgba(0, 0, 0, 0.01); } a.cta.button { background-color: #4caf50; } a.cta.button:hover, a.cta.button:focus { background-color: #46a04a; } a.button:disabled, a.button.disabled, a.button:disabled[disabled] { opacity: 0.7; } a.button:disabled:hover, a.button.disabled:hover, a.button:disabled[disabled]:hover { cursor: not-allowed; } @media only screen and (min-width: 641px) { .gallery-item { width: 33.3333%; } .gallery-columns-3 .gallery-item { max-width: 33.3333%; } } @media only screen and (min-width: 768px) { .gallery { width: 120%; margin-left: -10%; } .gallery-columns-4 .gallery-item { max-width: 25%; } .gallery-columns-5 .gallery-item { max-width: 20%; } .gallery-columns-6 .gallery-item { max-width: 16.6666%; } .gallery-columns-7 .gallery-item { max-width: 14.28%; } .gallery-columns-8 .gallery-item { max-width: 12.5%; } .gallery-columns-9 .gallery-item { max-width: 11.1111%; } .entry-content .gallery { width: 100%; } .gallery-caption { opacity: 0; } .gallery-columns-5 .gallery-caption, .gallery-columns-6 .gallery-caption, .gallery-columns-7 .gallery-caption, .gallery-columns-8 .gallery-caption, .gallery-columns-9 .gallery-caption { display: none; } }