Skip to content

Instantly share code, notes, and snippets.

@woodwardtw
Last active August 15, 2024 12:43
Show Gist options
  • Save woodwardtw/9f1a75bb5723dfbd692792e6bffab9bf to your computer and use it in GitHub Desktop.
Save woodwardtw/9f1a75bb5723dfbd692792e6bffab9bf to your computer and use it in GitHub Desktop.
section.part header h1, section.front-matter header h1.entry-title, section.back-matter header h1.entry-title,
.front-matter h5,
.part h5,
.chapter h5,
.back-matter h5,
body#tinymce.wp-editor h5,
.front-matter h2,
.part h2,
.chapter h2,
.back-matter h2,
body#tinymce.wp-editor h2,
.front-matter h3,
.part h3,
.chapter h3,
.back-matter h3,
body#tinymce.wp-editor h3,
.textbox.textbox--exercises .textbox__header p,
.textbox--exercises.bcc-box .textbox__header p,
.textbox.textbox--key-takeaways .textbox__header p,
.chapter h1, h1.entry-title,
.textbox.textbox--learning-objectives .textbox__header p,
section.chapter header h1 span
{
font-family: 'Lato', 'Helvetica', 'Arial', sans-serif;
font-weight: 700;
font-size: 1.7rem;
font-style: normal;
}
.textbox.textbox--exercises .textbox__header,
.textbox--exercises.bcc-box .textbox__header,
.textbox.textbox--key-takeaways .textbox__header,
.textbox.textbox--learning-objectives .textbox__header,
.textbox.textbox--learning-objectives .textbox__content,
.textbox--learning-objectives.bcc-box .textbox__content,
.textbox
{
padding: 12pt 1.7777777778em;
}
.textbox.textbox--exercises .textbox__header p,
.textbox.textbox--key-takeaways .textbox__header p,
.textbox.textbox--learning-objectives .textbox__header p
{
margin: 0;
}
.chapter h5, .chapter h3, .chapter h2, .chapter h1 {
margin: 12pt 0;
}
.textbox {
border: none;
background-color: #f7f8d9;
margin: 12pt 0;
}
.textbox__header,
.textbox.textbox--learning-objectives .textbox__header,
.textbox.textbox--exercises .textbox__header, .textbox--exercises.bcc-box .textbox__header,
.textbox.textbox--key-takeaways .textbox__header, .textbox--key-takeaways.bcc-box .textbox__header,
.textbox.textbox--learning-objectives .textbox__header, .textbox--learning-objectives.bcc-box .textbox__header,
{
background-image: url(https://pressbooks.rampages.us/sociology-research-methods/wp-content/uploads/sites/29/2022/07/press-tri.png);
background-repeat: no-repeat;
background-size: 180px;
background-position: right top;
}
.chapter .wp-caption.alignnone {
margin: 1.3em 0;
}
.chapter img {
margin-bottom: 10px;
}
.chapter .wp-caption figcaption, .chapter .wp-caption .wp-caption-text {
font-style: normal;
font-family: 'Lato', 'Helvetica', 'Arial', sans-serif;
padding: 0 10px;
margin: 10px;
}
.chapter-img {
margin-bottom: 12pt;
}
figure {
border: 1px solid #efefef;
padding: 5px !important;
margin: 1rem 0 !important;
}
.textbox.deeper{
background-color: #adead7;
}
.chapter .wp-caption.alignleft {
margin-right: 12px !important;
}
.chapter .wp-caption.alignright {
margin-left: 12px !important;
}
a img {
border: none;
}
[data-type="author"] {
display: none !important;
}
figure.aligncenter {
margin-right: auto !important;
margin-left: auto !important;
}
.toc__title__container .toc__author, [data-type="chapter"] [data-type="author"], [data-type="author"] {
display: none !important;
}
section.chapter header h1, section.part header h1, section.front-matter header h1.entry-title, section.back-matter header h1.entry-title,
.front-matter h5,
.part h5,
.chapter h5,
.back-matter h5,
body#tinymce.wp-editor h5,
.front-matter h2,
.part h2,
.chapter h2,
.back-matter h2,
body#tinymce.wp-editor h2,
.front-matter h3,
.part h3,
.chapter h3,
.back-matter h3,
body#tinymce.wp-editor h3,
.textbox.textbox--exercises .textbox__header p,
.textbox--exercises.bcc-box .textbox__header p,
.textbox.textbox--key-takeaways .textbox__header p,
.chapter h1,
.textbox.textbox--learning-objectives .textbox__header p,
section.chapter header h1 span
{
font-family: 'Lato', 'Helvetica', 'Arial', sans-serif;
font-weight: 700;
font-size: 1.7rem;
font-style: normal;
}
.textbox.textbox--exercises .textbox__header,
.textbox--exercises.bcc-box .textbox__header,
.textbox.textbox--key-takeaways .textbox__header,
.textbox.textbox--learning-objectives .textbox__header,
.textbox.textbox--learning-objectives .textbox__content,
.textbox--learning-objectives.bcc-box .textbox__content,
.textbox
{
padding: 12pt 1.7777777778em;
}
.textbox.textbox--exercises .textbox__header p,
.textbox.textbox--key-takeaways .textbox__header p,
.textbox.textbox--learning-objectives .textbox__header p
{
margin: 0;
}
.chapter h5, .chapter h3, .chapter h2, .chapter h1 {
margin: 12pt 0;
}
.textbox {
border: none;
background-color: #f7f8d9;
margin: 12pt 0;
}
.textbox__header,
.textbox.textbox--learning-objectives .textbox__header,
.textbox.textbox--exercises .textbox__header, .textbox--exercises.bcc-box .textbox__header,
.textbox.textbox--key-takeaways .textbox__header, .textbox--key-takeaways.bcc-box .textbox__header,
.textbox.textbox--learning-objectives .textbox__header, .textbox--learning-objectives.bcc-box .textbox__header,
{
background-image: url(https://pressbooks.rampages.us/sociology-research-methods/wp-content/uploads/sites/29/2022/07/press-tri.png);
background-repeat: no-repeat;
background-size: 180px;
background-position: right top;
}
.chapter .wp-caption.alignnone {
margin: 1.3em 0;
}
.chapter img {
margin-bottom: 10px;
}
.chapter .wp-caption figcaption, .chapter .wp-caption .wp-caption-text {
font-style: normal;
font-family: 'Lato', 'Helvetica', 'Arial', sans-serif;
padding: 0 10px;
margin: 10px;
}
.chapter-img {
margin-bottom: 12pt;
}
#content .part .wp-caption {
border: 1px solid #424242;
padding: 5px !important;
margin: 1rem 0 !important;
}
.textbox.deeper{
background-color: #adead7;
}
.chapter .wp-caption.alignleft {
margin-right: 12px !important;
}
.chapter .wp-caption.alignright {
margin-left: 12px !important;
}
#content {
height: 100%;
overflow: auto;
}
#main #content figure, #attachment_95 {
border: 1px solid #efefef;
padding: 5px !important;
margin: 1rem 0 !important;
}
#main #content .chapter .wp-caption.alignleft, #attachment_95 {
margin-right: 12px !important;
}
a img {
border: none;
}
.toc__title__container .toc__author, [data-type="chapter"] [data-type="author"], [data-type="author"] {
display: none !important;
}
figure.aligncenter {
margin-right: auto !important;
margin-left: auto !important;
}
section.part header h1, section.front-matter header h1.entry-title, section.back-matter header h1.entry-title,
section.chapter header h1,
.front-matter h5,
.part h5,
.chapter h5,
.back-matter h5,
body#tinymce.wp-editor h5,
.front-matter h2,
.part h2,
.chapter h2,
.back-matter h2,
body#tinymce.wp-editor h2,
.front-matter h3,
.part h3,
.chapter h3,
.back-matter h3,
body#tinymce.wp-editor h3,
.textbox.textbox--exercises .textbox__header p,
.textbox--exercises.bcc-box .textbox__header p,
.textbox.textbox--key-takeaways .textbox__header p,
.chapter h1,
.textbox.textbox--learning-objectives .textbox__header p,
section.chapter header h1 span
{
font-family: 'Lato', 'Helvetica', 'Arial', sans-serif;
font-weight: 700;
font-size: 1.7rem;
font-style: normal;
}
.textbox.textbox--exercises .textbox__header,
.textbox--exercises.bcc-box .textbox__header,
.textbox.textbox--key-takeaways .textbox__header,
.textbox.textbox--learning-objectives .textbox__header,
.textbox.textbox--learning-objectives .textbox__content,
.textbox--learning-objectives.bcc-box .textbox__content,
.textbox
{
padding: 12pt 1.7777777778em;
}
.textbox.textbox--exercises .textbox__header p,
.textbox.textbox--key-takeaways .textbox__header p,
.textbox.textbox--learning-objectives .textbox__header p
{
margin: 0;
}
.chapter h5, .chapter h3, .chapter h2, .chapter h1 {
margin: 12pt 0;
}
.textbox {
border: none;
background-color: #f7f8d9;
margin: 12pt 0;
}
.textbox__header,
.textbox.textbox--learning-objectives .textbox__header,
.textbox.textbox--exercises .textbox__header, .textbox--exercises.bcc-box .textbox__header,
.textbox.textbox--key-takeaways .textbox__header, .textbox--key-takeaways.bcc-box .textbox__header,
.textbox.textbox--learning-objectives .textbox__header, .textbox--learning-objectives.bcc-box .textbox__header,
{
background-image: url(https://pressbooks.rampages.us/sociology-research-methods/wp-content/uploads/sites/29/2022/07/press-tri.png);
background-repeat: no-repeat;
background-size: 180px;
background-position: right top;
}
.chapter .wp-caption.alignnone, .part .wp-caption.alignnone {
margin: 1.3em 0;
}
.chapter img {
margin-bottom: 10px;
}
.chapter .wp-caption figcaption, .chapter .wp-caption .wp-caption-text,
.part .wp-caption figcaption, .part .wp-caption .wp-caption-text{
font-style: normal;
font-family: 'Lato', 'Helvetica', 'Arial', sans-serif;
padding: 0 10px;
margin: 10px;
}
.chapter-img {
margin-bottom: 12pt;
}
figure, img {
border: 1px solid #efefef;
padding: 5px !important;
margin: 1rem 0 !important;
}
figure img {
border: none;
}
.textbox.deeper{
background-color: #adead7;
}
.chapter .wp-caption.alignleft, .part .wp-caption.alignleft, .textbox img.alignleft {
margin-right: 12px !important;
}
.chapter .wp-caption.alignright, .part .wp-caption.alignright, img.alignright {
margin-left: 12px !important;
}
#content {
height: 100%;
overflow: auto;
}
#content li br {
content: "";
display: block;
margin: 1rem;
}
#content li {
margin-top: 1rem;
}
.toc__title__container .toc__author, [data-type="chapter"] [data-type="author"], [data-type="author"] {
display: none !important;
}
a.glossary-term {
font-weight: bold !important;
}
a img {
border: none;
}
figure.aligncenter {
margin-right: auto !important;
margin-left: auto !important;
}
.code {
font-family: 'Courier New', monospace;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment