-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/pixelgrade/silk-lite
- Loading branch information
Showing
7 changed files
with
729 additions
and
9 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,110 @@ | ||
.wp-block-separator.is-style-dots:before { | ||
color: inherit; | ||
} | ||
|
||
.wp-block-separator { | ||
border-bottom-color: currentColor; | ||
margin: 1.5em auto; | ||
|
||
&:not([class*="is-style"]) { | ||
max-width: 100px; | ||
} | ||
} | ||
|
||
.wp-block-audio[class] { | ||
margin-left: 0; | ||
margin-right: 0; | ||
|
||
audio { | ||
width: 100%; | ||
} | ||
} | ||
|
||
.wp-block-cover[class][class] { | ||
display: flex; | ||
margin-top: 1.125em; | ||
margin-bottom: 1.125em; | ||
|
||
p { | ||
position: relative; | ||
transform: none; | ||
margin-bottom: 0; | ||
} | ||
} | ||
|
||
p.wp-block-subhead { | ||
color: inherit; | ||
} | ||
|
||
.wp-block-code, | ||
.wp-block-preformatted pre, | ||
.wp-block-verse pre, | ||
pre.wp-block-verse { | ||
color: inherit; | ||
} | ||
|
||
.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-list__block-edit { | ||
margin-right: 0; | ||
margin-bottom: 0; | ||
} | ||
|
||
.wp-block-image .alignleft, | ||
.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-list__block-edit > * { | ||
margin-top: 3em; | ||
margin-bottom: 3em; | ||
|
||
@media only screen and (min-width: 899px) { | ||
margin-right: 3em; | ||
width: auto; | ||
} | ||
} | ||
|
||
.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-list__block-edit { | ||
margin-left: 0; | ||
margin-bottom: 0; | ||
} | ||
|
||
.wp-block-image .alignright, | ||
.editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-list__block-edit > * { | ||
margin-top: 3em; | ||
margin-bottom: 3em; | ||
|
||
@media only screen and (min-width: 899px) { | ||
margin-left: 3em; | ||
width: auto; | ||
} | ||
} | ||
|
||
.wp-block-image .aligncenter > figcaption { | ||
display: block; | ||
} | ||
|
||
figure.wp-block-pullquote { | ||
border: 0; | ||
padding: 0; | ||
} | ||
|
||
.wp-block-pullquote[class] p { | ||
font: inherit; | ||
} | ||
|
||
.wp-block-quote__citation, | ||
.wp-block-quote cite, | ||
.wp-block-quote footer { | ||
color: inherit; | ||
} | ||
|
||
.wp-block-image .aligncenter > figcaption, | ||
.wp-block-image .alignleft > figcaption, | ||
.wp-block-image .alignright > figcaption, | ||
.wp-block-image.is-resized > figcaption { | ||
display: block; | ||
} | ||
|
||
.wp-block-gallery[class] { | ||
margin-left: 0; | ||
} | ||
|
||
a.wp-block-button__link[class] { | ||
text-decoration: none; | ||
} |
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,93 @@ | ||
@import "settings"; | ||
|
||
$editor-style: true; | ||
|
||
@import "tools/functions"; | ||
@import "tools/mixins"; | ||
@import "tools/queries"; | ||
@import "tools/baseline"; | ||
@import "tools/aliases"; | ||
|
||
@import "trumps/bass"; | ||
|
||
.edit-post-visual-editor { | ||
@import "base/type"; | ||
@import "base/images"; | ||
@import "trumps/specific"; | ||
@import "trumps/wp-align"; | ||
|
||
@import "base/gutenberg"; | ||
|
||
&.editor-styles-wrapper { | ||
font-family: 'Merriweather', serif; | ||
font-weight: 300; | ||
font-size: 14px; | ||
} | ||
|
||
.block-editor-block-list__layout .wp-block, | ||
.editor-post-title__block { | ||
max-width: 850px; | ||
} | ||
|
||
.editor-post-title__input { | ||
font-family: "Playfair Display", serif; | ||
font-weight: normal; | ||
font-style: italic; | ||
@include query-above($lap) { | ||
font-size: rem(60px); | ||
} | ||
|
||
@include query-below($small) { | ||
font-size: rem(32px); | ||
} | ||
|
||
@include query-below($lap) { | ||
margin-bottom: rem(12px); | ||
} | ||
} | ||
|
||
|
||
.wp-block-html .editor-plain-text { | ||
color: inherit; | ||
} | ||
|
||
.wp-block-quote, | ||
.wp-block-pullquote { | ||
color: inherit; | ||
} | ||
|
||
.wp-block-quote p { | ||
font-size: 1em; | ||
} | ||
|
||
.wp-block-quote:not(.is-large):not(.is-style-large) { | ||
padding-left: 0; | ||
border-left: 0; | ||
} | ||
|
||
.wp-block-pullquote, | ||
.wp-block-quote { | ||
|
||
&.aligncenter, | ||
&.alignnone, | ||
&:not([class*="align"]) { | ||
|
||
blockquote { | ||
margin-left: 0; | ||
margin-right: 0; | ||
} | ||
} | ||
|
||
&.alignright blockquote { | ||
padding-left: 0; | ||
padding-right: 0; | ||
margin-right: 0; | ||
} | ||
|
||
&.alignleft blockquote { | ||
padding-left: 0; | ||
padding-right: 0; | ||
margin-left: 0; | ||
} | ||
} | ||
} |
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
Oops, something went wrong.