- Timestamp:
- 11/11/2019 08:54:49 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css
r46701 r46711 79 79 } 80 80 81 .wp-block[data-align="wide"] .wp-block,82 .wp-block[data-align="full"] .wp-block {83 max-width: none;84 }85 86 81 .wp-block[data-align="wide"] .wp-block[data-align="wide"], 87 82 .wp-block[data-align="full"] .wp-block[data-align="wide"] { … … 107 102 108 103 .wp-block[data-align="wide"] { 109 margin-bottom: 30px;110 margin-top: 30px;111 104 max-width: 1200px; 112 105 } 113 106 114 107 .wp-block[data-align="full"] { 115 margin-bottom: 50px;116 margin-top: 50px;117 108 max-width: none; 118 109 } … … 178 169 .has-accent-background-color { 179 170 background-color: #cd2653; 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 180 195 } 181 196 … … 679 694 .editor-styles-wrapper .wp-block-cover .wp-block-cover__inner-container { 680 695 margin: 0 auto; 681 max-width: 1200px;682 696 width: calc(100% - 40px); 683 697 } 684 698 685 [data-align="left"] .wp-block-cover, 686 [data-align="left"] .wp-block-cover-image, 687 [data-align="right"] .wp-block-cover, 688 [data-align="right"] .wp-block-cover-image { 689 max-width: 260px; 699 .editor-styles-wrapper .wp-block[data-type="core/cover"][data-align="right"], 700 .editor-styles-wrapper .wp-block[data-type="core/cover"][data-align="left"] { 701 height: auto; 702 max-height: none; 703 } 704 705 .editor-styles-wrapper .wp-block[data-type="core/cover"][data-align="left"] .wp-block-cover { 706 text-align: right; 707 } 708 709 .editor-styles-wrapper .wp-block[data-type="core/cover"][data-align="right"] .wp-block-cover { 710 text-align: left; 711 } 712 713 .editor-styles-wrapper .wp-block[data-type="core/cover"][data-align="right"] .block-editor-block-list__block-edit, 714 .editor-styles-wrapper .wp-block[data-type="core/cover"][data-align="left"] .block-editor-block-list__block-edit { 715 float: none; 716 margin-right: 0; 717 margin-left: 0; 718 max-width: 100%; 690 719 } 691 720 … … 1053 1082 } 1054 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1055 1111 /* BLOCK: PULL QUOTE */ 1056 1112 … … 1132 1188 } 1133 1189 1134 .wp-block[data-align="wide"],1135 .wp-block[data-align="full"] {1136 margin-bottom: 60px;1137 margin-top: 60px;1138 }1139 1140 1190 /* TYPOGRAPHY */ 1141 1191 … … 1209 1259 /* BLOCK: GROUP */ 1210 1260 1211 .editor-styles-wrapper .wp-block-group.has-background { 1261 .editor-styles-wrapper .wp-block:not([data-align="wide"]):not([data-align="full"]) div:not([class*="__inner-container"]) .wp-block-group.has-background, 1262 .editor-styles-wrapper .wp-block div[class*="__inner-container"] .wp-block[data-align="wide"] .wp-block-group.has-background, 1263 .editor-styles-wrapper .wp-block div[class*="__inner-container"] .wp-block[data-align="full"] .wp-block-group.has-background { 1212 1264 padding: 40px; 1265 1266 1267 1268 1269 1213 1270 } 1214 1271 … … 1284 1341 1285 1342 1286 /* STRUCTURE */1287 1288 .wp-block[data-align="wide"],1289 .wp-block[data-align="full"] {1290 margin-bottom: 80px;1291 margin-top: 80px;1292 }1293 1294 1343 /* BLOCK: COLUMNS */ 1295 1344 1296 1345 .wp-block-column { 1297 1346 font-size: 18px; 1298 }1299 1300 /* BLOCK: GROUP */1301 1302 .wp-block[data-align="wide"] .wp-block-group.has-background,1303 .wp-block[data-align="full"] .wp-block-group.has-background {1304 padding: 80px 40px;1305 1347 } 1306 1348 … … 1333 1375 .editor-styles-wrapper .wp-block h6 { 1334 1376 font-size: 18px; 1335 }1336 1337 /* STRUCTURE */1338 1339 .wp-block[data-align="wide"],1340 .wp-block[data-align="full"] {1341 margin-bottom: 80px;1342 margin-top: 80px;1343 1377 } 1344 1378
Note: See TracChangeset
for help on using the changeset viewer.