2019-07-17 14:04:17 +00:00
|
|
|
/**
|
|
|
|
* These styles should be loaded by the Block Editor only
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Abstracts
|
|
|
|
* - Mixins, variables and functions
|
|
|
|
*/
|
2019-07-19 04:15:29 +00:00
|
|
|
@import "../../varia/sass/abstracts/imports";
|
2019-07-17 14:04:17 +00:00
|
|
|
|
|
|
|
/**
|
2019-07-18 14:17:37 +00:00
|
|
|
* Child Theme Deep
|
2019-07-17 14:04:17 +00:00
|
|
|
*/
|
|
|
|
@import "config-child-theme-deep";
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Base
|
|
|
|
* - Reset the browser
|
|
|
|
*/
|
2019-07-19 04:15:29 +00:00
|
|
|
@import "../../varia/sass/base/editor";
|
2019-07-17 14:04:17 +00:00
|
|
|
|
2019-07-18 16:09:08 +00:00
|
|
|
// Reset the font-family override on html to make editor fonts match front-end
|
2019-07-19 07:26:24 +00:00
|
|
|
html {
|
2019-10-18 11:33:27 +00:00
|
|
|
@include font-family( map-deep-get($config-global, "font", "family", "primary") );
|
2019-07-18 16:09:08 +00:00
|
|
|
}
|
|
|
|
|
2019-07-19 09:24:55 +00:00
|
|
|
// Set the correct font family/size for the title
|
|
|
|
.editor-post-title .editor-post-title__block .editor-post-title__input {
|
2019-10-18 11:33:27 +00:00
|
|
|
@include font-family( map-deep-get($config-global, "font", "family", "primary") );
|
2019-07-19 09:24:55 +00:00
|
|
|
font-size: #{map-deep-get($config-global, "font", "size", "xxxl")};
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2019-07-17 14:04:17 +00:00
|
|
|
/**
|
|
|
|
* Elements
|
|
|
|
* - Styles for basic HTML elemants
|
|
|
|
*/
|
2019-07-19 04:15:29 +00:00
|
|
|
@import "../../varia/sass/elements/editor";
|
2019-07-17 14:04:17 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Blocks
|
|
|
|
* - These styles replace key Gutenberg Block styles for fonts, colors, and
|
|
|
|
* spacing with CSS-variables overrides
|
|
|
|
*/
|
2019-07-19 04:15:29 +00:00
|
|
|
@import "../../varia/sass/blocks/editor";
|
2019-12-20 12:58:23 +00:00
|
|
|
|
2020-07-10 19:17:29 +00:00
|
|
|
/**
|
|
|
|
* Vendors
|
|
|
|
* - Styles for 3rd party plugins and WP extensions
|
|
|
|
*/
|
|
|
|
@import "../../varia/sass/vendors/editor";
|
|
|
|
|
2019-12-20 12:58:23 +00:00
|
|
|
.wp-block-a8c-blog-posts {
|
|
|
|
.entry-title {
|
|
|
|
@include font-family( map-deep-get($config-global, "font", "family", "primary") );
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry-title a {
|
|
|
|
color: inherit;
|
|
|
|
|
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
color: #{map-deep-get($config-global, "color", "primary", "default")};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.cat-links,
|
|
|
|
.entry-meta {
|
|
|
|
@include font-family( map-deep-get($config-global, "font", "family", "secondary") );
|
|
|
|
}
|
|
|
|
|
|
|
|
.cat-links a,
|
|
|
|
.more-link,
|
|
|
|
.entry-meta a {
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.image-alignbehind article {
|
|
|
|
.entry-title a {
|
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.has-background:not(.has-background-background-color),
|
|
|
|
[class*="background-color"]:not(.has-background-background-color),
|
|
|
|
[style*="background-color"] {
|
|
|
|
.wp-block-a8c-blog-posts {
|
|
|
|
.entry-title a{
|
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-a8c-blog-posts + .button {
|
|
|
|
font-size: (strip-unit(map-deep-get($config-global, "font", "size", "base")) + 0em);
|
|
|
|
}
|