Ticket #3777: meta-3777.diff
File meta-3777.diff, 1.1 KB (added by , 6 years ago) |
---|
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/css/components/_main.scss
168 168 /** 169 169 * Theme Screenshot 170 170 * 171 * Has a fixed aspect ratio of 1. 5to 1 regardless of screenshot size171 * Has a fixed aspect ratio of 1.33 to 1 regardless of screenshot size 172 172 * It is also responsive. 173 173 */ 174 174 .theme-browser .theme .theme-screenshot { … … 181 181 .theme-browser .theme .theme-screenshot:after { 182 182 content: ''; 183 183 display: block; 184 padding-top: 66.66666%; /* using a 3/2 aspect ratio */185 184 } 186 185 187 186 .theme-browser .theme:hover .theme-screenshot, … … 192 191 .theme-browser .theme .theme-screenshot img { 193 192 height: auto; 194 193 left: 0; 195 position: absolute;194 position: inherit; 196 195 top: 0; 197 196 -webkit-transform: translateZ( 0 ); 198 197 transition: opacity 0.2s ease-in-out;