Making WordPress.org

Changeset 1391


Ignore:
Timestamp:
03/10/2015 10:13:34 PM (10 years ago)
Author:
coffee2code
Message:

wp4.css: Show download button in mobile menu since mobile download banner is no longer shown except on homepage.

Fixes #540.
Props ryelle.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/style/wp4.css

    r1316 r1391  
    331331
    332332#wporg-header ul li#download {
    333     display: none;
    334333    height: 34px;
    335334    padding: 0 0 34px;
     
    346345#wporg-header ul li#download a:hover {
    347346    color: #eee;
     347}
     348
     349@media screen and (max-width:800px) {
     350    #wporg-header ul li#download {
     351        display: none;
     352    }
     353}
     354
     355@media screen and (max-width:768px) {
     356    #wporg-header ul li#download {
     357        display: block;
     358        float: none;
     359        margin: 10px 20px 20px;
     360        padding-bottom: 0;
     361        height: auto;
     362    }
     363    #wporg-header ul li#download a {
     364        padding: 4px 10px;
     365    }
    348366}
    349367
     
    428446}
    429447
    430 @media screen and (min-width:768px) {
     448@media screen and (min-width:769px) {
    431449
    432450    #wporg-header {
     
    579597
    580598@media screen and (min-width:800px) {
    581     #wporg-header ul li#download {
    582         display: list-item;
    583     }
    584 
    585599    #download-mobile {
    586600        display: none;
Note: See TracChangeset for help on using the changeset viewer.