Skip to content

Commit

Permalink
Simplify editor styles
Browse files Browse the repository at this point in the history
  • Loading branch information
scruffian committed Feb 18, 2021
1 parent a0a949e commit 8ec2f6f
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 72 deletions.
70 changes: 70 additions & 0 deletions penscratch-2/css/reset.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
/* =Reset
-------------------------------------------------------------- */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
th {
font-family: inherit;
font-size: 100%;
font-weight: inherit;
font-style: inherit;
margin: 0;
padding: 0;
vertical-align: baseline;
border: 0;
outline: 0;
}
3 changes: 3 additions & 0 deletions penscratch-2/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,9 @@ function penscratch_2_scripts() {
wp_enqueue_style( 'penscratch-2-style', get_stylesheet_uri() );
wp_enqueue_style( 'penscratch-2-fonts', penscratch_2_fonts_url(), array(), null );

// Theme reset stylesheet
wp_enqueue_style( 'penscratch-2-reset', get_theme_file_uri( '/css/reset.css' ), array( 'penscratch-2-style' ), '1.0' );

// Theme block stylesheet.
wp_enqueue_style( 'penscratch-2-block-style', get_theme_file_uri( '/css/blocks.css' ), array( 'penscratch-2-style' ), '1.0' );

Expand Down
72 changes: 0 additions & 72 deletions penscratch-2/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,78 +19,6 @@
* along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
* and Blueprint http://www.blueprintcss.org/ */


/* =Reset
-------------------------------------------------------------- */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
th {
font-family: inherit;
font-size: 100%;
font-weight: inherit;
font-style: inherit;
margin: 0;
padding: 0;
vertical-align: baseline;
border: 0;
outline: 0;
}

html {
font-size: 62.5%;
/* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/4/#c790 */
Expand Down

0 comments on commit 8ec2f6f

Please sign in to comment.