mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-14 22:35:45 +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
10 changed files with 52 additions and 45 deletions
|
@ -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
|
||||
* 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 {
|
||||
position: relative;
|
||||
color: #555D66;
|
||||
|
@ -511,6 +481,25 @@ input.download-button.button-hero:active[type="submit"],
|
|||
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 {
|
||||
width: 80%;
|
||||
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 */
|
Loading…
Add table
Add a link
Reference in a new issue