083d413970
The dotted separator wasn't displaying because the height of the separator was too small. This change overrides the height for the dotted separator only.
521 lines
9.8 KiB
CSS
521 lines
9.8 KiB
CSS
/*
|
|
Theme Name: Dara
|
|
Description: Used to style Gutenberg Blocks.
|
|
*/
|
|
|
|
/*--------------------------------------------------------------
|
|
>>> TABLE OF CONTENTS:
|
|
----------------------------------------------------------------
|
|
1.0 General Block Styles
|
|
2.0 Blocks - Common Blocks
|
|
3.0 Blocks - Formatting
|
|
4.0 Blocks - Layout Elements
|
|
5.0 Blocks - Widgets
|
|
6.0 Blocks - Colors
|
|
--------------------------------------------------------------*/
|
|
|
|
/*--------------------------------------------------------------
|
|
1.0 General Block Styles
|
|
--------------------------------------------------------------*/
|
|
|
|
/* Captions */
|
|
|
|
[class^="wp-block-"] figcaption {
|
|
clear: both;
|
|
font-size: 15px;
|
|
font-style: italic;
|
|
margin: 0.8em 0;
|
|
text-align: center;
|
|
}
|
|
|
|
/*--------------------------------------------------------------
|
|
2.0 Blocks - Common Blocks
|
|
--------------------------------------------------------------*/
|
|
|
|
/* Posts */
|
|
|
|
.wp-block-newspack-blocks-homepage-articles .entry-meta {
|
|
position: initial;
|
|
width: inherit;
|
|
}
|
|
|
|
/* Paragraph */
|
|
|
|
p.has-drop-cap:not(:focus)::first-letter {
|
|
font-size: 64px;
|
|
}
|
|
|
|
/* Image */
|
|
|
|
.wp-block-image .aligncenter img {
|
|
display: block;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
/* Gallery */
|
|
|
|
.wp-block-gallery {
|
|
margin-bottom: 1.6em;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.wp-block-gallery figcaption {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
/* Quote */
|
|
|
|
blockquote cite {
|
|
font-style: normal;
|
|
}
|
|
|
|
.wp-block-quote,
|
|
.wp-block-quote.is-large p,
|
|
.wp-block-quote.is-style-large p {
|
|
font-style: normal;
|
|
}
|
|
|
|
.wp-block-quote[style*="text-align:right"] {
|
|
padding-left: 0;
|
|
padding-right: 2.4em;
|
|
}
|
|
|
|
.wp-block-quote[style*="text-align:right"]::before {
|
|
left: auto;
|
|
right: -10px;
|
|
}
|
|
|
|
.rtl .wp-block-quote[style*="text-align:left"] {
|
|
padding-left: 2.4em;
|
|
padding-right: 0;
|
|
}
|
|
|
|
.rtl .wp-block-quote[style*="text-align:left"]::before {
|
|
left: -10px;
|
|
right: auto;
|
|
}
|
|
|
|
.wp-block-quote cite {
|
|
display: block;
|
|
font-family: "Source Sans Pro", Helvetica, sans-serif;
|
|
font-size: 16px;
|
|
font-style: normal;
|
|
font-weight: bold;
|
|
margin: .4em 0;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.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 {
|
|
text-align: left;
|
|
}
|
|
|
|
.wp-block-quote.is-large,
|
|
.wp-block-quote.is-style-large {
|
|
padding-left: 1.6em;
|
|
}
|
|
|
|
.wp-block-quote.is-large,
|
|
.wp-block-quote.is-style-large,
|
|
.wp-block-quote.is-large p,
|
|
.wp-block-quote.is-style-large p {
|
|
font-size: 32px;
|
|
}
|
|
|
|
.wp-block-quote.is-large p,
|
|
.wp-block-quote.is-style-large p {
|
|
margin-bottom: .8em;
|
|
}
|
|
|
|
.rtl .wp-block-quote {
|
|
border: 0;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.rtl .wp-block-quote.is-large,
|
|
.rtl .wp-block-quote.is-style-large {
|
|
padding-left: 0;
|
|
padding-right: 1.6em;
|
|
}
|
|
|
|
|
|
/* Audio */
|
|
|
|
.wp-block-audio audio {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
|
|
/* Cover */
|
|
|
|
.wp-block-cover,
|
|
.wp-block-cover.alignleft,
|
|
.wp-block-cover.alignright,
|
|
.wp-block-cover.aligncenter {
|
|
display: flex;
|
|
}
|
|
|
|
/* File */
|
|
|
|
.wp-block-file .wp-block-file__button,
|
|
.wp-block-file .wp-block-file__button:visited {
|
|
background-color: #15b6b8;
|
|
border-style: none;
|
|
color: #fff;
|
|
cursor: pointer;
|
|
display: inline-block;
|
|
font-size: 15px;
|
|
font-weight: bold;
|
|
letter-spacing: 1px;
|
|
line-height: 2;
|
|
padding: .25em 1em .4em;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
text-transform: uppercase;
|
|
border-radius: 3px;
|
|
box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.1);
|
|
-webkit-appearance: none;
|
|
}
|
|
|
|
.wp-block-file .wp-block-file__button:focus {
|
|
opacity: 0.85;
|
|
color: #fff;
|
|
}
|
|
|
|
/* Embed */
|
|
|
|
.wp-block-embed.is-type-video blockquote {
|
|
padding: 0;
|
|
}
|
|
|
|
.wp-block-embed.is-type-video blockquote:before {
|
|
content: none;
|
|
}
|
|
|
|
/*--------------------------------------------------------------
|
|
3.0 Blocks - Formatting Blocks
|
|
--------------------------------------------------------------*/
|
|
|
|
/* Verse */
|
|
|
|
.wp-block-verse {
|
|
background: transparent;
|
|
color: inherit;
|
|
font-family: inherit;
|
|
font-size: inherit;
|
|
font-style: italic;
|
|
line-height: inherit;
|
|
margin-bottom: 1.6em;
|
|
max-width: 100%;
|
|
overflow: auto;
|
|
padding: 0;
|
|
}
|
|
|
|
/* Code */
|
|
|
|
.wp-block-code {
|
|
font-family: "Courier 10 Pitch", Courier, monospace;
|
|
overflow: auto;
|
|
}
|
|
|
|
/* Preformatted */
|
|
|
|
.wp-block-preformatted {
|
|
overflow: auto;
|
|
}
|
|
|
|
/* Pullquote */
|
|
|
|
.wp-block-pullquote {
|
|
margin: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
}
|
|
|
|
.wp-block-pullquote blockquote {
|
|
border: none;
|
|
font-family: "Yrsa", Georgia, serif;
|
|
font-size: 32px;
|
|
font-style: normal;
|
|
margin-left: 0;
|
|
margin-bottom: 1.6em;
|
|
padding-left: 1.6em;
|
|
padding-right: 0;
|
|
position: relative;
|
|
}
|
|
|
|
.wp-block-pullquote.alignleft {
|
|
margin-right: 1.6em;
|
|
}
|
|
|
|
.wp-block-pullquote.alignright p {
|
|
margin-left: 1.6em;
|
|
}
|
|
|
|
.wp-block-pullquote.alignleft p,
|
|
.wp-block-pullquote.alignright p {
|
|
font-size: 23px;
|
|
}
|
|
|
|
.rtl .wp-block-pullquote blockquote {
|
|
border: 0;
|
|
padding-right: 1.6em;
|
|
padding-left: 0;
|
|
}
|
|
|
|
.wp-block-pullquote p {
|
|
margin: 0;
|
|
}
|
|
|
|
.wp-block-pullquote cite {
|
|
font-size: 16px;
|
|
}
|
|
|
|
/*--------------------------------------------------------------
|
|
4.0 Blocks - Layout Elements
|
|
--------------------------------------------------------------*/
|
|
|
|
/* Buttons */
|
|
|
|
.wp-block-button .wp-block-button__link {
|
|
cursor: pointer;
|
|
display: inline-block;
|
|
font-size: 15px;
|
|
font-weight: bold;
|
|
letter-spacing: 1px;
|
|
line-height: 2;
|
|
padding: .25em 1em .4em;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
text-transform: uppercase;
|
|
box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.1);
|
|
-webkit-appearance: none;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.wp-block-button__link {
|
|
background-color: #15b6b8;
|
|
color: #fff;
|
|
}
|
|
|
|
.is-style-outline .wp-block-button__link {
|
|
border-color: currentColor;
|
|
}
|
|
|
|
.is-style-outline .wp-block-button__link:not(.has-text-color) {
|
|
color: #15b6b8;
|
|
}
|
|
|
|
.is-style-outline .wp-block-button__link {
|
|
box-shadow: none;
|
|
}
|
|
|
|
.entry-content .wp-block-button .wp-block-button__link:active,
|
|
.entry-content .wp-block-button .wp-block-button__link:focus,
|
|
.entry-content .wp-block-button .wp-block-button__link:hover {
|
|
background-color: #15b6b8;
|
|
color: #fff;
|
|
opacity: 0.85;
|
|
}
|
|
|
|
/* Seperator */
|
|
|
|
hr.wp-block-separator {
|
|
border: 0;
|
|
}
|
|
|
|
.wp-block-separator:not(.is-style-dots) {
|
|
height: 1px;
|
|
}
|
|
|
|
.wp-block-separator {
|
|
border: 0;
|
|
margin: 1.6em auto;
|
|
background-color: #e6e6e6;
|
|
max-width: 66%;
|
|
}
|
|
|
|
.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
max-width: 100px;
|
|
}
|
|
|
|
.wp-block-separator.is-style-wide {
|
|
max-width: 100%;
|
|
}
|
|
|
|
/*--------------------------------------------------------------
|
|
5.0 Blocks - Widget Blocks
|
|
--------------------------------------------------------------*/
|
|
|
|
/* 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;
|
|
}
|
|
|
|
/* Categories */
|
|
|
|
.wp-block-categories.aligncenter {
|
|
margin-left: 1.6em;
|
|
margin-right: 1.6em;
|
|
text-align: center;
|
|
}
|
|
|
|
.wp-block-categories-list.alignleft {
|
|
margin-left: 1.6em;
|
|
}
|
|
|
|
/* Latest Comments */
|
|
|
|
.wp-block-latest-comments {
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
}
|
|
|
|
.wp-block-latest-comments,
|
|
.wp-block-latest-comments__comment-excerpt p,
|
|
.wp-block-latest-comments__comment-date {
|
|
font-size: inherit;
|
|
}
|
|
|
|
.editor-block-list__block .wp-block-latest-comments__comment-meta a {
|
|
box-shadow: none;
|
|
font-weight: 700;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.wp-block-latest-comments .wp-block-latest-comments__comment {
|
|
border-top: 1px solid #e6e6e6;
|
|
margin-bottom: 0;
|
|
padding: 1.6em 0;
|
|
}
|
|
|
|
.wp-block-latest-comments__comment-excerpt p:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
/* Latest Posts */
|
|
|
|
.wp-block-latest-posts.is-grid {
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
}
|
|
|
|
/*--------------------------------------------------------------
|
|
6.0 Blocks - Colors
|
|
--------------------------------------------------------------*/
|
|
|
|
.has-dark-gray-color,
|
|
.has-dark-gray-color:hover,
|
|
.has-dark-gray-color:focus,
|
|
.has-dark-gray-color:active {
|
|
color: #444340;
|
|
}
|
|
|
|
.has-dark-gray-background-color,
|
|
.has-dark-gray-background-color:hover,
|
|
.has-dark-gray-background-color:focus,
|
|
.has-dark-gray-background-color:active {
|
|
background-color: #444340;
|
|
}
|
|
|
|
.has-medium-gray-color,
|
|
.has-medium-gray-color:hover,
|
|
.has-medium-gray-color:focus,
|
|
.has-medium-gray-color:active {
|
|
color: #a8a6a1;
|
|
}
|
|
|
|
.has-medium-gray-background-color,
|
|
.has-medium-gray-background-color:hover,
|
|
.has-medium-gray-background-color:focus,
|
|
.has-medium-gray-background-color:active {
|
|
background-color: #a8a6a1;
|
|
}
|
|
|
|
.has-light-gray-color,
|
|
.has-light-gray-color:hover,
|
|
.has-light-gray-color:focus,
|
|
.has-light-gray-color:active {
|
|
color: #e6e6e6;
|
|
}
|
|
|
|
.has-light-gray-background-color,
|
|
.has-light-gray-background-color:hover,
|
|
.has-light-gray-background-color:focus,
|
|
.has-light-gray-background-color:active {
|
|
background-color: #e6e6e6;
|
|
}
|
|
|
|
.has-white-color,
|
|
.has-white-color:hover,
|
|
.has-white-color:focus,
|
|
.has-white-color:active {
|
|
color: #fff;
|
|
}
|
|
|
|
.has-white-background-color,
|
|
.has-white-background-color:hover,
|
|
.has-white-background-color:focus,
|
|
.has-white-background-color:active {
|
|
background-color: #fff;
|
|
}
|
|
|
|
.has-blue-color,
|
|
.has-blue-color:hover,
|
|
.has-blue-color:focus,
|
|
.has-blue-color:active {
|
|
color: #15b6b8;
|
|
}
|
|
|
|
.has-blue-background-color,
|
|
.has-blue-background-color:hover,
|
|
.has-blue-background-color:focus,
|
|
.has-blue-background-color:active {
|
|
background-color: #15b6b8;
|
|
}
|
|
|
|
.has-dark-blue-color,
|
|
.has-dark-blue-color:hover,
|
|
.has-dark-blue-color:focus,
|
|
.has-dark-blue-color:active {
|
|
color: #0c8384;
|
|
}
|
|
|
|
.has-dark-blue-background-color,
|
|
.has-dark-blue-background-color:hover,
|
|
.has-dark-blue-background-color:focus,
|
|
.has-dark-blue-background-color:active {
|
|
background-color: #0c8384;
|
|
}
|
|
|
|
.has-black-color,
|
|
.has-black-color:hover,
|
|
.has-black-color:focus,
|
|
.has-black-color:active {
|
|
color: #404040;
|
|
}
|
|
|
|
.has-black-background-color,
|
|
.has-black-background-color:hover,
|
|
.has-black-background-color:focus,
|
|
.has-black-background-color:active {
|
|
background-color: #404040;
|
|
}
|
|
|