Changeset 13310 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/client/components/_plugin-card.scss
- Timestamp:
- 03/12/2024 05:27:53 AM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/client/components/_plugin-card.scss
r13300 r13310 1 1 .plugin-card { 2 background-color: #f9f9f9; 3 margin-bottom: 4%; 4 padding: 15px 15px 8px; 5 vertical-align: top; 6 7 @media screen and ( min-width: $ms-breakpoint ) { 8 display: inline-block; 9 margin-right: 4%; 10 width: 48%; 11 12 &:nth-of-type( even ) { 13 margin-right: 0; 14 } 15 } 2 display: flex; 3 flex-direction: column; 4 justify-content: space-between; 5 height: 100%; 16 6 17 7 .entry { 18 8 display: inline-block; 19 margin: auto;20 9 vertical-align: top; 21 22 @media screen and ( min-width: 21em ) {23 width: calc(96% - 96px);24 }25 10 } 26 11 27 12 .entry-title { 28 13 line-height: 1.3; 29 margin: 0 0 8px !important;30 14 31 a { 32 font-weight: 400; 33 word-wrap: break-word; 34 } 15 display: block; 16 display: -webkit-box; 17 overflow: hidden; 18 max-height: 2.6em; /* 2x line-height, non-webkit fallback */ 19 -webkit-line-clamp: 2; 20 -webkit-box-orient: vertical; 35 21 } 36 22 37 23 .entry-excerpt { 38 font-size: 0.9em; 24 clear: both; 25 font-size: var( --wp--preset--font-size--small ); 39 26 40 27 p { … … 43 30 } 44 31 45 hr {46 background-color: #fff;47 border: 0;48 height: 2px;49 margin: 15px -15px 8px;50 }51 52 32 footer { 53 font-size: var(--wp--preset--font-size--small); 33 font-size: var( --wp--preset--font-size--small ); 34 margin-top: var( --wp--style--block-gap ); 54 35 55 36 span { … … 75 56 min-width: 48%; 76 57 } 77 58 78 59 .dashicons { 79 60 margin: 0 2px -1rem;
Note: See TracChangeset
for help on using the changeset viewer.