Simplify editor styles

This commit is contained in:
Ben Dwyer 2021-02-18 12:08:16 +00:00
parent b76460d00d
commit 7868bf32a1
3 changed files with 73 additions and 72 deletions

View file

@ -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;
}

View file

@ -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' );

View file

@ -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 */