123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608 |
- /*
- Theme Name: Independent Publisher 2
- 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: Georgia, "Times New Roman", serif;
- }
- .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.75;
- }
- @media screen and (min-width: 32.375em) {
- .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: 19px;
- }
- }
- .edit-post-visual-editor .editor-block-list__block {
- color: #383838;
- }
- .editor-post-title__block .editor-post-title__input {
- color: #333332;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
- font-size: 32px;
- font-weight: bold;
- }
- @media screen and (min-width: 32.375em) {
- .editor-post-title__block .editor-post-title__input {
- font-size: 47px;
- }
- }
- /* 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 {
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
- line-height: 1.1;
- color: #333332;
- font-weight: bold;
- }
- .edit-post-visual-editor h1,
- .wp-block-freeform.block-library-rich-text__tinymce h1 {
- font-size: 32px;
- }
- .edit-post-visual-editor h2,
- .wp-block-freeform.block-library-rich-text__tinymce h2 {
- font-size: 24px;
- }
- .edit-post-visual-editor h3,
- .wp-block-freeform.block-library-rich-text__tinymce h3 {
- font-size: 19px;
- }
- .edit-post-visual-editor h4,
- .wp-block-freeform.block-library-rich-text__tinymce h4 {
- font-size: 15px;
- }
- .edit-post-visual-editor h5,
- .wp-block-freeform.block-library-rich-text__tinymce h5 {
- font-size: 14px;
- }
- .edit-post-visual-editor h6,
- .wp-block-freeform.block-library-rich-text__tinymce h6 {
- font-size: 13px;
- }
- @media screen and (min-width: 32.375em) {
- .edit-post-visual-editor h1,
- .wp-block-freeform.block-library-rich-text__tinymce h1 {
- font-size: 47px;
- }
- .edit-post-visual-editor h2,
- .wp-block-freeform.block-library-rich-text__tinymce h2 {
- font-size: 32px;
- }
- .edit-post-visual-editor h3,
- .wp-block-freeform.block-library-rich-text__tinymce h3 {
- font-size: 24px;
- }
- .edit-post-visual-editor h4,
- .wp-block-freeform.block-library-rich-text__tinymce h4 {
- font-size: 19px;
- }
- .edit-post-visual-editor h5,
- .wp-block-freeform.block-library-rich-text__tinymce h5 {
- font-size: 15px;
- }
- .edit-post-visual-editor h6,
- .wp-block-freeform.block-library-rich-text__tinymce h6 {
- font-size: 14px;
- }
- }
- .wp-block-cover.has-white-background-color .wp-block-cover__inner-container {
- color: #383838;
- }
- /*--------------------------------------------------------------
- 2.0 General Block Settings
- --------------------------------------------------------------*/
- /* Main content width */
- .wp-block {
- max-width: 770px; /* 740px + 30px to account for padding */
- }
- /* Alignments */
- .alignleft {
- margin-right: 1.75em;
- }
- .alignright {
- margin-left: 1.75em;
- }
- /* Link styles */
- .edit-post-visual-editor a,
- .editor-block-list__block a,
- .wp-block-freeform.block-library-rich-text__tinymce a {
- color: #0087be;
- 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: 1px solid #ddd;
- }
- .wp-block-freeform.block-library-rich-text__tinymce table {
- border-collapse: separate;
- border-spacing: 0;
- border-width: 1px 0 0 1px;
- font-size: 90%;
- margin: 0 0 1.75em;
- table-layout: fixed;
- width: 100%;
- }
- .wp-block-freeform.block-library-rich-text__tinymce td,
- .wp-block-freeform.block-library-rich-text__tinymce th {
- font-weight: normal;
- padding: .4375em;
- text-align: left;
- }
- .wp-block-freeform.block-library-rich-text__tinymce table th {
- font-weight: 700;
- border-width: 0 1px 1px 0;
- }
- .wp-block-freeform.block-library-rich-text__tinymce table td {
- border-width: 0 1px 1px 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: solid #0087be;
- border-width: 0 0 0 3px;
- padding: 0 0 0 1.75em;
- }
- .wp-block-freeform.block-library-rich-text__tinymce blockquote,
- .wp-block-freeform.block-library-rich-text__tinymce blockquote > p {
- font-family: Georgia, "Times New Roman", serif;
- font-style: italic;
- margin: 1.75em 0;
- }
- .wp-block-freeform.block-library-rich-text__tinymce blockquote cite {
- color: inherit;
- font-size: .875em;
- font-style: italic;
- font-weight: bold;
- }
- .wp-block-freeform.block-library-rich-text__tinymce blockquote cite::before {
- content: "\2014";
- margin-left: 0;
- margin-right: .21875em;
- }
- .rtl .wp-block-freeform.block-library-rich-text__tinymce blockquote {
- border-width: 0 3px 0 0;
- padding: 0 1.75em 0 0;
- }
- .rtl .wp-block-freeform.block-library-rich-text__tinymce blockquote cite::before {
- margin-left: .21875em;
- margin-right: 0;
- }
- /* Definition List styles */
- .wp-block-freeform.block-library-rich-text__tinymce dt {
- font-weight: bold;
- }
- /* Pre styles */
- .wp-block-freeform.block-library-rich-text__tinymce pre {
- background: #f5f5f5;
- font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
- font-size: 18px;
- line-height: 1.75;
- padding: 1.75em;
- }
- /* Captions */
- [class^="wp-block-"] figcaption {
- font-size: 14.25px;
- font-weight: 400;
- font-style: italic;
- color: #939393;
- }
- /*--------------------------------------------------------------
- 3.0 Blocks - Common Blocks
- --------------------------------------------------------------*/
- /* Paragraph */
- p.has-drop-cap:not(:focus)::first-letter {
- font-size: 5em;
- margin-top: 0.15em;
- }
- /* Image */
- .wp-block-image.is-style-default img {
- border-radius: 3px;
- }
- .wp-block-image.is-style-rounded img {
- border-radius: 9999px;
- }
- /* Quote */
- .wp-block-quote {
- font-family: Georgia, "Times New Roman", serif;
- font-style: italic;
- margin: 1.75em 0;
- }
- .wp-block-quote:not(.is-large):not(.is-style-large),
- .rtl .wp-block-quote:not(.is-large):not(.is-style-large)[style*="text-align: left"],
- .rtl .wp-block-quote:not(.is-large):not(.is-style-large)[style*="text-align:left"] {
- border: solid #0087be;
- border-width: 0 0 0 3px;
- padding: 0 0 0 1.75em;
- }
- .wp-block-quote:not(.is-large):not(.is-style-large)[style*="text-align: center"],
- .wp-block-quote:not(.is-large):not(.is-style-large)[style*="text-align:center"] {
- border: 0;
- margin-left: 0;
- margin-right: 0;
- padding-left: 0;
- padding-right: 0;
- }
- .wp-block-quote:not(.is-large):not(.is-style-large)[style*="text-align: right"],
- .wp-block-quote:not(.is-large):not(.is-style-large)[style*="text-align:right"] {
- border-width: 0 3px 0 0;
- padding: 0 1.75em 0 0;
- }
- .wp-block-quote__citation {
- color: inherit;
- font-size: .875em;
- font-style: italic;
- font-weight: bold;
- }
- .wp-block-quote__citation::before {
- content: "\2014";
- margin-left: 0;
- margin-right: .21875em;
- }
- .wp-block-quote.is-large,
- .wp-block-quote.is-style-large {
- padding: 0;
- }
- .wp-block-quote.is-large p,
- .wp-block-quote.is-style-large p {
- font-size: 24px;
- }
- .rtl .wp-block-quote:not(.is-large):not(.is-style-large) {
- border-width: 0 3px 0 0;
- padding: 0 1.75em 0 0;
- }
- .rtl .wp-block-quote__citation::before {
- margin-left: .21875em;
- margin-right: 0;
- }
- /* 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: #0087be;
- }
- .wp-block-file .wp-block-file__button {
- background: #0087be;
- border: solid 1px transparent;
- border-radius: 3px;
- box-sizing: content-box;
- color: #fff;
- cursor: pointer;
- -webkit-transition: background 120ms ease-in-out, box-shadow 120ms ease-in-out;
- transition: background 120ms ease-in-out, box-shadow 120ms ease-in-out;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
- font-size: 16px;
- font-weight: 400;
- font-style: normal;
- padding: .4375em .875em;
- text-decoration: none;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- }
- /*--------------------------------------------------------------
- 4.0 Blocks - Formatting
- --------------------------------------------------------------*/
- /* Verse */
- .wp-block-verse {
- font-style: italic;
- }
- .wp-block-verse pre {
- padding: 0;
- }
- /* Code */
- .wp-block-code {
- background: #f5f5f5;
- border: none;
- border-radius: 0;
- font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
- font-size: inherit;
- line-height: 1.75;
- padding: 1.75em;
- }
- .wp-block-code textarea {
- background: transparent;
- }
- .wp-block-code .editor-plain-text {
- font-size: 18px;
- }
- /* Preformatted */
- .wp-block-preformatted {
- background: #f5f5f5;
- padding: 1.75em;
- }
- .wp-block-preformatted pre {
- font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
- font-size: 18px;
- line-height: 1.75;
- }
- /* Pullquote */
- .wp-block-pullquote {
- border: #0087be solid;
- border-width: 3px 0;
- font-style: italic;
- padding: 0.5em;
- }
- .wp-block-pullquote blockquote {
- padding: 2em 0;
- }
- .wp-block-pullquote.alignleft,
- .wp-block-pullquote.alignright {
- margin-top: 0.5em;
- margin-bottom: 1.0em;
- }
- .wp-block-pullquote blockquote {
- border: 0;
- padding: 0;
- }
- .wp-block-pullquote .wp-block-pullquote__citation {
- font-size: inherit;
- font-style: italic;
- font-weight: bold;
- text-transform: none;
- }
- .wp-block-pullquote .wp-block-pullquote__citation::before {
- content: "\2014";
- margin-left: 0;
- margin-right: .21875em;
- }
- .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;
- }
- .rtl .wp-block-pullquote .wp-block-pullquote__citation::before {
- margin-left: .21875em;
- margin-right: 0;
- }
- /* Table */
- .wp-block-table table,
- .wp-block-table th,
- .wp-block-table td {
- border: 1px solid #ddd;
- }
- .wp-block-table {
- border-collapse: separate;
- border-spacing: 0;
- font-size: 90%;
- margin: 0 0 1.75em;
- table-layout: fixed;
- width: 100%;
- }
- .wp-block-table td,
- .wp-block-table th {
- font-weight: normal;
- padding: .4375em;
- text-align: left;
- }
- .wp-block-table th {
- font-weight: 700;
- border-width: 0 1px 1px 0;
- }
- .wp-block-table td {
- border-width: 0 1px 1px 0;
- }
- .wp-block-table__cell-content {
- padding: 0;
- }
- .rtl .wp-block-table td,
- .rtl .wp-block-table th {
- text-align: right;
- }
- /*--------------------------------------------------------------
- 5.0 Blocks - Layout Elements
- --------------------------------------------------------------*/
- /* Buttons */
- .wp-block-button .wp-block-button__link {
- box-sizing: content-box;
- cursor: pointer;
- -webkit-transition: background 120ms ease-in-out, box-shadow 120ms ease-in-out;
- transition: background 120ms ease-in-out, box-shadow 120ms ease-in-out;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
- font-size: 16px;
- font-weight: 400;
- font-style: normal;
- padding: .4375em .875em;
- text-decoration: none;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- }
- .wp-block-button__link {
- background: #0087be;
- color: #fff;
- }
- .is-style-outline .wp-block-button__link:not(.has-text-color) {
- color: #0087be;
- }
- /* Separator */
- .wp-block-separator {
- background-color: #ccc;
- border: 0;
- height: 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,
- .wp-block-latest-comments__comment-date,
- .wp-block-latest-comments__comment-excerpt p {
- font-size: 17px;
- }
- .wp-block-latest-comments__comment-meta a {
- color: #000;
- font-weight: bold;
- }
- .wp-block-latest-comments__comment-date {
- color: #b3b3b1;
- font-size: 14px;
- }
|