Changeset 46714
- Timestamp:
- 11/12/2019 01:44:51 AM (5 years ago)
- Location:
- branches/5.3
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.3
-
branches/5.3/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css
r46712 r46714 163 163 /* CUSTOM COLORS */ 164 164 165 .has-accent-color {165 :root .has-accent-color { 166 166 color: #cd2653; 167 167 } 168 168 169 .has-accent-background-color {169 :root .has-accent-background-color { 170 170 background-color: #cd2653; 171 } 172 173 .has-secondary-color { 171 color: #fff; 172 } 173 174 :root .has-primary-color { 175 color: #000; 176 } 177 178 :root .has-primary-background-color { 179 background-color: #000; 180 color: #f5efe0; 181 } 182 183 :root .has-secondary-color { 174 184 color: #6d6d6d; 175 185 } 176 186 177 .has-secondary-background-color {187 :root .has-secondary-background-color { 178 188 background-color: #6d6d6d; 179 } 180 181 .has-subtle-background-color { 189 color: #fff; 190 } 191 192 :root .has-subtle-background-color { 182 193 color: #dcd7ca; 183 194 } 184 195 185 .has-subtle-background-background-color {196 :root .has-subtle-background-background-color { 186 197 background-color: #dcd7ca; 187 } 188 189 .has-background-color { 190 color: #6d6d6d; 191 } 192 193 .has-background-background-color { 194 background-color: #6d6d6d; 198 color: #000; 199 } 200 201 :root .has-background-color { 202 color: #f5efe0; 203 } 204 205 :root .has-background-background-color { 206 background-color: #f5efe0; 207 color: #000; 195 208 } 196 209 … … 199 212 .has-black-background-color { 200 213 background-color: #000; 214 color: #fff; 201 215 } 202 216 203 217 .has-white-background-color { 204 218 background-color: #fff; 219 color: #000; 205 220 } 206 221 -
branches/5.3/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css
r46712 r46714 163 163 /* CUSTOM COLORS */ 164 164 165 .has-accent-color {165 :root .has-accent-color { 166 166 color: #cd2653; 167 167 } 168 168 169 .has-accent-background-color {169 :root .has-accent-background-color { 170 170 background-color: #cd2653; 171 } 172 173 .has-secondary-color { 171 color: #fff; 172 } 173 174 :root .has-primary-color { 175 color: #000; 176 } 177 178 :root .has-primary-background-color { 179 background-color: #000; 180 color: #f5efe0; 181 } 182 183 :root .has-secondary-color { 174 184 color: #6d6d6d; 175 185 } 176 186 177 .has-secondary-background-color {187 :root .has-secondary-background-color { 178 188 background-color: #6d6d6d; 179 } 180 181 .has-subtle-background-color { 189 color: #fff; 190 } 191 192 :root .has-subtle-background-color { 182 193 color: #dcd7ca; 183 194 } 184 195 185 .has-subtle-background-background-color {196 :root .has-subtle-background-background-color { 186 197 background-color: #dcd7ca; 187 } 188 189 .has-background-color { 190 color: #6d6d6d; 191 } 192 193 .has-background-background-color { 194 background-color: #6d6d6d; 198 color: #000; 199 } 200 201 :root .has-background-color { 202 color: #f5efe0; 203 } 204 205 :root .has-background-background-color { 206 background-color: #f5efe0; 207 color: #000; 195 208 } 196 209 … … 199 212 .has-black-background-color { 200 213 background-color: #000; 214 color: #fff; 201 215 } 202 216 203 217 .has-white-background-color { 204 218 background-color: #fff; 219 color: #000; 205 220 } 206 221 -
branches/5.3/src/wp-content/themes/twentytwenty/style-rtl.css
r46712 r46714 2649 2649 :root .has-accent-background-color { 2650 2650 background-color: #cd2653; 2651 color: #fff; 2651 2652 } 2652 2653 … … 2657 2658 :root .has-primary-background-color { 2658 2659 background-color: #000; 2660 color: #f5efe0; 2659 2661 } 2660 2662 … … 2665 2667 :root .has-secondary-background-color { 2666 2668 background-color: #6d6d6d; 2669 color: #fff; 2667 2670 } 2668 2671 … … 2673 2676 :root .has-subtle-background-background-color { 2674 2677 background-color: #dcd7ca; 2678 color: #000; 2675 2679 } 2676 2680 … … 2681 2685 :root .has-background-background-color { 2682 2686 background-color: #f5efe0; 2687 color: #000; 2683 2688 } 2684 2689 … … 3049 3054 .wp-block-group.has-background { 3050 3055 padding: 2rem; 3056 margin-bottom: 0; 3057 margin-top: 0; 3051 3058 } 3052 3059 … … 4482 4489 [class*="wp-block"].alignwide [class*="__inner-container"] > p .alignleft, 4483 4490 [class*="wp-block"].alignwide [class*="__inner-container"] > .wp-block-image .alignleft, 4484 [class*="wp-block"].alignfull [class*="__inner-container"] > .alignleft ,4491 [class*="wp-block"].alignfull [class*="__inner-container"] > .alignleft:not(.wp-block-pullquote), 4485 4492 [class*="wp-block"].alignfull [class*="__inner-container"] > p .alignleft, 4486 4493 [class*="wp-block"].alignfull [class*="__inner-container"] > .wp-block-image .alignleft { … … 4500 4507 [class*="wp-block"].alignwide [class*="__inner-container"] > p .alignright, 4501 4508 [class*="wp-block"].alignwide [class*="__inner-container"] > .wp-block-image .alignright, 4502 [class*="wp-block"].alignfull [class*="__inner-container"] > .alignright ,4509 [class*="wp-block"].alignfull [class*="__inner-container"] > .alignright:not(.wp-block-pullquote), 4503 4510 [class*="wp-block"].alignfull [class*="__inner-container"] > p .alignright, 4504 4511 [class*="wp-block"].alignfull [class*="__inner-container"] > .wp-block-image .alignright { … … 5022 5029 .wp-block-group.has-background { 5023 5030 padding: 4rem; 5031 margin-top: 0; 5032 margin-bottom: 0; 5024 5033 } 5025 5034 … … 5131 5140 } 5132 5141 5133 .entry-content > .alignwide ,5134 .entry-content > .alignfull {5142 .entry-content > .alignwide:not(.wp-block-group), 5143 .entry-content > .alignfull:not(.wp-block-group) { 5135 5144 margin-bottom: 6rem; 5136 5145 margin-top: 6rem; … … 5622 5631 .entry-content > .wp-block-group.alignfull.has-background { 5623 5632 padding: 8rem 4rem; 5633 margin-bottom: 0; 5634 margin-top: 0; 5624 5635 } 5625 5636 … … 5689 5700 } 5690 5701 5691 .entry-content > .alignwide ,5692 .entry-content > .alignfull {5702 .entry-content > .alignwide:not(.wp-block-group), 5703 .entry-content > .alignfull:not(.wp-block-group) { 5693 5704 margin-bottom: 8rem; 5694 5705 margin-top: 8rem; … … 5842 5853 .entry-content > .wp-block-group.alignfull.has-background { 5843 5854 padding: 8rem 6rem; 5855 margin-bottom: 0; 5856 margin-top: 0; 5844 5857 } 5845 5858 … … 5992 6005 /* BLOCK: PULLQUOTE */ 5993 6006 5994 .wp-block-pullquote.alignleft::before,5995 .wp-block-pullquote.alignright::before {5996 position: absolute;5997 top: -0.4rem;5998 }5999 6000 6007 .wp-block-pullquote.is-style-solid-color.alignleft::before, 6001 6008 .wp-block-pullquote.is-style-solid-color.alignright::before { 6002 6009 top: 0; 6003 6010 } 6004 6005 .wp-block-pullquote.alignleft::before { 6006 left: calc(100% + 1.5rem); 6007 } 6008 6009 .wp-block-pullquote.alignright::before { 6010 right: calc(100% + 1.5rem); 6011 } 6012 } 6011 } -
branches/5.3/src/wp-content/themes/twentytwenty/style.css
r46712 r46714 2661 2661 :root .has-accent-background-color { 2662 2662 background-color: #cd2653; 2663 color: #fff; 2663 2664 } 2664 2665 … … 2669 2670 :root .has-primary-background-color { 2670 2671 background-color: #000; 2672 color: #f5efe0; 2671 2673 } 2672 2674 … … 2677 2679 :root .has-secondary-background-color { 2678 2680 background-color: #6d6d6d; 2681 color: #fff; 2679 2682 } 2680 2683 … … 2685 2688 :root .has-subtle-background-background-color { 2686 2689 background-color: #dcd7ca; 2690 color: #000; 2687 2691 } 2688 2692 … … 2693 2697 :root .has-background-background-color { 2694 2698 background-color: #f5efe0; 2699 color: #000; 2695 2700 } 2696 2701 … … 3063 3068 .wp-block-group.has-background { 3064 3069 padding: 2rem; 3070 margin-bottom: 0; 3071 margin-top: 0; 3065 3072 } 3066 3073 … … 4508 4515 [class*="wp-block"].alignwide [class*="__inner-container"] > p .alignleft, 4509 4516 [class*="wp-block"].alignwide [class*="__inner-container"] > .wp-block-image .alignleft, 4510 [class*="wp-block"].alignfull [class*="__inner-container"] > .alignleft ,4517 [class*="wp-block"].alignfull [class*="__inner-container"] > .alignleft:not(.wp-block-pullquote), 4511 4518 [class*="wp-block"].alignfull [class*="__inner-container"] > p .alignleft, 4512 4519 [class*="wp-block"].alignfull [class*="__inner-container"] > .wp-block-image .alignleft { … … 4530 4537 [class*="wp-block"].alignwide [class*="__inner-container"] > p .alignright, 4531 4538 [class*="wp-block"].alignwide [class*="__inner-container"] > .wp-block-image .alignright, 4532 [class*="wp-block"].alignfull [class*="__inner-container"] > .alignright ,4539 [class*="wp-block"].alignfull [class*="__inner-container"] > .alignright:not(.wp-block-pullquote), 4533 4540 [class*="wp-block"].alignfull [class*="__inner-container"] > p .alignright, 4534 4541 [class*="wp-block"].alignfull [class*="__inner-container"] > .wp-block-image .alignright { … … 5056 5063 .wp-block-group.has-background { 5057 5064 padding: 4rem; 5065 margin-top: 0; 5066 margin-bottom: 0; 5058 5067 } 5059 5068 … … 5169 5178 } 5170 5179 5171 .entry-content > .alignwide ,5172 .entry-content > .alignfull {5180 .entry-content > .alignwide:not(.wp-block-group), 5181 .entry-content > .alignfull:not(.wp-block-group) { 5173 5182 margin-bottom: 6rem; 5174 5183 margin-top: 6rem; … … 5660 5669 .entry-content > .wp-block-group.alignfull.has-background { 5661 5670 padding: 8rem 4rem; 5671 margin-bottom: 0; 5672 margin-top: 0; 5662 5673 } 5663 5674 … … 5727 5738 } 5728 5739 5729 .entry-content > .alignwide ,5730 .entry-content > .alignfull {5740 .entry-content > .alignwide:not(.wp-block-group), 5741 .entry-content > .alignfull:not(.wp-block-group) { 5731 5742 margin-bottom: 8rem; 5732 5743 margin-top: 8rem; … … 5880 5891 .entry-content > .wp-block-group.alignfull.has-background { 5881 5892 padding: 8rem 6rem; 5893 margin-bottom: 0; 5894 margin-top: 0; 5882 5895 } 5883 5896 … … 6038 6051 /* BLOCK: PULLQUOTE */ 6039 6052 6040 .wp-block-pullquote.alignleft::before,6041 .wp-block-pullquote.alignright::before {6042 position: absolute;6043 top: -0.4rem;6044 }6045 6046 6053 .wp-block-pullquote.is-style-solid-color.alignleft::before, 6047 6054 .wp-block-pullquote.is-style-solid-color.alignright::before { 6048 6055 top: 0; 6049 6056 } 6050 6051 .wp-block-pullquote.alignleft::before { 6052 right: calc(100% + 1.5rem); 6053 } 6054 6055 .wp-block-pullquote.alignright::before { 6056 left: calc(100% + 1.5rem); 6057 } 6058 } 6057 }
Note: See TracChangeset
for help on using the changeset viewer.