- Timestamp:
- 11/02/2018 11:52:16 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/src/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss
r43842 r43860 3 3 .entry-content > *, 4 4 .entry-summary > * { 5 @include postContentMaxWidth(); 5 6 6 7 margin: 32px $size__spacing-unit; 7 max-width: calc(100vw - (2 * #{ $size__spacing-unit }));8 8 9 9 @include media(tablet) { 10 10 margin: 32px calc(2 * (100vw / 12)); 11 max-width: calc(8 * (100vw / 12)); 12 } 13 14 @include media(desktop) { 15 max-width: calc(6 * (100vw / 12)); 16 } 17 11 } 18 12 /* 19 13 // Set top margins for headings … … 123 117 max-width: (0.33 * $desktop_width); 124 118 } 119 } 120 121 &.aligncenter { 122 margin: 32px calc(2 * (100vw / 12)); 123 max-width: calc(6 * (100vw / 12)); 125 124 } 126 125 } … … 195 194 color: $color__text-light; 196 195 font-family: $font__heading; 197 font-size: calc(#{$font__size_base} * #{$font__size- lg / 1em});196 font-size: calc(#{$font__size_base} * #{$font__size-ratio}); 198 197 font-weight: bold; 199 198 line-height: $font__line-height-heading; 200 199 201 200 &:not(.menu-item-has-children) { 202 201 padding-bottom: ( .75 * $size__spacing-unit ); … … 206 205 text-decoration: none; 207 206 } 208 207 209 208 ul { 210 209 padding-left: $size__spacing-unit; … … 460 459 } 461 460 461 &.aligncenter { 462 margin: 32px calc(2 * (100vw / 12)); 463 max-width: calc(6 * (100vw / 12)); 464 } 465 462 466 &.has-left-content { 463 467 justify-content: center; … … 498 502 margin: 0; 499 503 padding: ( $size__spacing-unit * .5 ); 500 text-align: left;504 text-align: center; 501 505 } 502 506 … … 506 510 margin-bottom: (2 * $size__spacing-unit); 507 511 margin-top: (2 * $size__spacing-unit); 512 text-align: left; 508 513 509 514 &:not(.is-style-dots) { … … 527 532 } 528 533 529 &.is-style-dots:before { 530 color: $color__text-light; 531 font-size: $font__size-lg; 532 letter-spacing: $font__size-sm; 533 padding-left: $font__size-sm; 534 &.is-style-dots { 535 @include postContentMaxWidth(); 536 text-align: center; 537 538 &:before { 539 color: $color__text-light; 540 font-size: $font__size-lg; 541 letter-spacing: $font__size-sm; 542 padding-left: $font__size-sm; 543 } 534 544 } 535 545 } … … 589 599 code { 590 600 font-size: $font__size-md; 601 white-space: pre-wrap; 602 word-break: break-word; 591 603 } 592 604 } … … 654 666 655 667 p, 656 h1, 668 h1, 657 669 h2, 658 670 h3, 659 671 h4, 660 672 h5, 661 h6, 673 h6, 662 674 a { 663 675 color: $color__background-body;
Note: See TracChangeset
for help on using the changeset viewer.