Barnsbury: Update editor font sizes and add misc fixes
This commit is contained in:
parent
4e0095b97b
commit
4ec47bfaf2
7 changed files with 26 additions and 24 deletions
|
@ -29,25 +29,25 @@ if ( ! function_exists( 'barnsbury_setup' ) ) :
|
|||
array(
|
||||
'name' => __( 'Small', 'barnsbury' ),
|
||||
'shortName' => __( 'S', 'barnsbury' ),
|
||||
'size' => 19.5,
|
||||
'size' => 16,
|
||||
'slug' => 'small',
|
||||
),
|
||||
array(
|
||||
'name' => __( 'Normal', 'barnsbury' ),
|
||||
'shortName' => __( 'M', 'barnsbury' ),
|
||||
'size' => 22,
|
||||
'size' => 23,
|
||||
'slug' => 'normal',
|
||||
),
|
||||
array(
|
||||
'name' => __( 'Large', 'barnsbury' ),
|
||||
'shortName' => __( 'L', 'barnsbury' ),
|
||||
'size' => 36.5,
|
||||
'size' => 27,
|
||||
'slug' => 'large',
|
||||
),
|
||||
array(
|
||||
'name' => __( 'Huge', 'barnsbury' ),
|
||||
'shortName' => __( 'XL', 'barnsbury' ),
|
||||
'size' => 49.5,
|
||||
'size' => 32,
|
||||
'slug' => 'huge',
|
||||
),
|
||||
)
|
||||
|
|
|
@ -319,7 +319,7 @@ $config-header: (
|
|||
// Fonts
|
||||
"font": (
|
||||
"family": map-deep-get($config-global, "font", "family", "secondary"),
|
||||
"size": map-deep-get($config-global, "font", "size", "md"),
|
||||
"size": map-deep-get($config-global, "font", "size", "base"),
|
||||
"weight": bold,
|
||||
"line-height": 1,
|
||||
),
|
||||
|
|
|
@ -29,7 +29,11 @@ a {
|
|||
padding: $spacing_unit;
|
||||
|
||||
@include media(mobile) {
|
||||
padding: (2 * $spacing_vertical) 0 (1.25 * $spacing_vertical);
|
||||
padding: (0.5 * $spacing_vertical) 0;
|
||||
}
|
||||
|
||||
@include media(desktop) {
|
||||
padding: $spacing_vertical 0;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -31,10 +31,3 @@
|
|||
* spacing with CSS-variables overrides
|
||||
*/
|
||||
@import "../../varia/sass/blocks/editor";
|
||||
|
||||
/**
|
||||
* Extras
|
||||
*/
|
||||
.editor-post-title__input {
|
||||
text-align: center;
|
||||
}
|
||||
|
|
|
@ -861,10 +861,3 @@ table th,
|
|||
.padding-left-default {
|
||||
padding-top: 32px !important;
|
||||
}
|
||||
|
||||
/**
|
||||
* Extras
|
||||
*/
|
||||
.editor-post-title__input {
|
||||
text-align: center;
|
||||
}
|
||||
|
|
|
@ -2449,7 +2449,7 @@ table th,
|
|||
color: #20603C;
|
||||
display: block;
|
||||
font-family: "Rubik", Trebuchet MS, Lucida Grande, Lucida Sans Unicode, Lucida Sans, Tahoma, sans-serif;
|
||||
font-size: 1.18rem;
|
||||
font-size: 1rem;
|
||||
font-weight: bold;
|
||||
padding: 10.56px;
|
||||
}
|
||||
|
@ -3415,7 +3415,13 @@ a {
|
|||
|
||||
@media only screen and (min-width: 560px) {
|
||||
.site-header {
|
||||
padding: 64px 0 40px;
|
||||
padding: 16px 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 1024px) {
|
||||
.site-header {
|
||||
padding: 32px 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -2454,7 +2454,7 @@ table th,
|
|||
color: #20603C;
|
||||
display: block;
|
||||
font-family: "Rubik", Trebuchet MS, Lucida Grande, Lucida Sans Unicode, Lucida Sans, Tahoma, sans-serif;
|
||||
font-size: 1.18rem;
|
||||
font-size: 1rem;
|
||||
font-weight: bold;
|
||||
padding: 10.56px;
|
||||
}
|
||||
|
@ -3420,7 +3420,13 @@ a {
|
|||
|
||||
@media only screen and (min-width: 560px) {
|
||||
.site-header {
|
||||
padding: 64px 0 40px;
|
||||
padding: 16px 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 1024px) {
|
||||
.site-header {
|
||||
padding: 32px 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue