Skip to content

Commit

Permalink
Initial Modification
Browse files Browse the repository at this point in the history
Migrating/merging CSS from the WordPress Customizer's "Additional CSS" field into the theme's main stylesheets.

Also tried to modify the editor's stylesheet to display Caslon too. We'll see how that goes...
  • Loading branch information
extratone committed Sep 13, 2020
1 parent 106f010 commit 58ee6b9
Show file tree
Hide file tree
Showing 13 changed files with 328 additions and 1,307 deletions.
6 changes: 1 addition & 5 deletions 404.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
<?php
/**
* The template for displaying the 404 template in the Twenty Twenty theme.
*
* @package WordPress
* @subpackage Twenty_Twenty
* @since Twenty Twenty 1.0
*/

get_header();
Expand Down
10 changes: 5 additions & 5 deletions assets/css/editor-style-block-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
@supports ( font-variation-settings: normal ) {

.editor-styles-wrapper > * {
font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
font-family: adobe-caslon-pro, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
}

}
Expand Down Expand Up @@ -48,19 +48,19 @@
Inter variable font. Usage:
@supports (font-variation-settings: normal) {
html { font-family: "Inter var", sans-serif; }
html { font-family: adobe-caslon-pro, sans-serif; }
}
---------------------------------------------- */

@font-face {
font-family: "Inter var";
font-family: adobe-caslon-pro;
font-weight: 100 900; /* stylelint-disable-line font-weight-notation */
font-style: normal;
src: url(../fonts/inter/Inter-upright-var.woff2) format("woff2");
}

@font-face {
font-family: "Inter var";
font-family: adobe-caslon-pro;
font-weight: 100 900; /* stylelint-disable-line font-weight-notation */
font-style: italic;
src: url(../fonts/inter/Inter-italic-var.woff2) format("woff2");
Expand Down Expand Up @@ -146,7 +146,7 @@ Inter variable font. Usage:
.editor-styles-wrapper cite,
.editor-styles-wrapper figcaption,
.editor-styles-wrapper .wp-caption-text {
font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
font-family: adobe-caslon-pro, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
}

}
Expand Down
10 changes: 5 additions & 5 deletions assets/css/editor-style-block.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
@supports ( font-variation-settings: normal ) {

.editor-styles-wrapper > * {
font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
font-family: adobe-caslon-pro, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
}

}
Expand Down Expand Up @@ -48,19 +48,19 @@
Inter variable font. Usage:
@supports (font-variation-settings: normal) {
html { font-family: "Inter var", sans-serif; }
html { font-family: adobe-caslon-pro, sans-serif; }
}
---------------------------------------------- */

@font-face {
font-family: "Inter var";
font-family: adobe-caslon-pro;
font-weight: 100 900; /* stylelint-disable-line font-weight-notation */
font-style: normal;
src: url(../fonts/inter/Inter-upright-var.woff2) format("woff2");
}

@font-face {
font-family: "Inter var";
font-family: adobe-caslon-pro;
font-weight: 100 900; /* stylelint-disable-line font-weight-notation */
font-style: italic;
src: url(../fonts/inter/Inter-italic-var.woff2) format("woff2");
Expand Down Expand Up @@ -146,7 +146,7 @@ Inter variable font. Usage:
.editor-styles-wrapper cite,
.editor-styles-wrapper figcaption,
.editor-styles-wrapper .wp-caption-text {
font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
font-family: adobe-caslon-pro, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
}

}
Expand Down
Loading

0 comments on commit 58ee6b9

Please sign in to comment.