Skip to content
This repository has been archived by the owner on Feb 17, 2025. It is now read-only.

Commit

Permalink
Refactor text styles and add padding to groups w border.
Browse files Browse the repository at this point in the history
  • Loading branch information
jffng authored and scruffian committed Aug 25, 2021
1 parent 357f0ce commit 34fd79b
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
8 changes: 8 additions & 0 deletions skatepark/assets/theme.css

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

8 changes: 8 additions & 0 deletions skatepark/sass/base/_text.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
// Text selection text color
::selection {
color: var(--wp--preset--color--background);
}

.wp-block-column, .wp-block-group {
> p, > h1, > h2, > h3, > h4, > h5, > h6 {
&:first-child {
margin-top: 0;
}
}
}
3 changes: 3 additions & 0 deletions skatepark/sass/blocks/_group.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.wp-block-group.has-border-color {
padding: var(--wp--custom--margin--vertical);
}
1 change: 1 addition & 0 deletions skatepark/sass/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
@import "base/mixins";
@import "blocks/author";
@import "blocks/buttons";
@import "blocks/group";
@import "blocks/post-comments";
@import "blocks/query";
@import "blocks/search";
Expand Down

0 comments on commit 34fd79b

Please sign in to comment.