Skip to content

Commit

Permalink
Update core block styles
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Oct 4, 2020
1 parent 8fa6d15 commit 0d9f12b
Show file tree
Hide file tree
Showing 50 changed files with 58 additions and 318 deletions.
10 changes: 1 addition & 9 deletions assets/css/blocks/defaults/core/audio.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
/**
* Colors
*/
/**
* Deprecated colors.
* Please avoid using these.
*/
/**
* Breakpoint mixins
*/
Expand Down Expand Up @@ -39,10 +35,6 @@
/**
* Colors
*/
/**
* Deprecated colors.
* Please avoid using these.
*/
/**
* Fonts & basic variables.
*/
Expand Down Expand Up @@ -77,6 +69,6 @@
min-width: 300px; }

.wp-block-audio figcaption {
color: #555d66;
color: #555;
font-size: 13px;
text-align: center; }
2 changes: 1 addition & 1 deletion assets/css/blocks/defaults/core/audio.min.css

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

8 changes: 0 additions & 8 deletions assets/css/blocks/defaults/core/button.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
/**
* Colors
*/
/**
* Deprecated colors.
* Please avoid using these.
*/
/**
* Breakpoint mixins
*/
Expand Down Expand Up @@ -39,10 +35,6 @@
/**
* Colors
*/
/**
* Deprecated colors.
* Please avoid using these.
*/
/**
* Fonts & basic variables.
*/
Expand Down
8 changes: 0 additions & 8 deletions assets/css/blocks/defaults/core/buttons.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
/**
* Colors
*/
/**
* Deprecated colors.
* Please avoid using these.
*/
/**
* Breakpoint mixins
*/
Expand Down Expand Up @@ -39,10 +35,6 @@
/**
* Colors
*/
/**
* Deprecated colors.
* Please avoid using these.
*/
/**
* Fonts & basic variables.
*/
Expand Down
8 changes: 0 additions & 8 deletions assets/css/blocks/defaults/core/calendar.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
/**
* Colors
*/
/**
* Deprecated colors.
* Please avoid using these.
*/
/**
* Breakpoint mixins
*/
Expand Down Expand Up @@ -39,10 +35,6 @@
/**
* Colors
*/
/**
* Deprecated colors.
* Please avoid using these.
*/
/**
* Fonts & basic variables.
*/
Expand Down
8 changes: 0 additions & 8 deletions assets/css/blocks/defaults/core/categories.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
/**
* Colors
*/
/**
* Deprecated colors.
* Please avoid using these.
*/
/**
* Breakpoint mixins
*/
Expand Down Expand Up @@ -39,10 +35,6 @@
/**
* Colors
*/
/**
* Deprecated colors.
* Please avoid using these.
*/
/**
* Fonts & basic variables.
*/
Expand Down
8 changes: 0 additions & 8 deletions assets/css/blocks/defaults/core/code.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
/**
* Colors
*/
/**
* Deprecated colors.
* Please avoid using these.
*/
/**
* Breakpoint mixins
*/
Expand Down Expand Up @@ -39,10 +35,6 @@
/**
* Colors
*/
/**
* Deprecated colors.
* Please avoid using these.
*/
/**
* Fonts & basic variables.
*/
Expand Down
8 changes: 0 additions & 8 deletions assets/css/blocks/defaults/core/columns.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
/**
* Colors
*/
/**
* Deprecated colors.
* Please avoid using these.
*/
/**
* Breakpoint mixins
*/
Expand Down Expand Up @@ -39,10 +35,6 @@
/**
* Colors
*/
/**
* Deprecated colors.
* Please avoid using these.
*/
/**
* Fonts & basic variables.
*/
Expand Down
12 changes: 2 additions & 10 deletions assets/css/blocks/defaults/core/cover.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
/**
* Colors
*/
/**
* Deprecated colors.
* Please avoid using these.
*/
/**
* Breakpoint mixins
*/
Expand Down Expand Up @@ -39,10 +35,6 @@
/**
* Colors
*/
/**
* Deprecated colors.
* Please avoid using these.
*/
/**
* Fonts & basic variables.
*/
Expand Down Expand Up @@ -79,7 +71,8 @@
display: flex;
justify-content: center;
align-items: center;
padding: 1em; }
padding: 1em;
box-sizing: border-box; }
.wp-block-cover-image.has-parallax,
.wp-block-cover.has-parallax {
background-attachment: fixed; }
Expand Down Expand Up @@ -195,7 +188,6 @@
display: flex; }
.wp-block-cover-image .wp-block-cover__inner-container,
.wp-block-cover .wp-block-cover__inner-container {
width: calc(100% - 4.375em);
z-index: 1;
color: #fff; }
.wp-block-cover-image p:not(.has-text-color),
Expand Down
2 changes: 1 addition & 1 deletion assets/css/blocks/defaults/core/cover.min.css

Large diffs are not rendered by default.

10 changes: 1 addition & 9 deletions assets/css/blocks/defaults/core/embed.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
/**
* Colors
*/
/**
* Deprecated colors.
* Please avoid using these.
*/
/**
* Breakpoint mixins
*/
Expand Down Expand Up @@ -39,10 +35,6 @@
/**
* Colors
*/
/**
* Deprecated colors.
* Please avoid using these.
*/
/**
* Fonts & basic variables.
*/
Expand Down Expand Up @@ -127,6 +119,6 @@
padding-top: 200%; }

