Difference between revisions of "MediaWiki:Mobile.css"

From Regiapædia
Jump to: navigation, search
(Created page with "CSS placed here will affect users of the mobile site: .mobile-float-reset { float: none !important; width: 100% !important; } Hides Desktop only elements: #mf-HideO...")
 
Line 5: Line 5:
 
#mf-HideOnMobile { display: none; }
 
#mf-HideOnMobile { display: none; }
  
/* Size External Images */
+
 
.externalimage-holder {
+
/* Content Panel */ div#content {
    position: relative;
+
  background-color: #FFFFD5 !important;
    height: auto;
 
    float: left;
 
    border-radius: 10px;
 
    -moz-border-radius: 10px;
 
    -webkit-border-radius: 10px;
 
    -khtml-border-radius: 10px;
 
    -icab-border-radius: 10px;
 
    -o-border-radius: 10px;
 
    color: #ffffff;
 
    background: green;
 
    text-align:center;
 
    margin: 0 0 10px 10px;
 
 
}
 
}
.externalimage-holder img {
 
    width: 100%;
 
    height: inherit;
 
    border-radius: 10px;
 
    -moz-border-radius: 10px;
 
    -webkit-border-radius: 10px;
 
    -khtml-border-radius: 10px;
 
    -icab-border-radius: 10px;
 
    -o-border-radius: 10px;
 
    float: left;
 
}
 
[[Category:Wiki]]
 

Revision as of 18:52, 12 June 2017

/* CSS placed here will affect users of the mobile site */
.mobile-float-reset { float: none !important; width: 100% !important; }

/* Hides Desktop only elements */
#mf-HideOnMobile { display: none; }


/* Content Panel */ div#content {
   background-color: #FFFFD5 !important;
}