/* Theme Name: Pique Description: Used to style Gutenberg Blocks in the editor. */ /*-------------------------------------------------------------- >>> TABLE OF CONTENTS: ---------------------------------------------------------------- 1.0 General Typography 2.0 General Block Settings 3.0 Blocks - Common Blocks 4.0 Blocks - Formatting 5.0 Blocks - Layout Elements 6.0 Blocks - Widgets --------------------------------------------------------------*/ /*-------------------------------------------------------------- 1.0 General Typography --------------------------------------------------------------*/ .edit-post-visual-editor .editor-block-list__block, .editor-default-block-appender textarea.editor-default-block-appender__content { font-family: Lora, Georgia, serif; } /* Font size */ .edit-post-visual-editor .editor-block-list__block, .edit-post-visual-editor .editor-block-list__block p, .editor-default-block-appender textarea.editor-default-block-appender__content { font-size: 18px; line-height: 1.5; } /* Color */ .edit-post-visual-editor .editor-block-list__block { color: #726b60; } /* Post title */ .editor-post-title__block .editor-post-title__input { color: #83b6cc; font-family: Lora, Georgia, serif; font-size: 38.4px; font-style: italic; font-weight: 400; } /* Headings */ .edit-post-visual-editor h1, .wp-block-freeform.block-library-rich-text__tinymce h1, .edit-post-visual-editor h2, .wp-block-freeform.block-library-rich-text__tinymce h2, .edit-post-visual-editor h3, .wp-block-freeform.block-library-rich-text__tinymce h3, .edit-post-visual-editor h4, .wp-block-freeform.block-library-rich-text__tinymce h4, .edit-post-visual-editor h5, .wp-block-freeform.block-library-rich-text__tinymce h5, .edit-post-visual-editor h6, .wp-block-freeform.block-library-rich-text__tinymce h6 { color: #83b6cc; font-family: Karla, Arial, sans-serif; font-weight: 400; } .edit-post-visual-editor h1, .wp-block-freeform.block-library-rich-text__tinymce h1 { font-family: Lora, Georgia, serif; font-size: 38.4px; font-style: italic; } .edit-post-visual-editor h2, .wp-block-freeform.block-library-rich-text__tinymce h2 { font-size: 25.6px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; } .edit-post-visual-editor h3, .wp-block-freeform.block-library-rich-text__tinymce h3 { font-size: 1.2em; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; } .edit-post-visual-editor h4, .wp-block-freeform.block-library-rich-text__tinymce h4 { font-size: 1.999em; } .edit-post-visual-editor h5, .wp-block-freeform.block-library-rich-text__tinymce h5 { font-size: 1.414em; } .edit-post-visual-editor h6, .wp-block-freeform.block-library-rich-text__tinymce h6 { font-size: 1em; } /*-------------------------------------------------------------- 2.0 General Block Settings --------------------------------------------------------------*/ /* Main content width */ .wp-block { max-width: 805px; /* 775px + 30px to account for padding */ } /* Background */ .edit-post-layout { background: rgba(252, 251, 249, 0.9); } /* Link styles */ .edit-post-visual-editor a, .editor-block-list__block a, .wp-block-freeform.block-library-rich-text__tinymce a { color: #83b6cc; text-decoration: none; } /* Table styles */ .wp-block-freeform.block-library-rich-text__tinymce table, .wp-block-freeform.block-library-rich-text__tinymce table th, .wp-block-freeform.block-library-rich-text__tinymce table td { border: 0; } .wp-block-freeform.block-library-rich-text__tinymce table th, .wp-block-freeform.block-library-rich-text__tinymce table td { padding: 0; } .rtl .wp-block-freeform.block-library-rich-text__tinymce td, .rtl .wp-block-freeform.block-library-rich-text__tinymce th { text-align: right; } /* Quote styles */ .wp-block-freeform.block-library-rich-text__tinymce blockquote { border: 0; border-top: 2px solid; color: #909090; font-style: italic; margin: 3em auto; max-width: 933.33333px; padding: 0; } .wp-block-freeform.block-library-rich-text__tinymce blockquote:before { content: '\201c'; display: block; font-family: Georgia, serif; font-size: 93.4px; font-style: normal; font-weight: bolder; line-height: 0.25em; margin: 4px auto 0; text-shadow: none; text-align: center; } .edit-post-visual-editor .editor-block-list__block .wp-block-freeform.block-library-rich-text__tinymce blockquote p { font-size: 23.4px; } /* Code styles */ .wp-block-freeform.block-library-rich-text__tinymce code { background: transparent; } /* Caption styles */ [class^="wp-block-"] figcaption { font-size: inherit; font-style: italic; } [class^="wp-block-"]:not(.wp-block-gallery) figcaption { color: inherit; } /* Definition List styles */ .wp-block-freeform.block-library-rich-text__tinymce dt { font-weight: bold; } .wp-block-freeform.block-library-rich-text__tinymce dd { margin-left: 0; margin-right: 0; } /* Pre styles */ .wp-block-freeform.block-library-rich-text__tinymce pre { color: inherit; } /*-------------------------------------------------------------- 3.0 Blocks - Common Blocks --------------------------------------------------------------*/ /* Paragraph */ p.has-drop-cap:not(:focus)::first-letter { font-size: 5em; margin-top: 0.125em; } /* Quote */ .editor-styles-wrapper .wp-block-quote, .wp-block-quote:not(.is-large):not(.is-style-large) { } .wp-block-quote, .wp-block-quote:not(.is-large):not(.is-style-large) { border: 0; border-top: 2px solid; color: #909090; font-style: italic; margin: 3em auto; max-width: 933.33333px; padding: 0; } .wp-block-quote:before { content: '\201c'; display: block; font-family: Georgia, serif; font-size: 93.4px; font-style: normal; font-weight: bolder; line-height: 0.25em; margin: 4px auto 0; text-shadow: none; text-align: center; } .editor-styles-wrapper .wp-block-quote.is-large, .editor-styles-wrapper .wp-block-quote.is-style-large { padding: 0; } .editor-styles-wrapper .wp-block-quote p { font-size: 23.4px; } .editor-styles-wrapper .wp-block-quote.is-large p, .editor-styles-wrapper .wp-block-quote.is-style-large p { font-size: 28px } .wp-block-quote .wp-block-quote__citation { color: #83b6cc; font-family: Karla, Arial, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 1px; margin-top: 1.5rem; text-align: right; text-transform: uppercase; } .wp-block-quote.is-large .wp-block-quote__citation, .wp-block-quote.is-style-large .wp-block-quote__citation { font-size: 18px; } .rtl .wp-block-quote .wp-block-quote__citation { text-align: left; } /* Cover */ .edit-post-visual-editor .editor-block-list__block .wp-block-cover-image .wp-block-cover-image-text, .edit-post-visual-editor .editor-block-list__block .wp-block-cover-image .wp-block-cover-text, .edit-post-visual-editor .editor-block-list__block .wp-block-cover-image h2, .edit-post-visual-editor .editor-block-list__block .wp-block-cover .wp-block-cover-image-text, .edit-post-visual-editor .editor-block-list__block .wp-block-cover .wp-block-cover-text, .edit-post-visual-editor .editor-block-list__block .wp-block-cover h2 { font-size: 1.5em; } /* File */ .wp-block-file__textlink { color: #83b6cc; } .wp-block-file .wp-block-file__button, .wp-block-file .wp-block-file__button:visited { background-color: #83b6cc; border: 2px solid transparent; border-radius: 2em; color: #eff6f9; display: inline-block; font-family: Karla, Arial, sans-serif; font-size: 15.2px; font-size: 0.95rem; font-weight: bold; letter-spacing: 1px; line-height: 1; padding: 1em 3em; text-shadow: none; text-transform: uppercase; transition: background-color 0.125s ease-in; -webkit-appearance: none; } /*-------------------------------------------------------------- 4.0 Blocks - Formatting --------------------------------------------------------------*/ /* Verse */ .wp-block-verse pre { color: #726b60; font-style: italic; padding: 0; } /* Code */ .wp-block-code { border: none; border-radius: 0; } .wp-block-code textarea { background: transparent; } /* Preformatted */ .wp-block-preformatted { } /* Pullquote */ .wp-block-pullquote { border: 0; } .wp-block-pullquote blockquote { border-top: 2px solid; color: #909090; font-style: italic; } .wp-block-pullquote blockquote:before { content: '\201c'; display: block; font-family: Georgia, serif; font-size: 94px; font-style: normal; font-weight: bolder; line-height: 0.25em; margin: 4px auto 0; text-shadow: none; } .wp-block-pullquote__citation { font-size: 18px; text-transform: none; } .wp-block-pullquote.alignleft blockquote > .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before, .wp-block-pullquote.alignright blockquote > .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before, .wp-block-pullquote.alignleft blockquote > .editor-rich-text p, .wp-block-pullquote.alignright blockquote > .editor-rich-text p { font-size: 20px; } /* Table */ .wp-block-table th, .wp-block-table td { border: 0; padding: 0; } .wp-block-table th { text-align: left; } .wp-block-table__cell-content { padding: 0; } .rtl .wp-block-table th { text-align: right; } /*-------------------------------------------------------------- 5.0 Blocks - Layout Elements --------------------------------------------------------------*/ /* Buttons */ .wp-block-button .editor-rich-text__tinymce.mce-content-body { line-height: 1; } .wp-block-button .wp-block-button__link { border: 2px solid transparent; display: inline-block; font-family: Karla, Arial, sans-serif; font-size: 15.2px; font-size: 0.95rem; font-weight: bold; letter-spacing: 1px; line-height: 1; padding: 1em 3em; text-shadow: none; text-transform: uppercase; transition: background-color 0.125s ease-in; -webkit-appearance: none; } .wp-block-button__link { background-color: #83b6cc; border-radius: 2em; color: #eff6f9; } .is-style-outline .wp-block-button__link { border-color: currentColor; background: transparent; } .is-style-outline .wp-block-button__link:not(.has-text-color) { color: #83b6cc; } /* Separator */ .wp-block-separator { border-color: #e9d5c0; border-width: 1px; } /*-------------------------------------------------------------- 6.0 Blocks - Widgets --------------------------------------------------------------*/ /* General Widget styles */ .edit-post-visual-editor [data-align="center"] .wp-block-categories__list, .edit-post-visual-editor [data-align="center"] .wp-block-archives, .edit-post-visual-editor [data-align="center"] .wp-block-lastest-posts { list-style-position: inside; } /* Latest Comments */ .wp-block-latest-comments { margin-left: 0; margin-right: 0; } .wp-block-latest-comments__comment-excerpt p { font-size: inherit; } .wp-block-latest-comments__comment-date { color: inherit; font-family: Karla, Arial, sans-serif; font-size: 13.6px; font-size: 0.85rem; font-weight: bold; letter-spacing: 0.05rem; text-transform: uppercase; } /*-------------------------------------------------------------- 7.0 Blocks - Colors --------------------------------------------------------------*/ .has-light-blue-color { color: #83b6cc; } .has-light-blue-background-color { background-color: #83b6cc; } .has-medium-blue-color { color: #3c7993; } .has-medium-blue-background-color { background-color: #3c7993; } .has-dark-blue-color { color: #293940; } .has-dark-blue-background-color { background-color: #293940; } .has-dark-brown-color { color: #2d2a26; } .has-dark-brown-background-color { background-color: #2d2a26; } .has-dark-gray-color { color: #5d5d5d; } .has-dark-gray-background-color { background-color: #5d5d5d; } .has-medium-gray-color { color: #a9a9a9; } .has-medium-gray-background-color { background-color: #a9a9a9; } .has-white-color { color: #fff; } .has-white-background-color { background-color: #fff; }