/* Theme Name: Artpop Description: Used to style blocks in the editor. */ .editor-styles-wrapper { max-width: 100% !important; -moz-font-smoothing: antialiased; -webkit-font-smoothing: antialiased; } /* Typography */ .editor-styles-wrapper .editor-post-title__input { font-size: 36px; line-height: 1.5; } .editor-styles-wrapper h1 { font-size: 36px; line-height: 1.25; } .editor-styles-wrapper h2 { font-size: 28px; line-height: 1.5; } .editor-styles-wrapper h3 { font-size: 24px; line-height: 1.5; } .editor-styles-wrapper h4 { font-size: 21px; line-height: 1.5; } .editor-styles-wrapper h5 { font-size: 14px; text-transform: uppercase; line-height: 1.5; } .editor-styles-wrapper h6 { font-size: 16px; font-size: 1rem; line-height: 1.5; } .editor-styles-wrapper h1:first-child, .editor-styles-wrapper h2:first-child, .editor-styles-wrapper h3:first-child, .editor-styles-wrapper h4:first-child, .editor-styles-wrapper h5:first-child, .editor-styles-wrapper h6:first-child { margin-top: 0; } .editor-styles-wrapper .has-large-font-size, .editor-styles-wrapper .has-larger-font-size, .editor-styles-wrapper .has-x-large-font-size { line-height: 1.5; } .editor-styles-wrapper .has-huge-font-size { line-height: 1.25; } .editor-styles-wrapper .has-text-color a { color: inherit; } /* Paragraph */ .editor-styles-wrapper .has-drop-cap:not(:focus)::first-letter { font-size: 5em; font-weight: 700; margin: 0.125em 0.1em 0 0; } /* Link styles */ .editor-styles-wrapper a { color: #6fcacc; } /* Read more link */ .editor-styles-wrapper .read-more { display: block; text-align: left; margin: 1rem 0 0; } .editor-styles-wrapper .read-more a { display: inline-block; position: relative; padding: 0 0 0.25rem; border: 0; color: #4B4C4D; font-size: 14px; letter-spacing: 0.05em; font-weight: 400; text-decoration: none; } .editor-styles-wrapper .read-more a:before, .editor-styles-wrapper .read-more a:after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; transition: all 0.3s ease-in-out 0s; } .editor-styles-wrapper .read-more a:before { width: 100%; background-color: rgba(0,0,0,.1); z-index: 1; } .editor-styles-wrapper .read-more a:after { width: 0; background-color: currentColor; z-index: 2; } .editor-styles-wrapper .read-more a:hover { color: #0DBAB5; text-decoration: none; } .editor-styles-wrapper .read-more a:hover:after { width: 100%; } /* Captions */ .editor-styles-wrapper [class^="wp-block-"] figcaption { display: block; font-size: 14px; font-size: 0.875rem; text-align: center; line-height: 1.5; box-sizing: border-box; } .editor-styles-wrapper [class^="wp-block-"]:not(.wp-block-gallery) figcaption { color: #9D9E9E; margin: 0.5rem 0 0; } /* Gallery */ .wp-block-gallery .blocks-gallery-image figcaption, .wp-block-gallery .blocks-gallery-item figcaption { font-size: 1rem; color: #fff; padding: 3rem 1rem 1.5rem; margin: 0; background: linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.1) 70%,transparent); } .wp-block-gallery .blocks-gallery-image figcaption a, .wp-block-gallery .blocks-gallery-item figcaption a { color: #fff; } /* Quote */ .editor-styles-wrapper .wp-block-quote { border: 0; padding: 0 2rem; } .editor-styles-wrapper .wp-block-quote cite, .editor-styles-wrapper .wp-block-quote footer, .editor-styles-wrapper .wp-block-quote .wp-block-quote__citation { position: relative; margin-top: 0.5rem; font-size: 14px; font-style: normal; color: #9D9E9E; line-height: 1.5; } .editor-styles-wrapper .wp-block-quote cite:before, .editor-styles-wrapper .wp-block-quote footer:before, .editor-styles-wrapper .wp-block-quote .wp-block-quote__citation:before { content: ""; display: inline-block; vertical-align: middle; height: 1px; width: 32px; margin-right: 8px; background-color: rgba(0,0,0,.08); } .editor-styles-wrapper .wp-block-quote.is-style-large, .editor-styles-wrapper .wp-block-quote.is-large { } .editor-styles-wrapper .wp-block-quote.is-style-large p, .editor-styles-wrapper .wp-block-quote.is-large p { font-size: 24px; line-height: 1.5; } .editor-styles-wrapper .wp-block-quote.is-style-large cite, .editor-styles-wrapper .wp-block-quote.is-large cite, .editor-styles-wrapper .wp-block-quote.is-style-large footer, .editor-styles-wrapper .wp-block-quote.is-large footer, .editor-styles-wrapper .wp-block-quote.is-style-large .wp-block-quote__citation, .editor-styles-wrapper .wp-block-quote.is-large .wp-block-quote__citation { font-size: 16px; } /* Code */ .wp-block-code { padding: 0; border: 0; } .wp-block-code .editor-plain-text { padding: 2px 4px; font-family: Menlo, Consolas, monospace; font-size: 14px; line-height: 1.75; background-color: #F8F8F9; border: 0; } /* Pullquote */ .wp-block-pullquote { padding: 0 20px; border: 0; } .editor-styles-wrapper .wp-block-pullquote blockquote, .editor-styles-wrapper .wp-block-pullquote blockquote { margin: 0; padding: 0; border: 0; } .editor-styles-wrapper .wp-block-pullquote blockquote:before, .editor-styles-wrapper .wp-block-pullquote blockquote:before { content: none; } .wp-block-pullquote cite, .wp-block-pullquote footer, .wp-block-pullquote .wp-block-pullquote__citation { margin-top: 8px; font-size: 14px; text-transform: none; color: #9d9e9e; line-height: 1.5; } .wp-block-pullquote blockquote > .editor-rich-text p { font-size: 24px; } .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation { font-size: 16px; } /* Verse */ .editor-styles-wrapper .wp-block-verse, .editor-styles-wrapper .wp-block-verse pre { padding: 0; background-color: transparent; } /* Table */ .editor-styles-wrapper table.wp-block-table th, .editor-styles-wrapper table.wp-block-table td { padding: 0; } .wp-block-table__cell-content { padding: 16px; } /* Archives, Categories & Latest Posts */ .editor-styles-wrapper [data-align="center"] .wp-block-archives, .editor-styles-wrapper [data-align="center"] .wp-block-categories ul, .editor-styles-wrapper [data-align="center"] .wp-block-latest-posts { list-style-position: inside; } .editor-styles-wrapper .wp-block-latest-posts.is-grid li a { display: inline-block; color: #2c2d2e; margin-top: 1rem; margin-bottom: 1rem; font-size: 1.3125rem; line-height: 1.5; } .editor-styles-wrapper .wp-block-latest-posts.is-grid .wp-block-latest-posts__post-date, .editor-styles-wrapper .wp-block-latest-posts.is-grid .wp-block-latest-posts__post-author { margin: 0 0 0.5rem 0; color: #9D9E9E; } .editor-styles-wrapper .wp-block-latest-posts.is-grid li a:hover { color: #48C4B6; } .editor-styles-wrapper .wp-block-latest-posts.is-grid .wp-block-latest-posts__featured-image { position: relative; overflow: hidden; border-radius: 4px; } .editor-styles-wrapper .wp-block-latest-posts.is-grid .wp-block-latest-posts__featured-image:after { content: ""; display: block; padding-top: 62.5%; width: 100%; } .editor-styles-wrapper .wp-block-latest-posts.is-grid .wp-block-latest-posts__featured-image img { position: absolute; width: 100%; height: 100%; left: 0; right: 0; object-fit: cover; object-position: center; } @media screen and (min-width: 720px) { .editor-styles-wrapper .wp-block-latest-posts.is-grid li { margin: 0 32px 32px 0; } .editor-styles-wrapper .wp-block-latest-posts.columns-2 li { width: calc((100% / 2) - 32px); } .editor-styles-wrapper .wp-block-latest-posts.columns-3 li { width: calc((100% / 3) - 32px); } .editor-styles-wrapper .wp-block-latest-posts.columns-4 li { width: calc((100% / 4) - 32px); } .editor-styles-wrapper .wp-block-latest-posts.columns-5 li { width: calc((100% / 5) - 32px); } .editor-styles-wrapper .wp-block-latest-posts.columns-6 li { width: calc((100% / 6) - 32px); } } /* Latest Comments */ .editor-styles-wrapper .wp-block-latest-comments__comment-meta { font-size: 16px; } .editor-styles-wrapper .wp-block-latest-comments__comment-date { font-size: 14px; color: #9D9E9E; } .editor-styles-wrapper .wp-block-latest-comments__comment-excerpt p { font-size: 14px; margin: 0.5rem 0 1rem; } /* Search */ .editor-styles-wrapper .wp-block-search__input { border-radius: 0; border-color: rgba(0,0,0,.08); font-size: 16px; } .editor-styles-wrapper .wp-block-search__button { padding: 0.5rem 1.5rem; background: #2c2d2e; color: #fff; font-size: 16px; font-weight: 700; border: 0; -webkit-border-radius: 0; border-radius: 0; }