-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from brandid/2.0.9-updates
2.0.9 updates
- Loading branch information
Showing
9 changed files
with
138 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
165 changes: 83 additions & 82 deletions
165
develop/scss/gutenberg/partials/_frontend-blockquotes.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -108,7 +108,7 @@ mark { | |
} | ||
|
||
blockquote { | ||
margin: 40px; | ||
margin: 40px 0; | ||
} | ||
|
||
.bigger { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.