Skip to content

Instantly share code, notes, and snippets.

@neverything
Created July 12, 2018 12: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 neverything/a211f4a3f8730cf4ab7fd9d32866e498 to your computer and use it in GitHub Desktop.
Save neverything/a211f4a3f8730cf4ab7fd9d32866e498 to your computer and use it in GitHub Desktop.
Generatepress CSS snippets
.entry-content ul > li,
.page-description ul > li,
.term-description ul > li,
.taxonomy-description ul > li,
.entry-content ol > li,
.page-description ol > li,
.term-description ol > li,
.taxonomy-description ol > li,
.generate-sections-inside-container ul > li,
.generate-sections-inside-container ol > li {
margin-left: 1em;
}
@media(min-width:768px) {
.entry-content > div#toc_container {
max-width: 50%;
}
ol.comment-list,
.generate-sections-inside-container > p,
.generate-sections-inside-container > ul,
.generate-sections-inside-container > ol,
.generate-sections-inside-container > blockquote,
.generate-sections-inside-container > h3,
.generate-sections-inside-container > h4,
.generate-sections-inside-container > h5,
.generate-sections-inside-container > h6,
.generate-sections-inside-containter > div.box,
.entry-content > p,
.entry-content > ul,
.entry-content > ol,
.entry-content > h1,
.entry-content > h2,
.entry-content > h3,
.entry-content > h3.arconix-faq-term-title,
.entry-content > h4,
.entry-content > h5,
.entry-content > h6,
.entry-content > div.box,
.entry-content > .aawp,
.entry-content > .fdwp-shortcode__code,
.entry-summary > p,
.entry-content > a.button,
.entry-content > address,
.entry-content > form,
.page-description > p,
.page-description > ul,
.page-description > ol,
.page-description > h1,
.page-description > h2,
.page-description > h3,
.page-description > h4,
.page-description > h5,
.page-description > h6,
.term-description > p,
.term-description > ul,
.term-description > ol,
.term-description > h1,
.term-description > h2,
.term-description > h3,
.term-description > h4,
.term-description > h5,
.term-description > h6,
.taxonomy-description > p,
.taxonomy-description > ul,
.taxonomy-description > ol,
.taxonomy-description > h1,
.taxonomy-description > h2,
.taxonomy-description > h3,
.taxonomy-description > h4,
.taxonomy-description > h5,
.taxonomy-description > h6 {
margin-left: 20%;
margin-right: 20%;
}
.generate-sections-inside-container > p.intro,
.entry-content > hr {
margin-left: 15%;
margin-right: 15%;
}
.taxonomy-description > blockquote,
.term-description > blockquote,
.page-description > blockquote,
.entry-content > blockquote {
margin-left: 10%;
margin-right: 10%;
}
.entry-content > p span[class^="embed-"]{
margin-left: -15%;
margin-right: -15%;
}
.woocommerce .entry-summary > p {
margin-left: 0;
margin-right: 0;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment