Difference between revisions of "MediaWiki:Mobile.css"

From HCE Wiki - The Human Cognitive Enhancement Wiki
Jump to navigation Jump to search
(Created page with "→‎CSS placed here will affect users of the mobile site: #featuredArticle { display: none !important; } #wikiStructure { display: block !important; width: auto...")
 
Tags: Mobile edit, Mobile web edit
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
/* CSS placed here will affect users of the mobile site */
 
/* CSS placed here will affect users of the mobile site */
#featuredArticle {
+
@media screen and (max-width: 820px) {
     display: none !important;  
+
    #featuredArticle {
 +
        display: none !important;
 +
    }
 +
 
 +
     #wikiStructure {
 +
        display: block !important;
 +
        width: auto !important;
 +
    }
 +
}
 +
 
 +
.norwayGrantsFooterLogo {
 +
        padding-left: 20px;
 +
        padding-right: 20px;
 
}
 
}
  
#wikiStructure {
+
.mmiMobileFooterLogo {
     display: block !important;
+
     display: inline;
     width: auto !important;
+
     padding-left: 74px;
 +
    padding-right: 74px;
 +
    padding-top: 14px;
 +
    padding-bottom: 14px;
 
}
 
}

Latest revision as of 13:50, 11 April 2017

/* CSS placed here will affect users of the mobile site */
@media screen and (max-width: 820px) {
    #featuredArticle {
        display: none !important; 
    }

    #wikiStructure {
        display: block !important;
        width: auto !important;
    }
}

.norwayGrantsFooterLogo {
        padding-left: 20px;
        padding-right: 20px;
}

.mmiMobileFooterLogo {
    display: inline;
    padding-left: 74px;
    padding-right: 74px;
    padding-top: 14px;
    padding-bottom: 14px;
}