Changeset 10924 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-patterns/css/components/_pattern.scss
- Timestamp:
- 04/26/2021 05:12:15 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
r10841 r10924 13 13 .entry-header { 14 14 max-width: $size__site-main; 15 padding: 2rem 0;15 padding: 1.5rem; 16 16 margin-left: auto; 17 17 margin-right: auto; 18 19 @media only screen and (min-width: $breakpoint-large) { 20 padding: 1.5rem 0; 21 } 18 22 19 23 .entry-title { … … 26 30 display: flex; 27 31 align-items: stretch; 32 flex-wrap: wrap; 28 33 29 34 button + button { 30 35 margin-left: 2em; 31 36 } 37 } 38 39 .pattern-actions__notice { 40 margin: 1.5rem 0 0; 41 height: auto; 42 flex-basis: 100%; 43 44 // @wordpress/components/notice wraps content 45 > * { 46 display: flex; 47 flex-direction: column; // stack on mobile 48 justify-content: space-between; 49 align-items: flex-start; 50 margin: 0; 51 52 button { 53 margin-top: 0.75rem; 54 } 55 56 @media only screen and (min-width: $breakpoint-small) { 57 align-items: center; 58 flex-direction: row; 59 60 button { 61 margin-top: 0; 62 } 63 } 64 } 65 } 66 67 .pattern-actions__guide { 68 max-width: $breakpoint-mobile / 1.25; 69 70 // @wordpress/components/guide overrides 71 height: auto; 72 max-height: none; 73 } 74 75 .pattern-actions__guide-content { 76 padding: 1.5rem; 77 line-height: 1.5; 78 } 79 80 .pattern-actions__guide-title { 81 margin: 0; 82 } 83 84 .pattern-actions__guide-shortcut { 85 background: $color-gray-light-300; 86 box-shadow: 0 0 0 1px $color-gray-light-700; 87 padding: 1px; 88 font-weight: 600; 89 min-width: 20px; 90 display: inline-block; 91 text-align: center; 92 border-radius: 2px; 32 93 } 33 94
Note: See TracChangeset
for help on using the changeset viewer.