Skip to content

Commit

Permalink
Merge pull request #362 from thec4aa/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
slambert authored Jul 26, 2024
2 parents c479fcb + edd8c33 commit b0bf48f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
5 changes: 4 additions & 1 deletion src/css/_02-elements.scss
Original file line number Diff line number Diff line change
Expand Up @@ -325,10 +325,13 @@ h4 {
list-style: none;
}

.entry .entry-content ul:not([class*="font-size"]) {
font-size: 1.05rem;
}

.entry .entry-content ol li,
.entry .entry-content ul li:not(.wp-social-link) {
font-family: var(--font-serif);
font-size: 1.1rem;
font-weight: 400;
line-height: 125%; // when size of font is changed in the block, the rem is miscalculated
padding-bottom: 1rem;
Expand Down
18 changes: 7 additions & 11 deletions src/css/_c4aa-editorStyles.css
Original file line number Diff line number Diff line change
Expand Up @@ -165,13 +165,18 @@ h4.is-style-c4aa-clipPath-heading a {
/* LISTS */

ol li,
ul li{
ul li {
font-family: var( --font-serif );
font-weight: 400;
line-height: 1.3rem;
line-height: 125%;
padding-bottom: 1rem;
}

ol.is-style-no-bullets,
ul.is-style-no-bullets {
list-style: none;
}

/* BLOCKQUOTES */

.wp-block-quote {
Expand Down Expand Up @@ -366,15 +371,6 @@ a:hover {
font-weight: inherit;
}

/*
* LISTS
*/

ol.is-style-no-bullets,
ul.is-style-no-bullets {
list-style: none;
}

/*
* DETAILS BLOCK
*/
Expand Down

0 comments on commit b0bf48f

Please sign in to comment.