Changeset 8253 for sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/blocks/assets/src/speakers/block-content.scss
- Timestamp:
- 02/15/2019 01:12:00 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/blocks/assets/src/speakers/block-content.scss
r8063 r8253 6 6 7 7 .wordcamp-speakers-block { 8 &, 9 .editor-styles-wrapper & { 8 /* The double-ampersand defeats an overzealous ul rule in Core's editor-blocks.css. */ 9 /* https://css-tricks.com/the-sass-ampersand/#article-header-id-11 */ 10 &#{&}, 11 .block-editor &#{&} { 10 12 list-style: none; 13 margin: 0 0 1em 0; 14 } 15 16 &.layout-list > li { 17 margin-bottom: 1em; 18 &:last-child { 19 margin-bottom: 0; 20 } 11 21 } 12 22 … … 43 53 44 54 .wordcamp-speaker-session-list { 45 &, 46 .editor-styles-wrapper & { 55 /* See note above about the double-ampersand. */ 56 ul#{&}, 57 .block-editor ul#{&} { 47 58 list-style: none; 59 margin: 0 48 60 } 49 61 } 50 62 51 .wordcamp-speaker-avatar { 52 &.align-left, 53 &.align-center, 54 &.align-right { 55 display: block; 56 } 57 63 .wordcamp-speaker-avatar-container { 58 64 &.align-left { 59 65 float: left; … … 64 70 margin-left: auto; 65 71 margin-right: auto; 72 text-align: center; 66 73 } 67 74
Note: See TracChangeset
for help on using the changeset viewer.