Skip to content

Commit

Permalink
Merge pull request #23 from brandid/2.0.9-updates
Browse files Browse the repository at this point in the history
2.0.9 updates
  • Loading branch information
alexmustin authored Mar 30, 2021
2 parents a4dfa44 + e834305 commit eecc706
Show file tree
Hide file tree
Showing 9 changed files with 138 additions and 130 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
# Course Maker Pro Theme Changelog

## [2.0.9] - Mar 30, 2021
* Fix: Fixes alignment for Buttons blocks after WP 5.7 update
* Fix: Fixes Quote blocks style to match the Page Editor experience

## [2.0.8] - Nov 5, 2020
* Fix: Genesis Blocks update! Now the theme uses Genesis Blocks in place of the Atomic Blocks plugin used previously. If you use the One-Click Theme Setup feature, your Demo pages will now be built with Genesis Blocks. We've also migrated our custom Atomic Blocks styles over to the Genesis Blocks plugin.

## [2.0.7] - Sept 25, 2020
* Fix: Updates a custom LifterLMS template file with the latest code.
* Fix: Updates a custom LifterLMS template file with the latest code

## [2.0.6] - Aug 19, 2020
* Fix: Fixes header issues caused after updating to WordPress 5.5
Expand Down Expand Up @@ -40,4 +44,4 @@ This release includes the following updates:
* Update: Disables Yoast SEO plugin schema

## [2.0.2] - Initial release
The initial release of the Course Maker Pro theme.
The initial release of the Course Maker Pro theme
79 changes: 39 additions & 40 deletions css/gutenberg-frontend-styles.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

165 changes: 83 additions & 82 deletions develop/scss/gutenberg/partials/_frontend-blockquotes.scss
Original file line number Diff line number Diff line change
@@ -1,96 +1,97 @@
/* Blockquotes and captions
--------------------------------------------- */
.entry-content .wp-block-pullquote {
margin: 18px 0;
.entry-content .wp-block-quote {
border-left: .25em solid;
padding-left: 1em;
p {
line-height: 1.6;
font-style: normal;
}
.wp-block-quote__citation {
font-size: 13px;
}
}

.entry-content .wp-block-pullquote:not(.is-style-solid-color) {
border-top-width: 4px;
border-top-style: solid;
border-bottom-width: 4px;
border-bottom-style: solid;
background: none;
padding: 20px 0;
@include media($screen--m){
padding: 40px 0;
.entry-content .wp-block-pullquote {
margin: 18px 0;
p {
line-height: 1.6;
font-style: normal;
}
@include media($screen--l){
padding: 54px 0;
&.alignleft,
&.alignright {
padding: 3em 0;
p {
font-size: 20px;
}
}
blockquote {
position: relative;
margin: 18px;
&.alignleft {
margin-right: 2em;
}
}

.entry-content .wp-block-pullquote.alignleft,
.entry-content .wp-block-pullquote.alignright {
padding: 3em 0;
}

.entry-content .wp-block-pullquote.alignleft {
margin-right: 2em;
}

.entry-content .wp-block-pullquote.alignright {
margin-left: 2em;
}

.entry-content .wp-block-pullquote.alignleft p,
.entry-content .wp-block-pullquote.alignright p {
font-size: 20px;
}

.entry-content .wp-block-pullquote:not(.is-style-solid-color).alignleft,
.entry-content .wp-block-pullquote:not(.is-style-solid-color).alignright {
blockquote {
margin: 0;
&.alignright {
margin-left: 2em;
}
&:not(.is-style-solid-color) {
border-top-width: 4px;
border-top-style: solid;
border-bottom-width: 4px;
border-bottom-style: solid;
background: none;
padding: 20px 0;
@include media($screen--m){
padding: 40px 0;
}
@include media($screen--l){
padding: 54px 0;
}
blockquote {
position: relative;
margin: 18px;
}
}
&:not(.is-style-solid-color).alignleft,
&:not(.is-style-solid-color).alignright {
blockquote {
margin: 0;
}
}
}

.entry-content .wp-block-quote p,
.entry-content .wp-block-pullquote p {
font-size: 28px;
line-height: 1.6;
font-style: normal;
text-align: center;
}

.entry-content .wp-block-quote.is-large p,
.entry-content .wp-block-quote.is-style-large p,
.entry-content .wp-block-pullquote.is-large p,
.entry-content .wp-block-pullquote.is-style-large p,
.entry-content .wp-block-quote.alignwide p,
.entry-content .wp-block-pullquote.alignwide p,
.entry-content .wp-block-quote.alignfull p,
.entry-content .wp-block-pullquote.alignfull p {
font-size: 26px;
}

.entry-content .wp-block-pullquote.is-style-solid-color.aligncenter p {
text-align: center;
}

.entry-content .wp-block-quote cite,
.entry-content .wp-block-pullquote cite {
display: block;
margin-top: 10px;
font-size: 15px;
font-style: normal;
text-transform: uppercase;
text-align: center;
.entry-content {
.wp-block-quote,
.wp-block-pullquote {
&.is-large,
&.is-style-large,
&.alignwide,
&.alignfull {
p {
font-size: 26px;
}
}
cite {
display: block;
margin-top: 10px;
font-size: 15px;
font-style: normal;
// text-transform: uppercase;
// text-align: center;
}
}
}

.entry-content .wp-block-audio figcaption,
.entry-content .wp-block-embed figcaption,
.entry-content .wp-block-image figcaption {
font-size: 16px;
font-style: italic;
margin-bottom: 30px;
margin-top: 10px;
}
// .entry-content .wp-block-pullquote.is-style-solid-color.aligncenter p {
// text-align: center;
// }

.entry-content .wp-block-quote[class*="align"] cite,
.entry-content .wp-block-pullquote[class*="align"] cite {
text-align: center;
.entry-content {
.wp-block-audio,
.wp-block-embed,
.wp-block-image {
figcaption {
font-size: 16px;
font-style: italic;
margin-bottom: 30px;
margin-top: 10px;
}
}
}
4 changes: 4 additions & 0 deletions develop/scss/gutenberg/partials/_frontend-buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
float: none;
}

.wp-block-buttons.aligncenter {
justify-content: center;
}

.content .wp-block-button .wp-block-button__link {
display: inline-block;
color: #fff;
Expand Down
2 changes: 1 addition & 1 deletion develop/scss/partials/_defaults.scss
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ mark {
}

blockquote {
margin: 40px;
margin: 40px 0;
}

.bigger {
Expand Down
2 changes: 1 addition & 1 deletion develop/scss/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Description: Lead your online class with style, organization and the most user-f
Author: The brandiD
Author URI: https://thebrandid.com/
Version: 2.0.8
Version: 2.0.9
Tags: block-styles, classes, courses, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, left-sidebar, lifter-lms, membership, one-column, right-sidebar, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, two-columns, wide-blocks
Expand Down
2 changes: 1 addition & 1 deletion gutenberg-frontend-styles.css.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion style.css.map

Large diffs are not rendered by default.

0 comments on commit eecc706

Please sign in to comment.