mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-22 19:13:44 +03:00
Move blocks and block styles to the correct places in the CSS structure
There should be no visual changes
This commit is contained in:
parent
ef8c78f4f3
commit
e6b3fbd989
|
@ -5,4 +5,3 @@
|
||||||
@import "../../../pub/wporg/css/base/lists";
|
@import "../../../pub/wporg/css/base/lists";
|
||||||
@import "../../../pub/wporg/css/base/tables";
|
@import "../../../pub/wporg/css/base/tables";
|
||||||
@import "../../../pub/wporg/css/base/typography";
|
@import "../../../pub/wporg/css/base/typography";
|
||||||
@import "elements";
|
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
$size__spacing-unit: ms( 4 ); // todo is this globally scoped? if so should move to vars file
|
|
||||||
|
// Defined here so we can use `ms`.
|
||||||
|
$size__spacing-unit: ms( 4 );
|
||||||
|
|
||||||
.wp-block-image {
|
.wp-block-image {
|
||||||
// this shouldn't apply to all images, just .alignfull ?
|
// this shouldn't apply to all images, just .alignfull ?
|
||||||
|
@ -21,12 +23,3 @@ $size__spacing-unit: ms( 4 ); // todo is this globally scoped? if so should move
|
||||||
clear: inherit;
|
clear: inherit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
p.is-style-wporg-tldr {
|
|
||||||
color: $color__text-heading;
|
|
||||||
font-style: italic;
|
|
||||||
|
|
||||||
@include breakpoint( $breakpoint-tablet ) {
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -7,5 +7,5 @@
|
||||||
@import "../../../pub/wporg/css/objects/links";
|
@import "../../../pub/wporg/css/objects/links";
|
||||||
@import "../../../pub/wporg/css/objects/notices";
|
@import "../../../pub/wporg/css/objects/notices";
|
||||||
@import "buttons";
|
@import "buttons";
|
||||||
@import "parallelogram";
|
@import "image";
|
||||||
@import "site-header";
|
@import "site-header";
|
||||||
|
|
|
@ -2,36 +2,6 @@
|
||||||
* Add content area styles to the editor (in addition to the front end), so that users see content the way it will
|
* Add content area styles to the editor (in addition to the front end), so that users see content the way it will
|
||||||
* appear on the front end.
|
* appear on the front end.
|
||||||
*/
|
*/
|
||||||
.wp-block-image {
|
|
||||||
/* Make it fill 100% of the screen */
|
|
||||||
position: relative;
|
|
||||||
left: -ms(4);
|
|
||||||
width: calc( 100% + ( 2 * ms(4) ));
|
|
||||||
max-width: calc( 100% + ( 2 * ms(4) ));
|
|
||||||
clear: both;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (min-width: 960px) {
|
|
||||||
.wp-block-image {
|
|
||||||
position: inherit;
|
|
||||||
left: inherit;
|
|
||||||
width: inherit;
|
|
||||||
max-width: inherit;
|
|
||||||
clear: inherit;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
p.is-style-wporg-tldr {
|
|
||||||
color: #606A73;
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (min-width: 768px) {
|
|
||||||
p.is-style-wporg-tldr {
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.entry-content {
|
.entry-content {
|
||||||
position: relative;
|
position: relative;
|
||||||
color: #555D66;
|
color: #555D66;
|
||||||
|
@ -511,6 +481,25 @@ input.download-button.button-hero:active[type="submit"],
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.wp-block-image {
|
||||||
|
/* Make it fill 100% of the screen */
|
||||||
|
position: relative;
|
||||||
|
left: -ms(4);
|
||||||
|
width: calc( 100% + ( 2 * ms(4) ));
|
||||||
|
max-width: calc( 100% + ( 2 * ms(4) ));
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (min-width: 960px) {
|
||||||
|
.wp-block-image {
|
||||||
|
position: inherit;
|
||||||
|
left: inherit;
|
||||||
|
width: inherit;
|
||||||
|
max-width: inherit;
|
||||||
|
clear: inherit;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.parallelogram-container {
|
.parallelogram-container {
|
||||||
width: 80%;
|
width: 80%;
|
||||||
margin-left: 10%;
|
margin-left: 10%;
|
||||||
|
@ -573,4 +562,15 @@ input.download-button.button-hero:active[type="submit"],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
p.is-style-wporg-tldr {
|
||||||
|
color: #606A73;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (min-width: 768px) {
|
||||||
|
p.is-style-wporg-tldr {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*# sourceMappingURL=style-editor.css.map */
|
/*# sourceMappingURL=style-editor.css.map */
|
|
@ -8,13 +8,13 @@
|
||||||
@import "../../pub/wporg/css/settings/structure";
|
@import "../../pub/wporg/css/settings/structure";
|
||||||
@import "settings/structure";
|
@import "settings/structure";
|
||||||
@import "../../pub/wporg/css/tools/breakpoint";
|
@import "../../pub/wporg/css/tools/breakpoint";
|
||||||
@import "base/elements";
|
|
||||||
@import "components/entry-content";
|
@import "components/entry-content";
|
||||||
@import "components/about";
|
@import "components/about";
|
||||||
@import "../../pub/wporg/css/settings/_modular-scale.scss";
|
@import "../../pub/wporg/css/settings/_modular-scale.scss";
|
||||||
@import "../../pub/wporg/css/objects/buttons";
|
@import "../../pub/wporg/css/objects/buttons";
|
||||||
@import "objects/buttons";
|
@import "objects/buttons";
|
||||||
@import "objects/parallelogram";
|
@import "objects/image";
|
||||||
|
@import "utilities/utilities";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -27,3 +27,8 @@
|
||||||
// 06 Components
|
// 06 Components
|
||||||
//------------------------------------------------------------*/
|
//------------------------------------------------------------*/
|
||||||
@import "components/components";
|
@import "components/components";
|
||||||
|
|
||||||
|
//--------------------------------------------------------------
|
||||||
|
// 07 Utilities
|
||||||
|
//------------------------------------------------------------*/
|
||||||
|
@import "utilities/utilities";
|
||||||
|
|
8
themes/wporg-5ftf/css/utilities/_paragraph.scss
Normal file
8
themes/wporg-5ftf/css/utilities/_paragraph.scss
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
p.is-style-wporg-tldr {
|
||||||
|
color: $color__text-heading;
|
||||||
|
font-style: italic;
|
||||||
|
|
||||||
|
@include breakpoint( $breakpoint-tablet ) {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,2 @@
|
||||||
|
@import "group";
|
||||||
|
@import "paragraph";
|
Loading…
Reference in a new issue