/* Theme Name: Bold Photography Description: Used to style Gutenberg Blocks in the editor. */ /*-------------------------------------------------------------- >>> TABLE OF CONTENTS: ---------------------------------------------------------------- 1.0 General Typography 2.0 General Block Styles 3.0 Blocks - Common Blocks 4.0 Blocks - Formatting 5.0 Blocks - Layout Elements 6.0 Blocks - Widgets --------------------------------------------------------------*/ /*-------------------------------------------------------------- 1.0 General Typography --------------------------------------------------------------*/ /* Editor Font Size */ .editor-post-title__block .editor-post-title__input { color: #000; font-family: 'PT Sans', sans-serif; font-size: 32px; font-size: 2rem; font-weight: 400; line-height: 1.25; margin: 0 0 35px; padding: 0; text-align: center; -webkit-hyphens: auto; -moz-hyphens: auto; -ms-hyphens: auto; hyphens: auto; } .has-huge-font-size { line-height: 1.333333333333333; margin-top: 1em !important; margin-bottom: 0.625em !important; } .has-large-font-size { line-height: 1.325; margin-top: 1.333333333333333em !important; margin-bottom: 0.8333333333333333em !important; } .wp-block-quote, .editor-styles-wrapper .wp-block-quote p { font-size: inherit; font-style: inherit; line-height: inherit; } @media screen and (min-width: 64em) { .editor-post-title__block .editor-post-title__input { font-size: 40px; font-size: 2.5rem; } } @media screen and (min-width: 85.375em) { .editor-post-title__block .editor-post-title__input { font-size: 44px; font-size: 2.75rem; } } @media screen and (min-width: 100em) { .editor-post-title__block .editor-post-title__input { font-size: 48px; font-size: 3rem; } } /*-------------------------------------------------------------- 2.0 General Block Styles --------------------------------------------------------------*/ /* Main column width */ .editor-styles-wrapper { margin: 0 !important; max-width: 100% !important; /* Override where editor-style.css is affecting this */ } .wp-block { max-width: 710px; /* 680px + 30px to account for padding. */ } .wp-block-separator { border: 0; margin: 28px auto; } /* Link styles */ .edit-post-visual-editor a, .editor-block-list__block a, .wp-block-freeform.block-library-rich-text__tinymce a { color: #111; } /* List styles */ .edit-post-visual-editor ul:not(.wp-block-gallery), .editor-block-list__block ul:not(.wp-block-gallery), .block-library-list ul, .edit-post-visual-editor ol, .editor-block-list__block ol, .block-library-list ol, .block-library-list .editor-rich-text__tinymce { margin-bottom: 1.75em; padding-left: 1.5em !important; padding: 0; } .edit-post-visual-editor ul:not(.wp-block-gallery), .editor-block-list__block ul:not(.wp-block-gallery), .block-library-list ul { list-style: disc; } .edit-post-visual-editor ol, .editor-block-list__block ol, .block-library-list ol { list-style: decimal; margin-left: 21px; } .edit-post-visual-editor ul:not(.wp-block-gallery) li, .editor-block-list__block ul:not(.wp-block-gallery) li, .edit-post-visual-editor ol li, .editor-block-list__block ol li, .block-library-list li { margin-bottom: 0; } .edit-post-visual-editor ul:not(.wp-block-gallery) li>ul, .editor-block-list__block ul:not(.wp-block-gallery) li>ul, .block-library-list li>ul, .edit-post-visual-editor li>ol, .editor-block-list__block li>ol, .block-library-list li>ol { margin-bottom: 0; } .rtl .edit-post-visual-editor ul:not(.wp-block-gallery), .rtl .editor-block-list__block ul:not(.wp-block-gallery), .rtl .block-library-list ul, .rtl .edit-post-visual-editor ol, .rtl .editor-block-list__block ol, .rtl .block-library-list ol { margin-left: 0; margin-right: 21px; padding: 0; } .rtl .edit-post-visual-editor ol, .rtl .editor-block-list__block ol, .rtl .block-library-list ol { margin-left: 21px; margin-right: 21px; } /* Quotes */ .wp-block-quote cite, .wp-block-quote.is-large cite, .wp-block-quote.is-large footer, .wp-block-quote.is-style-large cite, .wp-block-quote.is-style-large footer { color: inherit; font-size: 12px; font-size: 0.875rem; font-style: normal; text-align: left; } .rtl .wp-block-quote cite, .rtl .wp-block-quote.is-large cite, .rtl .wp-block-quote.is-large footer, .rtl .wp-block-quote.is-style-large cite, .rtl .wp-block-quote.is-style-large footer { text-align: right; } /* Captions */ [class^="wp-block-"]:not(.wp-block-gallery) figcaption { border: 0; color: #777; font-size: 13px; font-size: 0.8125rem; font-style: italic; line-height: 1.615384615384615; margin: 0; padding: 14px 21px; text-align: center; } /*-------------------------------------------------------------- 3.0 Blocks - Common Blocks --------------------------------------------------------------*/ /* Quote */ .wp-block-quote { font-weight: 700; } .wp-block-quote, .wp-block-quote.is-large, .wp-block-quote.is-style-large { margin-bottom: 1.4736842105em; padding: 2.45em 0 0; } .rtl .wp-block-quote:not(.is-large):not(.is-style-large) { padding: 0 30px 0 0; } .wp-block-quote.alignleft p:last-of-type, .wp-block-quote.alignright p:last-of-type { margin-bottom: 0; } .wp-block-quote cite { color: inherit; font-size: inherit; } /* File */ .wp-block-file__textlink { box-shadow: 0 1px 0 0 currentColor; color: #f9a926; } .wp-block-file .wp-block-file__button { background: #f9a926; border: 0; -webkit-border-radius: 0; border-radius: 0; -webkit-box-shadow: none; box-shadow: none; color: #fff; font-family: 'Oswald', sans-serif; font-size: 13px; font-size: 0.8125rem; font-weight: 600; line-height: 1.615384615384615; letter-spacing: 0.1em; padding: 10px 15px; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.59); text-decoration: none; text-transform: uppercase; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; white-space: nowrap; } /*-------------------------------------------------------------- 4.0 Blocks - Formatting --------------------------------------------------------------*/ /* Code */ .wp-block-code { background: transparent; border: 0; color: inherit; font-size: 1em; font-family: Inconsolata, monospace; padding: 0; } .wp-block-code .editor-plain-text { color: inherit; font-family: inherit; font-size: inherit; } .wp-block-quote__citation { color: inherit; font-size: 13px; font-size: 0.8125rem; font-style: normal; font-weight: 400; line-height: 1.615384615384615; text-transform: none; } /* Classic */ .wp-block-freeform.block-library-rich-text__tinymce blockquote { border-left: 4px solid #f9a926; -webkit-box-shadow: none; box-shadow: none; color: inherit; line-height: inherit; margin: 0 0 28px; } .wp-block-freeform.block-library-rich-text__tinymce blockquote p { font-size: inherit; line-height: inherit; } .editor-block-list__block-edit .wp-block-pullquote__citation { color: inherit; font-size: 13px; font-size: 0.8125rem; font-weight: 400; line-height: 1.615384615384615; text-decoration: none; } .wp-block-freeform.block-library-rich-text__tinymce blockquote.alignleft, .wp-block-freeform.block-library-rich-text__tinymce blockquote.alignright { max-width: none; width: calc(50% - 0.736842105em); text-align: left; } .wp-block-freeform.block-library-rich-text__tinymce blockquote.alignleft { margin: 7px 28px 28px 0; } .wp-block-freeform.block-library-rich-text__tinymce blockquote.alignright { margin: 7px 0 28px 28px; } .wp-block-freeform.block-library-rich-text__tinymce blockquote.aligncenter { margin-bottom: 28px; } .editor-block-list__block-edit .wp-block-pullquote.alignleft, .editor-block-list__block-edit .wp-block-pullquote.alignright { max-width: none; width: calc(50% - 0.736842105em); } .editor-block-list__block-edit .wp-block-pullquote.alignleft { margin: 7px 28px 28px 0; } .editor-block-list__block-edit .wp-block-pullquote.alignright { margin: 7px 0 28px 28px; } .rtl .wp-block-freeform.block-library-rich-text__tinymce .alignleft { float: left; text-align: right; } .rtl .wp-block-freeform.block-library-rich-text__tinymce .alignright { float: right; text-align: left; } /* Pullquote */ .editor-block-list__block-edit .wp-block-pullquote { border: 0; padding: 0; text-align: center; } .editor-block-list__block-edit .wp-block-pullquote blockquote { border: 4px solid #f9a926; border-width: 4px 0; background-color: transparent; margin: 0; padding: 35px 0; } .editor-block-list__block-edit .wp-block-pullquote blockquote:before { content: none; } .editor-block-list__block-edit .wp-block-pullquote blockquote>.editor-rich-text p { font-size: inherit; font-weight: 700; } .editor-block-list__block-edit .wp-block-pullquote .wp-block-pullquote__citation { color: inherit; font-size: 13px; font-size: 0.8125rem; font-style: normal; font-weight: 400; line-height: 1.615384615384615; text-transform: none; } /* Table */ .editor-block-list__block .wp-block-table, .editor-block-list__block .wp-block-table caption, .editor-block-list__block .wp-block-table th, .editor-block-list__block .wp-block-table td { border: 1px solid #333; } .editor-block-list__block .wp-block-table { border-collapse: collapse; border-spacing: 0; border-width: 1px 0 0 1px; margin: 0 0 28px; table-layout: fixed; /* Prevents HTML tables from becoming too wide */ width: 100%; } .editor-block-list__block .wp-block-table th, .editor-block-list__block .wp-block-table td { border-width: 0 1px 1px 0; } .editor-block-list__block .wp-block-table thead { font-weight: 700; } .editor-block-list__block .wp-block-table caption, .editor-block-list__block .wp-block-table th, .editor-block-list__block .wp-block-table td { text-align: left; padding: 0.667em; } .rtl .editor-block-list__block .wp-block-table caption, .rtl .editor-block-list__block .wp-block-table th, .rtl .editor-block-list__block .wp-block-table td { text-align: right; } .editor-block-list__block .wp-block-table caption { font-weight: 700; text-align: center; } @media screen and (min-width: 64em) { .editor-block-list__block .wp-block-table caption, .editor-block-list__block .wp-block-table th, .editor-block-list__block .wp-block-table td { padding: 0.667em 1em; } } /*-------------------------------------------------------------- 5.0 Blocks - Layout Elements --------------------------------------------------------------*/ /* Buttons */ .wp-block-button .wp-block-button__link { background-color: #e5b334; color: #111; -webkit-border-radius: 0; border-radius: 0; -webkit-box-shadow: none; box-shadow: none; display: inline-block; font-family: 'Oswald', sans-serif; font-size: 15px; font-size: 0.9375rem; font-weight: 700; line-height: 1.4; letter-spacing: 0; padding: 15px 35px 14px; text-decoration: none; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.59); text-transform: uppercase; -webkit-transition: background-color 0.2s ease-in-out; -moz-transition: background-color 0.2s ease-in-out; -o-transition: background-color 0.2s ease-in-out; transition: background-color 0.2s ease-in-out; white-space: nowrap; } .wp-block-button .wp-block-button__link:hover, .wp-block-button .wp-block-button__link:focus { background-color: #e5b334; color: #111; -webkit-box-shadow: none; box-shadow: none; } /* Media & Text */ .wp-block-media-text *:last-child { margin-bottom: 0; } /*-------------------------------------------------------------- 6.0 Blocks - Widgets --------------------------------------------------------------*/ /* Archives, Categories & Latest Posts */ [data-align="center"] .wp-block-archives ul, [data-align="center"] .wp-block-categories ul, [data-align="center"] .wp-block-latest-posts ul { list-style-position: inside; } /* Latest Comments */ .wp-block-latest-comments article { margin-bottom: 3em; } .wp-block-latest-comments__comment, .wp-block-latest-comments__comment-excerpt p { font-size: inherit; } .wp-block-latest-comments__comment-meta { margin-bottom: 14px; } .editor-block-list__block .wp-block-latest-comments__comment-meta a { box-shadow: none; text-decoration: none; } .wp-block-latest-comments__comment-date { color: #666; font-size: 12px; font-size: 0.75rem; line-height: 1.5; margin-top: 7px; text-transform: capitalize; } .wp-block-latest-comments__comment-excerpt p:last-child { margin-bottom: 0; } /* Latest Posts */ .edit-post-visual-editor .wp-block-latest-posts.is-grid { list-style: none; margin-left: 0; margin-right: 0; } .edit-post-visual-editor .wp-block-latest-posts.is-grid li { margin-bottom: 16px; } /* Paragraph */ .block-editor .has-drop-cap:not(:focus)::first-letter { font-size: 92px; font-size: 5.75rem; font-weight: inherit; line-height: 0.6; margin: 14px 16px 4px -3px; } .block-editor .wp-block-image figcaption { border: 0; font-size: 14px; font-size: 0.875rem; font-style: italic; line-height: 1.615384615384615; margin: 0; padding: 14px 21px; text-align: center; } .wp-block-pullquote blockquote:before { content: none; } .block-editor .wp-block-quote, .block-editor .wp-block-quote.has-text-align-right, .block-editor .wp-block-quote.has-text-align-left, .block-editor .wp-block-quote.has-text-align-center { border: 0; border-color: transparent; padding-left: 0; padding-right: 0; } .block-editor blockquote.wp-block-quote, .block-editor blockquote.wp-block-quote cite, .block-editor blockquote.wp-block-quote.is-style-large cite, .block-editor blockquote.wp-block-quote.is-style-large footer, .block-editor blockquote.wp-block-quote.is-large cite, .block-editor blockquote.wp-block-quote.is-large footer { text-align: center; } .block-editor blockquote.wp-block-quote:before, .block-editor blockquote.wp-block-quote.has-text-align-center:before { left: 50%; transform: translateX(-50%); } .block-editor blockquote.wp-block-quote.has-text-align-left:before, .block-editor blockquote.wp-block-quote.has-text-align-right:before { left: unset; transform: none; } .block-editor blockquote.wp-block-quote.has-text-align-right:before { left: unset; right: 0; } .block-editor blockquote.wp-block-quote.has-text-align-right, .block-editor blockquote.wp-block-quote.has-text-align-right cite { text-align: right; } .block-editor blockquote.wp-block-quote.has-text-align-left, .block-editor blockquote.wp-block-quote.has-text-align-left cite { text-align: left; } .block-editor blockquote.wp-block-quote.has-text-align-center, .block-editor blockquote.wp-block-quote.has-text-align-center cite { text-align: center; } .wp-block-quote.is-style-plain { padding-top: 0; } .wp-block-quote.is-style-plain:before { content: none; } .block-editor blockquote.wp-block-quote:before { left: unset; width: unset; } .wp-block-quote.is-style-large:not(.is-style-plain), .wp-block-quote.is-large:not(.is-style-plain) { padding-top: 2.45em; } /* Pullquote */ .block-editor .wp-block-pullquote { border-color: #f9a926; padding: 35px 0; } .block-editor .wp-block-pullquote blockquote:before { content: none; } .block-editor .wp-block-pullquote blockquote { padding-top: 0; margin-bottom: 0; } /* Left/Right Aligned */ .wp-block-image figure.alignright, .wp-block-image figure.alignleft, .wp-block[data-align="left"] .wp-block-image, .wp-block[data-align="right"] .wp-block-image, .wp-block-cover.alignleft, .wp-block-cover.alignright, .wp-block-pullquote.alignleft, .wp-block-pullquote.alignright, .wp-block[data-align="left"]>.wp-block-pullquote, .wp-block[data-align="right"]>.wp-block-pullquote, [data-align="left"]>.wp-block-cover, [data-align="right"]>.wp-block-cover, .wp-block-embed.alignleft, .wp-block-embed.alignright, .wp-block[data-align="left"]>.wp-block-embed, .wp-block[data-align="right"]>.wp-block-embed { max-width: 320px; width: 100%; } /* Table */ .block-editor .wp-block-table thead { border-bottom: 0; } .block-editor .wp-block-table tfoot { border-top: 0; } .block-editor .wp-block-table table { margin-bottom: 0; } .block-editor .wp-block-table figcaption { padding: 14px 21px; } .wp-block-table.is-style-stripes { border-bottom: 0; } .wp-block-table.is-style-stripes table { border: 0; } .wp-block-calendar table tbody, .wp-block-calendar table caption, .wp-block-calendar .wp-calendar-table, .wp-block-calendar th, .wp-block-calendar tbody td { border: 1px solid #ddd; } .wp-block-calendar table th { border: 1px solid #b6b6b6; } .block-editor .wp-block-table table, .wp-block-calendar .wp-calendar-table { border-collapse: collapse; margin-bottom: 0; } /* White Color --------------------- ------------------------------------ */ .wp-block-pullquote .has-white-color .wp-block-pullquote__citation { color: #ffffff; } .is-style-outline>.wp-block-button__link.has-white-color, .wp-block-button__link.is-style-outline.has-white-color { border-color: #ffffff; } /* Black Color --------------------- ------------------------------------ */ .wp-block-pullquote .has-black-color .wp-block-pullquote__citation { color: #000000; } .is-style-outline>.wp-block-button__link.has-black-color, .wp-block-button__link.is-style-outline.has-black-color { border-color: #000000; } /* Eighty Black Color --------------------- ------------------------------------ */ .wp-block-pullquote .has-eighty-black-color .wp-block-pullquote__citation { color: #151515; } .is-style-outline>.wp-block-button__link.has-eighty-black-color, .wp-block-button__link.is-style-outline.has-eighty-black-color { border-color: #151515; } /* Sixty Five Black Color --------------------- ------------------------------------ */ .wp-block-pullquote .has-sixty-five-black-color .wp-block-pullquote__citation { color: #222222; } .is-style-outline>.wp-block-button__link.has-sixty-five-black-color, .wp-block-button__link.is-style-outline.has-sixty-five-black-color { border-color: #222222; } /* Gray Color --------------------- ------------------------------------ */ .wp-block-pullquote .has-gray-color .wp-block-pullquote__citation { color: #444444; } .is-style-outline>.wp-block-button__link.has-gray-color, .wp-block-button__link.is-style-outline.has-gray-color { border-color: #444444; } /* Medium Gray Color --------------------- ------------------------------------ */ .wp-block-pullquote .has-medium-gray-color .wp-block-pullquote__citation { color: #7b7b7b; } .is-style-outline>.wp-block-button__link.has-medium-gray-color, .wp-block-button__link.is-style-outline.has-medium-gray-color { border-color: #7b7b7b; } /* Light Gray Color --------------------- ------------------------------------ */ .wp-block-pullquote .has-light-gray-color .wp-block-pullquote__citation { color: #f8f8f8; } .is-style-outline>.wp-block-button__link.has-light-gray-color, .wp-block-button__link.is-style-outline.has-light-gray-color { border-color: #f8f8f8; } /* Dark Yellow Color --------------------- ------------------------------------ */ .wp-block-pullquote .has-dark-yellow-color .wp-block-pullquote__citation { color: #ffa751; } .is-style-outline>.wp-block-button__link.has-dark-yellow-color, .wp-block-button__link.is-style-outline.has-dark-yellow-color { border-color: #ffa751; } /* Yellow Color --------------------- ------------------------------------ */ .wp-block-pullquote .has-yellow-color .wp-block-pullquote__citation { color: #f9a926; } .is-style-outline>.wp-block-button__link.has-yellow-color, .wp-block-button__link.is-style-outline.has-yellow-color { border-color: #f9a926; }