Update themes

This commit is contained in:
Oliver Davies 2019-05-08 08:07:01 +01:00
parent e00f87f2f5
commit 168d1a5ee7
98 changed files with 6532 additions and 2223 deletions

View file

@ -78,7 +78,7 @@ body {
body {
font-size: $font__size_base;
font-family: $font__body;
@include font-family( $font__body );
line-height: $font__line-height-body;
color: $color__text-main;
}
@ -93,7 +93,7 @@ h3,
h4,
h5,
h6 {
font-family: $font__heading;
@include font-family( $font__heading );
font-weight: 700;
}
@ -189,7 +189,7 @@ a {
figcaption,
.gallery-caption {
font-family: $font__heading;
@include font-family( $font__heading );
font-size: $font__size-xs;
line-height: 1.6;
color: $color__text-light;
@ -210,7 +210,7 @@ figcaption,
}
.editor-post-title__input {
font-family: $font__heading;
@include font-family( $font__heading );
font-size: $font__size-xxl;
font-weight: 700;
}
@ -219,7 +219,7 @@ figcaption,
/** === Default Appender === */
.editor-default-block-appender .editor-default-block-appender__content {
font-family: $font__body;
@include font-family( $font__body );
font-size: $font__size_base;
}
@ -235,7 +235,7 @@ figcaption,
.wp-block-paragraph {
&.has-drop-cap:not(:focus)::first-letter {
font-family: $font__heading;
@include font-family( $font__heading );
font-size: $font__size-xxxl;
line-height: 1;
font-weight: bold;
@ -246,7 +246,7 @@ figcaption,
/** === Table === */
.wp-block-table {
font-family: $font__heading;
@include font-family( $font__heading );
}
/** === Cover === */
@ -255,7 +255,7 @@ figcaption,
h2,
.wp-block-cover-text {
font-family: $font__heading;
@include font-family( $font__heading );
font-size: $font__size-lg;
font-weight: bold;
line-height: 1.4;
@ -356,7 +356,7 @@ figcaption,
.wp-block-button__link {
line-height: 1.8;
font-family: $font__heading;
@include font-family( $font__heading );
font-size: $font__size-sm;
font-weight: bold;
}
@ -391,7 +391,8 @@ figcaption,
.wp-block-quote {
&:not(.is-large):not(.is-style-large) {
border-left: 2px solid $color__link;
border-width: 2px;
border-color: $color__link;
}
&.is-large,
@ -411,7 +412,7 @@ figcaption,
cite,
footer,
.wp-block-quote__citation {
font-family: $font__heading;
@include font-family( $font__heading );
font-size: $font__size-xs;
line-height: 1.6;
color: $color__text-light;
@ -482,7 +483,7 @@ figcaption,
}
.wp-block-pullquote__citation {
font-family: $font__heading;
@include font-family( $font__heading );
font-size: $font__size-xs;
line-height: 1.6;
text-transform: none;
@ -531,7 +532,7 @@ figcaption,
/** === File === */
.wp-block-file {
font-family: $font__heading;
@include font-family( $font__heading );
.wp-block-file__textlink {
text-decoration: underline;
@ -625,7 +626,7 @@ ul.wp-block-archives,
li {
color: $color__text-light;
font-family: $font__heading;
@include font-family( $font__heading );
font-size: calc(#{$font__size_base} * #{$font__size-ratio});
font-weight: bold;
line-height: $font__line-height-heading;
@ -686,7 +687,7 @@ ul.wp-block-archives,
.wp-block-latest-comments {
.wp-block-latest-comments__comment-meta {
font-family: $font__heading;
@include font-family( $font__heading );
font-weight: bold;
.wp-block-latest-comments__comment-date {
@ -712,7 +713,7 @@ ul.wp-block-archives,
dd {
color: $color__text-light;
font-size: $font__size-xs;
font-family: $font__heading;
@include font-family( $font__heading );
line-height: $font__line-height-pre;
margin: 0;
padding: ( $size__spacing-unit * .5 );
@ -730,7 +731,7 @@ ul.wp-block-archives,
border-left: 2px solid $color__link;
cite {
font-family: $font__heading;
@include font-family( $font__heading );
font-size: $font__size-xs;
font-style: normal;
line-height: 1.6;
@ -738,8 +739,3 @@ ul.wp-block-archives,
}
}
}
/* Make sure our non-latin font overrides don't overwrite the iconfont used in the classic editor toolbar */
.wp-block[data-type="core/freeform"] .mce-btn i {
font-family: dashicons !important;
}