Changeset 11008 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-patterns/css/components/_pattern.scss
- Timestamp:
- 06/04/2021 07:18:50 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-patterns/css/components/_pattern.scss
r10983 r11008 11 11 } 12 12 13 .entry-header { 13 .entry-header, 14 .pattern-actions__container, 15 .pattern__meta { 14 16 max-width: $size__site-main; 15 17 padding: 1.5rem; … … 18 20 19 21 @media only screen and (min-width: $breakpoint-large) { 20 padding: 1.5rem 0; 22 padding-left: 0; 23 padding-right: 0; 21 24 } 25 } 26 27 .entry-header { 28 padding-top: 2.625rem; 29 padding-bottom: 1.875rem; 22 30 23 31 .entry-title { 24 32 margin-top: 0; 25 33 line-height: 1.2; 34 font-weight: 600; 26 35 } 27 36 } 28 37 38 .pattern__categories a { 39 display: inline-block; 40 margin-right: 1rem; 41 42 &:last-of-type { 43 margin-right: 0; 44 } 45 } 46 47 .pattern__categories-label { 48 margin-right: 1rem; 49 font-weight: 600; 50 font-size: 0.75rem; 51 line-height: 1.3333; 52 text-transform: uppercase; 53 } 54 29 55 .pattern-actions { 56 padding: 0 1.5rem 2rem; 57 background: $color-white; 58 59 button { 60 margin: 0; 61 } 62 63 @media only screen and (min-width: $breakpoint-large) { 64 padding-left: 0; 65 padding-right: 0; 66 } 67 } 68 69 .pattern-actions__container { 70 padding: 0; 30 71 display: flex; 31 72 justify-content: flex-start; … … 33 74 flex-wrap: wrap; 34 75 gap: 0.5em 2em; 35 36 button {37 margin: 0;38 }39 76 40 77 @media (max-width: $breakpoint-mobile) { … … 106 143 107 144 .pattern__meta { 108 padding: 2rem 0; 109 background: $color-gray-light-200; 110 111 > div { 112 max-width: $size__site-main; 113 margin-left: auto; 114 margin-right: auto; 115 display: flex; 116 justify-content: space-between; 117 } 118 119 .pattern-preview__report { 120 text-align: right; 121 } 145 display: flex; 146 justify-content: flex-end; 122 147 } 123 124 148 }
Note: See TracChangeset
for help on using the changeset viewer.