Skip to content

Instantly share code, notes, and snippets.

@webmandesign
Last active August 3, 2018 10:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save webmandesign/5e14fcaeb7783b74e5f6c882ed40be4a to your computer and use it in GitHub Desktop.
Save webmandesign/5e14fcaeb7783b74e5f6c882ed40be4a to your computer and use it in GitHub Desktop.
Additional minimal WP theme reset used besides Normalize.css.
/**
* Basic elements spacing.
*/
p:first-child,
h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child,
ul:first-child,
ol:first-child,
hr:first-child,
blockquote:first-child,
table:first-child,
figure:first-child,
iframe:first-child {
margin-top: 0;
}
p:last-child,
h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child,
h6:last-child,
ul:last-child,
ol:last-child,
hr:last-child,
blockquote:last-child,
table:last-child,
figure:last-child,
iframe:last-child {
margin-bottom: 0;
}
ul,
ol {
margin-left: 0;
}
ul,
ol {
padding-left: 1.62em;
}
li+li {
margin-top: .19em;
}
/* WP widget inside BB layout. */
.fl-module .widget {
margin: 0;
}
/**
* Quotes.
*/
blockquote {
margin-left: 0;
margin-right: 0;
font-size: 1.19em;
font-style: italic;
}
/**
* Horizontal line.
*/
hr {
border: 1px solid;
opacity: .2;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment