updated theme Twenty Nineteen version 2.9

This commit is contained in:
2024-07-19 19:46:39 +00:00
committed by Gitium
parent 51937c2f57
commit 44c2f9f9a2
13 changed files with 241 additions and 217 deletions

View File

@ -119,22 +119,26 @@ h6 {
h1 {
font-size: $font__size-xl;
@include post-section-dash;
@include media(tablet) {
font-size: $font__size-xxl;
}
}
.wp-block-post-title,
h2 {
font-size: $font__size-lg;
@include post-section-dash;
@include media(tablet) {
font-size: $font__size-xl;
}
}
h1,
h2 {
@include post-section-dash;
}
h3 {
font-size: $font__size-lg;
}
@ -389,6 +393,7 @@ figcaption,
@include font-family( $font__heading );
font-size: $font__size-sm;
font-weight: bold;
padding: ($font__size_base * .76) $font__size_base;
&:not(.has-text-color) {
color: #fff;
@ -426,7 +431,7 @@ figcaption,
font-size: $font__size-sm;
font-weight: bold;
border-radius: 5px;
&:not(.has-text-color) {
color: #fff;
}
@ -841,14 +846,13 @@ ul.wp-block-archives,
padding: ( $size__spacing-unit * .5 );
text-align: left;
text-align: center;
-webkit-margin-start: 0px;
margin-inline-start: 0px;
-webkit-margin-start: 0;
margin-inline-start: 0;
}
}
.wp-block-freeform {
/* Add style for galleries in classic-editor block */
blockquote {
border-left: 2px solid $color__link;
@ -865,8 +869,8 @@ ul.wp-block-archives,
/** === Group Block === */
// This matches the 22px value for 1rem that used on the front end.
// It must be specified in pixels for the editor, since the root font
// size is different here.
// It must be specified in pixels for the editor, since the root font
// size is different here.
$group-block-background__padding: $font__size_base;
.wp-block-group {
@ -916,7 +920,7 @@ $group-block-background__padding: $font__size_base;
// Group block with background color
&.has-background {
// Child blocks: Default alignments
> .wp-block-group__inner-container > .wp-block:not([data-align="wide"]):not([data-align="full"]):not(.alignwide):not(.alignfull) {
@include media(tablet) {
@ -933,19 +937,19 @@ $group-block-background__padding: $font__size_base;
// Full alignment
.wp-block[data-align="full"] > .wp-block-group {
// Margins & padding are added to this container to mimic
// the style + spacing of the .editor-writing-flow global
// container. This way, child items sync up with the placement
// and size of other top-level blocks.
// Margins & padding are added to this container to mimic
// the style + spacing of the .editor-writing-flow global
// container. This way, child items sync up with the placement
// and size of other top-level blocks.
> .wp-block-group__inner-container {
// 2px of extra padding are added to each side here
// To better match up with the spacing of the whole
// document.
// To better match up with the spacing of the whole
// document.
@include media(tablet) {
width: 80%;
margin-left: 10%;
margin-right: 10%;
margin-right: 10%;
padding-left: 10px;
padding-right: 10px;
}