Dalston: Cleanining up Project block style behavior
This commit is contained in:
parent
8832929b50
commit
c76f029d96
1 changed files with 26 additions and 5 deletions
|
@ -65,8 +65,29 @@
|
|||
|
||||
/* Project */
|
||||
|
||||
.wp-block-columns.is-style-full-bleed .wp-block-column:first-of-type {
|
||||
flex-shrink: 0;
|
||||
flex-basis: auto !important;
|
||||
width: calc( 0.5 * (100vw - calc( 782px - 96px) - 64px)) !important;
|
||||
}
|
||||
.wp-block-columns.is-style-project.alignfull {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
@media (min-width: 600px) {
|
||||
|
||||
.wp-block-columns.is-style-project .wp-block-column:nth-child(2n) {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 782px) {
|
||||
|
||||
.wp-block-columns.is-style-project .wp-block-column:not(:first-child) {
|
||||
margin-left: 0;
|
||||
}
|
||||
.wp-block-columns.is-style-project .wp-block-column {
|
||||
flex-basis: 100% !important;
|
||||
}
|
||||
.wp-block-columns.is-style-project .wp-block-column:first-of-type {
|
||||
flex-shrink: 0;
|
||||
flex-basis: auto !important;
|
||||
width: calc( 0.5 * (100vw - calc( 782px - 96px) - 64px)) !important;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue