Make WordPress Core

Ticket #26172: 26172.diff

File 26172.diff, 1.4 KB (added by shaunandrews, 12 years ago)
  • src/wp-admin/css/theme.css

     
    529529        float: left;
    530530        margin: 0 30px 0 0;
    531531        width: 55%;
     532        max-width: 900px;
    532533        text-align: center;
    533534}
    534535/* First screenshot, shown big */
     
    744745 * Shuffles theme columns around based on screen width
    745746 */
    746747
    747 @media ( min-width: 1700px ) {
     748@media ( min-width: 2000px ) {
     749        .theme-browser .theme {
     750                width: 17.6%;
     751        }
     752        .theme-browser .theme:nth-child(3n),
     753        .theme-browser .theme:nth-child(4n) {
     754                margin-right: 3%;
     755        }
     756        .theme-browser .theme:nth-child(5n) {
     757                margin-right: 0;
     758        }
     759}
     760@media ( min-width: 1600px ) {
    748761        .theme {
    749762                width: 22.7%;
    750763                margin: 0 3% 3% 0;
     
    761774                left: 22%;
    762775        }
    763776}
    764 @media ( max-width: 1200px ) {
     777@media ( max-width: 1150px ) {
    765778        .theme {
    766779                width: 47.5%;
    767780                margin-right: 0;
     
    812825                top: 3px;
    813826        }
    814827}
    815 @media ( max-width: 650px ) {
     828@media ( max-width: 480px ) {
    816829        .theme {
    817830                width: 100%;
    818831                margin-right: 0;
    819832        }
    820         .theme:hover .theme-actions {
    821                 display: none;
    822         }
    823833        .theme:nth-child(2n),
    824834        .theme:nth-child(3n) {
    825835                margin-right: 0;
    826836        }
     837}
     838@media ( max-width: 650px ) {
     839        .theme:hover .theme-actions {
     840                display: none;
     841        }
    827842        .theme-overlay .theme-update,
    828843        .theme-overlay .theme-description {
    829844                margin-left: 0;