This repository has been archived by the owner on Mar 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update npm packages and Gruntfile * Adjust z-index on hero text. Resolves #46 * Adjust site title width, tweak menu-toggle top padding. Resolves #48 * WooCommerce cart menu item background tweak (#52) * Fix WooCommerce cart menu background * Tweak gruntfile. Remove charset inside of grunt sass watch task * update packages * Update readme changelog. Regen readme.md * Bump tested up to version to 4.9 * Update travis.yml * Sync develop with master * Add image license * Add image license to readme * Regen readme.md * Tweak site title wrapper width (#57) * Introduce styles for privacy policy link in footer and comment cookie checkbox (#62) * Update readme, update api_key in travis deploy * Introduce Gutenberg block support (#55) * Introduce gutenberg block support * Remove .scss file extension * Tweak pullquote styles, image floats, responsive styles. * Update styles * Update gutenberg styles * Tweak spacing * Update gutenberg styles. Update readme changelog.
- Loading branch information
Evan Herman
authored
Jul 27, 2018
1 parent
764383e
commit 8de32df
Showing
6 changed files
with
305 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
/*-------------------------------------------------------------- | ||
>>> Gutenberg: | ||
--------------------------------------------------------------*/ | ||
.wp-block-cover-image { | ||
margin-bottom: 1.5rem; | ||
} | ||
|
||
[class^="wp-block-"].alignfull { | ||
width: 100.5vw; | ||
position: relative; | ||
left: 50%; | ||
right: 50%; | ||
margin-left: -50vw; | ||
margin-right: -50vw; | ||
|
||
@media #{$small-only} { | ||
width: 100vw; | ||
} | ||
|
||
img { | ||
width: 100%; | ||
} | ||
} | ||
|
||
[class^="wp-block-"].alignwide { | ||
margin-left: -1.5%; | ||
margin-right: -1.5%; | ||
width: 102%; | ||
|
||
@media #{$medium-only} { | ||
margin-left: -1.25%; | ||
margin-right: -1.25%; | ||
width: 102.5% | ||
} | ||
} | ||
|
||
.wp-block-image, | ||
.wp-block-gallery, | ||
.wp-block-video, | ||
.wp-block-quote, | ||
.wp-block-text-columns, | ||
.entry-content ul, | ||
.entry-content ol, | ||
.wp-block-cover-text { | ||
&.alignleft { | ||
margin: 0 1em 0.5em 0; | ||
} | ||
|
||
&.alignright { | ||
margin: 0 0 0.5em 1em; | ||
} | ||
|
||
&.alignleft, | ||
&.alignright { | ||
max-width: 40%; | ||
width: 100%; | ||
|
||
img { | ||
width: inherit; | ||
} | ||
} | ||
} | ||
|
||
.wp-block-gallery { | ||
margin-left: 0; | ||
margin-right: 0; | ||
|
||
&.is-cropped .blocks-gallery-item img { | ||
height: auto; | ||
} | ||
} | ||
|
||
.wp-block-quote { | ||
p { | ||
margin-bottom: 0; | ||
} | ||
} | ||
|
||
.wp-block-pullquote { | ||
margin-top: 1em; | ||
margin-bottom: 1em; | ||
} | ||
|
||
.wp-block-button.aligncenter { | ||
margin-bottom: 1.5em; | ||
} | ||
|
||
.wp-block-audio { | ||
audio { | ||
width: 100%; | ||
} | ||
} |
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
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
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