2018-10-29 20:16:31 +00:00
|
|
|
/*
|
|
|
|
Theme Name: Canard
|
|
|
|
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 {
|
2020-11-11 16:45:52 +00:00
|
|
|
color: #777;
|
2018-10-29 20:16:31 +00:00
|
|
|
font-family: Lato, sans-serif;
|
|
|
|
font-size: 16px;
|
|
|
|
line-height: 1.25;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------
|
|
|
|
2.0 Blocks - Common Blocks
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/* Paragraph */
|
|
|
|
|
|
|
|
p.has-drop-cap:not(:focus)::first-letter {
|
|
|
|
font-size: 64px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Images */
|
|
|
|
|
|
|
|
.wp-block-cover,
|
|
|
|
.wp-block-cover.alignleft,
|
|
|
|
.wp-block-cover.alignright,
|
|
|
|
.wp-block-cover.aligncenter {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Gallery */
|
|
|
|
|
|
|
|
.wp-block-gallery {
|
|
|
|
margin-bottom: 30px;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Quote */
|
|
|
|
|
|
|
|
.wp-block-quote:not(.is-large):not(.is-style-large).alignleft,
|
|
|
|
.wp-block-quote:not(.is-large):not(.is-style-large).alignright {
|
|
|
|
}
|
|
|
|
|
|
|
|
.rtl .wp-block-quote:not(.is-large):not(.is-style-large).alignleft,
|
|
|
|
.rtl .wp-block-quote:not(.is-large):not(.is-style-large).alignright {
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-quote cite {
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-quote cite:before {
|
|
|
|
}
|
|
|
|
|
|
|
|
.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: 120%;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Audio */
|
|
|
|
|
|
|
|
.wp-block-audio audio {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* File */
|
|
|
|
|
2018-11-05 22:39:43 +00:00
|
|
|
.wp-block-file a.wp-block-file__button {
|
2018-10-29 20:16:31 +00:00
|
|
|
background: #d11415;
|
|
|
|
border: 2px solid #d11415;
|
2018-11-05 22:39:43 +00:00
|
|
|
border-radius: 0;
|
2018-10-29 20:16:31 +00:00
|
|
|
color: #fff;
|
|
|
|
font-family: Lato, sans-serif;
|
|
|
|
font-weight: bold;
|
|
|
|
padding: 5.5px 13px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
2018-11-05 22:39:43 +00:00
|
|
|
.wp-block-file a.wp-block-file__button:hover,
|
|
|
|
.wp-block-file a.wp-block-file__button:focus {
|
2018-10-29 20:16:31 +00:00
|
|
|
background: #fff;
|
|
|
|
color: #d11415;
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2018-11-05 22:39:43 +00:00
|
|
|
.wp-block-file a.wp-block-file__button:focus {
|
2018-10-29 20:16:31 +00:00
|
|
|
background: #fff;
|
|
|
|
color: #d11415;
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2018-11-19 21:27:07 +00:00
|
|
|
.rtl .wp-block-file * + .wp-block-file__button {
|
|
|
|
margin-left: 0.75em;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
2018-10-29 20:16:31 +00:00
|
|
|
/*--------------------------------------------------------------
|
|
|
|
3.0 Blocks - Formatting Blocks
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/* Verse */
|
|
|
|
|
|
|
|
.wp-block-verse {
|
|
|
|
background: transparent;
|
2018-11-19 21:27:07 +00:00
|
|
|
border: 0;
|
2018-10-29 20:16:31 +00:00
|
|
|
color: inherit;
|
|
|
|
font-family: inherit;
|
|
|
|
line-height: inherit;
|
|
|
|
margin-bottom: 30px;
|
|
|
|
max-width: 100%;
|
|
|
|
overflow: auto;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Code */
|
|
|
|
|
|
|
|
.wp-block-code {
|
|
|
|
font-family: Inconsolata, monospace;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Pullquote */
|
|
|
|
|
|
|
|
.wp-block-pullquote {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-pullquote blockquote {
|
2018-10-30 00:24:07 +00:00
|
|
|
border-top: 4px solid currentColor;
|
|
|
|
border-bottom: 2px solid currentColor;
|
2018-10-29 20:16:31 +00:00
|
|
|
color: #555;
|
|
|
|
font-style: italic;
|
2018-10-30 14:04:23 +00:00
|
|
|
margin: 15px 0 30px;
|
2018-10-30 00:24:07 +00:00
|
|
|
padding: 15px 0;
|
2018-10-29 20:16:31 +00:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2018-10-30 00:24:07 +00:00
|
|
|
.wp-block-pullquote blockquote:before {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2018-11-02 15:49:25 +00:00
|
|
|
.wp-block-pullquote p,
|
2018-10-29 20:16:31 +00:00
|
|
|
.wp-block-pullquote.alignleft p,
|
|
|
|
.wp-block-pullquote.alignright p {
|
2018-10-30 00:24:07 +00:00
|
|
|
font-size: 20px;
|
2018-10-29 20:16:31 +00:00
|
|
|
}
|
|
|
|
|
2018-10-30 14:04:23 +00:00
|
|
|
.wp-block-pullquote.alignleft cite,
|
|
|
|
.wp-block-pullquote.alignright cite {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
2018-10-29 20:16:31 +00:00
|
|
|
.rtl .wp-block-pullquote blockquote {
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-pullquote p {
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-pullquote cite {
|
2018-10-30 00:24:07 +00:00
|
|
|
text-transform: none;
|
|
|
|
font-size: inherit;
|
|
|
|
font-weight: bold;
|
2018-10-29 20:16:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-pullquote cite:before {
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Table */
|
|
|
|
|
|
|
|
.wp-block-table,
|
|
|
|
.wp-block-table th,
|
|
|
|
.wp-block-table td {
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-table {
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-table th,
|
|
|
|
.wp-block-table td {
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-table th {
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-table td {
|
|
|
|
}
|
|
|
|
|
|
|
|
.rtl .wp-block-table th,
|
|
|
|
.rtl .wp-block-table td {
|
|
|
|
}
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------
|
|
|
|
4.0 Blocks - Layout Elements
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/* Buttons */
|
|
|
|
|
|
|
|
.wp-block-button .wp-block-button__link {
|
|
|
|
border: 2px solid;
|
|
|
|
display: inline-block;
|
|
|
|
font-family: Lato, sans-serif;
|
|
|
|
font-weight: bold;
|
|
|
|
padding: 5.5px 13px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-button__link:not(.has-background) {
|
|
|
|
background: #d11415;
|
|
|
|
border-color: #d11415;
|
|
|
|
}
|
|
|
|
|
2019-02-07 00:05:41 +00:00
|
|
|
.wp-block-button__link:not(.has-text-color) {
|
2018-10-29 20:16:31 +00:00
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
2022-01-07 09:27:54 +00:00
|
|
|
.wp-block-button .wp-block-button__link:active,
|
|
|
|
.wp-block-button .wp-block-button__link:focus,
|
|
|
|
.wp-block-button .wp-block-button__link:hover {
|
|
|
|
color: #d11415;
|
|
|
|
background: #fff;
|
|
|
|
border-color: #d11415;
|
|
|
|
}
|
|
|
|
|
2019-02-07 00:05:41 +00:00
|
|
|
.is-style-outline .wp-block-button__link {
|
|
|
|
background: transparent;
|
|
|
|
border-color: currentColor;
|
|
|
|
}
|
|
|
|
|
|
|
|
.is-style-outline .wp-block-button__link:not(.has-text-color) {
|
|
|
|
color: #d11415;
|
|
|
|
}
|
|
|
|
|
2022-01-07 09:27:54 +00:00
|
|
|
.is-style-outline .wp-block-button__link:not(.has-background):active,
|
|
|
|
.is-style-outline .wp-block-button__link:not(.has-background):hover,
|
|
|
|
.is-style-outline .wp-block-button__link:not(.has-background):focus,
|
|
|
|
.is-style-outline .wp-block-button__link:not(.has-text-color):active,
|
|
|
|
.is-style-outline .wp-block-button__link:not(.has-text-color):hover,
|
|
|
|
.is-style-outline .wp-block-button__link:not(.has-text-color):focus {
|
|
|
|
border-color: currentColor;
|
|
|
|
color: currentColor;
|
2018-10-29 20:16:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Seperator */
|
|
|
|
|
|
|
|
hr.wp-block-separator {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-separator {
|
|
|
|
background-color: #ddd;
|
|
|
|
border: 0;
|
|
|
|
height: 1px;
|
|
|
|
margin-bottom: 30px;
|
|
|
|
max-width: 66%;
|
|
|
|
}
|
|
|
|
|
2018-11-05 22:45:51 +00:00
|
|
|
.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
|
2018-11-05 22:39:43 +00:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
max-width: 100px;
|
|
|
|
}
|
|
|
|
|
2018-10-29 20:16:31 +00:00
|
|
|
.wp-block-separator.is-style-wide {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------
|
|
|
|
5.0 Blocks - Widget Blocks
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
2018-12-04 19:12:28 +00:00
|
|
|
/* 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;
|
|
|
|
}
|
|
|
|
|
2018-10-29 20:16:31 +00:00
|
|
|
/* Latest Comments */
|
|
|
|
|
|
|
|
.editor-block-list__block .wp-block-latest-comments__comment-meta a {
|
|
|
|
box-shadow: none;
|
|
|
|
font-weight: 700;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-latest-comments__comment-date {
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-latest-comments .wp-block-latest-comments__comment {
|
|
|
|
border-top: 1px solid #d1d1d1;
|
|
|
|
margin-bottom: 0;
|
|
|
|
padding: 30px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-latest-comments__comment-excerpt p:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------
|
|
|
|
6.0 Blocks - Colors
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
.has-dark-gray-color,
|
|
|
|
.has-dark-gray-color:hover,
|
|
|
|
.has-dark-gray-color:focus,
|
|
|
|
.has-dark-gray-color:active {
|
2018-10-30 14:12:19 +00:00
|
|
|
color: #555;
|
2018-10-29 20:16:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.has-dark-gray-background-color,
|
|
|
|
.has-dark-gray-background-color:hover,
|
|
|
|
.has-dark-gray-background-color:focus,
|
|
|
|
.has-dark-gray-background-color:active {
|
2018-10-30 14:12:19 +00:00
|
|
|
background-color: #555;
|
2018-10-29 20:16:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.has-medium-gray-color,
|
|
|
|
.has-medium-gray-color:hover,
|
|
|
|
.has-medium-gray-color:focus,
|
|
|
|
.has-medium-gray-color:active {
|
2018-10-30 14:12:19 +00:00
|
|
|
color: #777;
|
2018-10-29 20:16:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.has-medium-gray-background-color,
|
|
|
|
.has-medium-gray-background-color:hover,
|
|
|
|
.has-medium-gray-background-color:focus,
|
|
|
|
.has-medium-gray-background-color:active {
|
2018-10-30 14:12:19 +00:00
|
|
|
background-color: #777;
|
2018-10-29 20:16:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.has-light-gray-color,
|
|
|
|
.has-light-gray-color:hover,
|
|
|
|
.has-light-gray-color:focus,
|
|
|
|
.has-light-gray-color:active {
|
2018-10-30 14:12:19 +00:00
|
|
|
color: #ddd;
|
2018-10-29 20:16:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.has-light-gray-background-color,
|
|
|
|
.has-light-gray-background-color:hover,
|
|
|
|
.has-light-gray-background-color:focus,
|
|
|
|
.has-light-gray-background-color:active {
|
2018-10-30 14:12:19 +00:00
|
|
|
background-color: #ddd;
|
2018-10-29 20:16:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.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-red-color,
|
|
|
|
.has-red-color:hover,
|
|
|
|
.has-red-color:focus,
|
|
|
|
.has-red-color:active {
|
|
|
|
color: #d11415;
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-red-background-color,
|
|
|
|
.has-red-background-color:hover,
|
|
|
|
.has-red-background-color:focus,
|
|
|
|
.has-red-background-color:active {
|
|
|
|
background-color: #d11415;
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-black-color,
|
|
|
|
.has-black-color:hover,
|
|
|
|
.has-black-color:focus,
|
|
|
|
.has-black-color:active {
|
|
|
|
color: #222;
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-black-background-color,
|
|
|
|
.has-black-background-color:hover,
|
|
|
|
.has-black-background-color:focus,
|
|
|
|
.has-black-background-color:active {
|
|
|
|
background-color: #222;
|
|
|
|
}
|
|
|
|
|