123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617 |
- /*
- Theme Name: Independent Publisher 2
- Description: Used to style Gutenberg Blocks.
- */
- /*--------------------------------------------------------------
- >>> TABLE OF CONTENTS:
- ----------------------------------------------------------------
- 1.0 Block Alignments
- 2.0 General Block Styles
- 3.0 Blocks - Common Blocks
- 4.0 Blocks - Formatting
- 5.0 Blocks - Layout Elements
- 6.0 Blocks - Widgets
- 7.0 Blocks - Colors
- 8.0 Blocks - Posts List Block
- --------------------------------------------------------------*/
- /*--------------------------------------------------------------
- 1.0 Block Alignments
- --------------------------------------------------------------*/
- #page {
- overflow-x: hidden; /* prevents side-scrolling caused by use of vw */
- }
- .alignfull,
- .alignwide {
- clear: both;
- }
- @media (min-width: 1140px) {
- body:not(.has-sidebar) .alignwide,
- body:not(.has-sidebar) .wp-block-group.alignfull .alignwide {
- margin-left: -25%;
- margin-right: -25%;
- max-width: 1000%;
- width: auto;
- }
- }
- body:not(.has-sidebar) .alignfull,
- body:not(.has-sidebar) .wp-block-group.alignfull .alignfull {
- margin-left: calc(50% - 50vw);
- margin-right: calc(50% - 50vw);
- max-width: 1000%;
- width: auto;
- }
- /* Make non image-based blocks a bit narrower, so they don't get cut off. */
- body:not(.has-sidebar) .wp-block-columns.alignfull,
- body:not(.has-sidebar) .wp-block-audio.alignfull,
- body:not(.has-sidebar) .wp-block-table.alignfull,
- body:not(.has-sidebar) .wp-block-latest-comments.alignfull,
- body:not(.has-sidebar) .wp-block-categories.alignfull,
- body:not(.has-sidebar) .wp-block-latest-posts.alignfull {
- margin-left: calc(50% - 48vw);
- margin-right: calc(50% - 48vw);
- }
- .wp-block-embed.is-type-video iframe {
- max-height: 100%;
- }
- .wp-block-embed.is-type-video.alignfull iframe {
- width: 100% !important;
- height: 100% !important;
- }
- body:not(.has-sidebar) *[class^="wp-block"] .alignwide,
- body:not(.has-sidebar) *[class^="wp-block"] .alignfull {
- max-width: inherit;
- margin-left: inherit;
- margin-right: inherit;
- }
- /*--------------------------------------------------------------
- 2.0 General Block Styles
- --------------------------------------------------------------*/
- /* Captions */
- [class^="wp-block-"] figcaption {
- font-size: 14.25px;
- font-weight: 400;
- font-style: italic;
- color: inherit;
- }
- /*--------------------------------------------------------------
- 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[class*="wp-image-"] {
- border-radius: 3px;
- }
- .wp-block-image.is-style-rounded img[class*="wp-image-"] {
- border-radius: 9999px;
- }
- /* Gallery */
- .wp-block-gallery {
- margin: 0 0 0.875em;
- }
- /* Quote */
- .wp-block-quote.is-large cite,
- .wp-block-quote.is-style-large cite {
- text-align: inherit;
- }
- .rtl .wp-block-quote,
- .wp-block-quote[style*="text-align:right"] {
- margin-left: .875em;
- margin-right: -1.9em;
- padding-left: 0;
- padding-right: 1.75em;
- border-width: 0 3px 0 0;
- }
- .rtl .wp-block-quote[style*="text-align:left"] {
- margin-left: -1.9em;
- margin-right: .875em;
- padding-left: 1.75em;
- padding-right: 0;
- border-width: 0 0 0 3px;
- }
- .wp-block-quote.is-large,
- .wp-block-quote.is-style-large,
- .wp-block-quote[style*="text-align:center"] {
- border: 0;
- margin-left: 0;
- margin-right: 0;
- padding: 0;
- }
- /* Audio */
- .wp-block-audio {
- margin-bottom: 0.875em;
- }
- .wp-block-audio audio {
- display: block;
- width: 100%;
- }
- /* Image */
- .wp-block-image .alignleft,
- .wp-block-image .alignright {
- margin-top: 30px;
- }
- /* Cover */
- .wp-block-cover.aligncenter,
- .wp-block-cover-image.aligncenter,
- .wp-block-cover.alignleft,
- .wp-block-cover-image.alignleft,
- .wp-block-cover-image.alignright {
- display: flex;
- }
- .wp-block-cover-image .wp-block-cover-image-text,
- .wp-block-cover-image .wp-block-cover-text,
- .wp-block-cover-image h2,
- .wp-block-cover .wp-block-cover-image-text,
- .wp-block-cover .wp-block-cover-text, .wp-block-cover h2 {
- font-size: 1.5em;
- margin-bottom: inherit;
- }
- .wp-block-cover.alignfull .wp-block-cover__inner-container {
- max-width: 740px;
- margin: 0 auto;
- }
- /* File */
- .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;
- }
- .wp-block-file .wp-block-file__button:focus,
- .wp-block-file .wp-block-file__button:active {
- outline: 0;
- background: #767676;
- box-shadow: inset 0 2px 2px rgba(0, 0, 0, .25), 0 0 0 6px rgba(0, 0, 0, .08);
- }
- .wp-block-file .wp-block-file__button:hover {
- text-decoration: none;
- color: #fff;
- background: #767676;
- }
- .rtl .wp-block-file * + .wp-block-file__button {
- margin-left: .75em;
- margin-right: 0;
- }
- /*--------------------------------------------------------------
- 4.0 Blocks - Formatting
- --------------------------------------------------------------*/
- /* Verse */
- .wp-block-verse {
- background: none;
- font-family: inherit;
- font-style: italic;
- padding: 0;
- }
- /* Code */
- /* Preformatted */
- /* Pullquote */
- .wp-block-pullquote {
- border: #0087be solid;
- border-width: 3px 0;
- padding: 0.5em;
- }
- .wp-block-pullquote blockquote {
- margin-left: 0;
- margin-right: 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 cite {
- font-size: inherit;
- font-style: italic;
- text-transform: none;
- }
- /* Table */
- @media (min-width: 1140px) {
- body:not(.has-sidebar) .wp-block-table.alignwide {
- width: 1100px;
- }
- }
- body:not(.has-sidebar) .wp-block-table.alignfull {
- width: 96vw;
- }
- /*--------------------------------------------------------------
- 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,
- .wp-block-button__link:visited {
- background: #0087be;
- color: #fff;
- }
- .is-style-outline .wp-block-button__link {
- border-color: currentColor;
- }
- .is-style-outline .wp-block-button__link:not(.has-text-color),
- .is-style-outline .wp-block-button__link:not(.has-text-color):visited{
- color: #0087be;
- }
- .entry-content .wp-block-button .wp-block-button__link:focus,
- .entry-content .wp-block-button .wp-block-button__link:active {
- background: #767676;
- box-shadow: inset 0 2px 2px rgba(0, 0, 0, .25), 0 0 0 6px rgba(0, 0, 0, .08);
- }
- .entry-content .wp-block-button .wp-block-button__link:hover {
- text-decoration: none;
- color: #fff;
- background: #767676;
- }
- /* Group */
- .wp-block-group.alignfull .wp-block-group__inner-container {
- max-width: 740px;
- margin: 0 auto;
- }
- /* Separator */
- .wp-block-separator {
- border: 0;
- }
- .wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
- margin-left: auto;
- margin-right: auto;
- max-width: 100px;
- }
- /* Media & Text */
- .wp-block-media-text {
- margin-bottom: 0.875em;
- }
- /*--------------------------------------------------------------
- 6.0 Blocks - Widgets
- --------------------------------------------------------------*/
- /* General Widget styles */
- .wp-block-categories.aligncenter,
- .wp-block-categories.aligncenter ul,
- .wp-block-archives.aligncenter,
- .wp-block-latest-posts.aligncenter,
- .wp-block-latest-comments.aligncenter {
- list-style-position: inside;
- text-align: center;
- }
- /* 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;
- }
- /* Latest Posts */
- .wp-block-latest-posts.is-grid {
- margin-left: 0;
- margin-right: 0;
- }
- /*--------------------------------------------------------------
- 7.0 Blocks - Colors
- --------------------------------------------------------------*/
- .has-medium-blue-color,
- .has-medium-blue-color:hover,
- .has-medium-blue-color:active,
- .has-medium-blue-color:focus,
- .has-medium-blue-color:visited {
- color: #0087be;
- }
- .has-medium-blue-background-color,
- .has-medium-blue-background-color:hover,
- .has-medium-blue-background-color:active,
- .has-medium-blue-background-color:focus,
- .has-medium-blue-background-color:visited {
- background-color: #0087be;
- }
- .has-bright-blue-color,
- .has-bright-blue-color:hover,
- .has-bright-blue-color:focus,
- .has-bright-blue-color:active,
- .has-bright-blue-color:visited {
- color: #00aadc;
- }
- .has-bright-blue-background-color,
- .has-bright-blue-background-color:hover,
- .has-bright-blue-background-color:focus,
- .has-bright-blue-background-color:active,
- .has-bright-blue-background-color:visited {
- background-color: #00aadc;
- }
- .has-dark-gray-color,
- .has-dark-gray-color:hover,
- .has-dark-gray-color:focus,
- .has-dark-gray-color:active,
- .has-dark-gray-color:visited {
- color: #4d4d4b;
- }
- .has-dark-gray-background-color,
- .has-dark-gray-background-color:hover,
- .has-dark-gray-background-color:focus,
- .has-dark-gray-background-color:active,
- .has-dark-gray-background-color:visited {
- background-color: #4d4d4b;
- }
- .has-light-gray-color,
- .has-light-gray-color:hover,
- .has-light-gray-color:focus,
- .has-light-gray-color:active,
- .has-light-gray-color:visited {
- color: #b3b3b1;
- }
- .has-light-gray-background-color,
- .has-light-gray-background-color:hover,
- .has-light-gray-background-color:focus,
- .has-light-gray-background-color:active,
- .has-light-gray-background-color:visited {
- background-color: #b3b3b1;
- }
- .has-white-color,
- .has-white-color:hover,
- .has-white-color:focus,
- .has-white-color:active,
- .has-white-color:visited {
- color: #fff;
- }
- .has-white-background-color,
- .has-white-background-color:hover,
- .has-white-background-color:focus,
- .has-white-background-color:active,
- .has-white-background-color:visited {
- background-color: #fff;
- }
- /*--------------------------------------------------------------
- 8.0 Blocks - Posts List Block
- --------------------------------------------------------------*/
- li.a8c-posts-list__item {
- margin-top: 0;
- }
- li.a8c-posts-list__item article {
- margin-top: 1.75em;
- padding-top: 1.75em;
- border-top: solid 1px #ddd;
- }
- h2.a8c-posts-list-item__title {
- font-size: 32px;
- margin-top: 0;
- margin-bottom: 0;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
- line-height: 1.3;
- color: #333332;
- -webkit-font-smoothing: antialiased;
- }
- @media screen and (min-width: 32.375em) {
- h2.a8c-posts-list-item__title {
- font-size: 47px;
- }
- }
- h2.a8c-posts-list-item__title a {
- text-decoration: none;
- color: inherit;
- -webkit-transition: opacity 140ms ease-in-out;
- transition: opacity 140ms ease-in-out;
- }
- h2.a8c-posts-list-item__title a:hover,
- h2.a8c-posts-list-item__title a:focus,
- h2.a8c-posts-list-item__title a:active {
- opacity: .8;
- }
- div.a8c-posts-list-item__meta {
- margin-top: .875em;
- margin-bottom: .875em;
- color: #b3b3b1;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
- font-size: 14px;
- font-weight: 400;
- font-style: normal;
- }
- span.a8c-posts-list-item__datetime:before {
- content: "\f303";
- position: relative;
- top: -1px;
- display: inline-block;
- font-family: "Genericons";
- font-size: 16px;
- line-height: 1;
- vertical-align: middle;
- transform: scale(1.25);
- -webkit-transform: scale(1.25);
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- padding-right: 5px;
- }
- span.a8c-posts-list-item__author a {
- color: #b3b3b1;
- }
- div.a8c-posts-list-item__excerpt {
- margin-top: .875em;
- font-family: Georgia, "Times New Roman", serif;
- font-size: 17px;
- }
- @media screen and (min-width: 32.375em) {
- div.a8c-posts-list-item__excerpt {
- font-size: 19px;
- }
- }
- figure.a8c-posts-list-item__post-thumbnail {
- margin-bottom: 1.75em;
- }
- a.a8c-posts-list__view-all {
- display: inline-block;
- box-sizing: content-box;
- padding: .4375em .875em;
- 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;
- text-decoration: none;
- color: #fff;
- border: solid 1px transparent;
- border-radius: 3px;
- background: #0087be;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- margin: .875em 0;
- }
- a.a8c-posts-list__view-all:focus,
- a.a8c-posts-list__view-all:active {
- outline: 0;
- background: #767676;
- box-shadow: inset 0 2px 2px rgba(0, 0, 0, .25), 0 0 0 6px rgba(0, 0, 0, .08);
- }
- a.a8c-posts-list__view-all:hover {
- text-decoration: none;
- color: #fff;
- background: #767676;
- }
- a.a8c-posts-list__view-all:visited {
- color: white;
- }
|