123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553 |
- /*
- 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;
- }
|