.wp-block-embed figcaption {
color: #555d66;
color: #555;
font-size: 13px;
text-align: center; }
2 changes: 1 addition & 1 deletion assets/css/blocks/defaults/core/embed.min.css

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

8 changes: 0 additions & 8 deletions assets/css/blocks/defaults/core/file.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
/**
* Colors
*/
/**
* Deprecated colors.
* Please avoid using these.
*/
/**
* Breakpoint mixins
*/
Expand Down Expand Up @@ -39,10 +35,6 @@
/**
* Colors
*/
/**
* Deprecated colors.
* Please avoid using these.
*/
/**
* Fonts & basic variables.
*/
Expand Down
13 changes: 3 additions & 10 deletions assets/css/blocks/defaults/core/gallery.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
/**
* Colors
*/
/**
* Deprecated colors.
* Please avoid using these.
*/
/**
* Breakpoint mixins
*/
Expand Down Expand Up @@ -39,10 +35,6 @@
/**
* Colors
*/
/**
* Deprecated colors.
* Please avoid using these.
*/
/**
* Fonts & basic variables.
*/
Expand Down Expand Up @@ -131,7 +123,8 @@
text-align: center;
font-size: 0.8em;
background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0, rgba(0, 0, 0, 0.3) 70%, transparent);
box-sizing: border-box; }
box-sizing: border-box;
margin: 0; }
.wp-block-gallery .blocks-gallery-image figcaption img,
.wp-block-gallery .blocks-gallery-item figcaption img,
.blocks-gallery-grid .blocks-gallery-image figcaption img,
Expand Down Expand Up @@ -266,6 +259,6 @@
justify-content: center; }

.blocks-gallery-caption {
color: #555d66;
color: #555;
font-size: 13px;
text-align: center; }
2 changes: 1 addition & 1 deletion assets/css/blocks/defaults/core/gallery.min.css

Large diffs are not rendered by default.

11 changes: 3 additions & 8 deletions assets/css/blocks/defaults/core/group.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
/**
* Colors
*/
/**
* Deprecated colors.
* Please avoid using these.
*/
/**
* Breakpoint mixins
*/
Expand Down Expand Up @@ -39,10 +35,6 @@
/**
* Colors
*/
/**
* Deprecated colors.
* Please avoid using these.
*/
/**
* Fonts & basic variables.
*/
Expand All @@ -68,6 +60,9 @@
/**
* Block paddings.
*/
.wp-block-group {
box-sizing: border-box; }

.wp-block-group.has-background {
padding: 20px 30px;
margin-top: 0;
Expand Down
2 changes: 1 addition & 1 deletion assets/css/blocks/defaults/core/group.min.css

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

8 changes: 0 additions & 8 deletions assets/css/blocks/defaults/core/heading.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
/**
* Colors
*/
/**
* Deprecated colors.
* Please avoid using these.
*/
/**
* Breakpoint mixins
*/
Expand Down Expand Up @@ -39,10 +35,6 @@
/**
* Colors
*/
/**
* Deprecated colors.
* Please avoid using these.
*/
/**
* Fonts & basic variables.
*/
Expand Down
10 changes: 1 addition & 9 deletions assets/css/blocks/defaults/core/image.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
/**
* Colors
*/
/**
* Deprecated colors.
* Please avoid using these.
*/
/**
* Breakpoint mixins
*/
Expand Down Expand Up @@ -39,10 +35,6 @@
/**
* Colors
*/
/**
* Deprecated colors.
* Please avoid using these.
*/
/**
* Fonts & basic variables.
*/
Expand Down Expand Up @@ -126,6 +118,6 @@
border-radius: 0; } }

.wp-block-image figcaption {
color: #555d66;
color: #555;
font-size: 13px;
text-align: center; }
2 changes: 1 addition & 1 deletion assets/css/blocks/defaults/core/image.min.css

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

Loading

0 comments on commit 0d9f12b

Please sign in to comment.