Make WordPress Core

Changeset 26739


Ignore:
Timestamp:
12/06/2013 07:50:06 PM (11 years ago)
Author:
nacin
Message:

Themes: Adjust screenshot ratios.

  • On the details overlay, always show the full 4/3 ratio.
  • On the grid, reduce to ~3/2 only if the screen width is less than 1400px. Otherwise, show the screenshot at 4/3 ratio.

props matveb, nacin.
fixes #26159.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/wp-admin.css

    r26738 r26739  
    64376437    content: '';
    64386438    display: block;
    6439     padding-top: 66%; /* using a 3/2 aspect ratio */
     6439    padding-top: 66.66666%; /* using a 3/2 aspect ratio */
    64406440}
    64416441
     
    68856885    content: '';
    68866886    display: block;
    6887     padding-top: 66.66666%; /* using a 3/2 aspect ratio */
     6887    padding-top: 75%; /* using a 4/3 aspect ratio */
    68886888}
    68896889
     
    71187118}
    71197119
     7120@media only screen and (min-width:1400px) {
     7121    .theme-browser .theme .theme-screenshot:after {
     7122        padding-top: 75%; /* using a 4/3 aspect ratio */
     7123    }
     7124}
    71207125@media only screen and (max-width: 1150px) {
    71217126    .theme-browser .theme {
     
    79978002}
    79988003
    7999 .about-wrap .about-updates img { 
    8000     margin: 2em 0 0 0; 
    8001     border: 1px solid #ddd; 
    8002     -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); 
    8003     box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); 
    8004 } 
     8004.about-wrap .about-updates img {
     8005    margin: 2em 0 0 0;
     8006    border: 1px solid #ddd;
     8007    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
     8008    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
     8009}
    80058010
    80068011.about-wrap .changelog .feature-section {
Note: See TracChangeset for help on using the changeset viewer.