MediaWiki:Mobile.css
Appearance
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will affect users of the mobile site */
/* center the infobox on mobile */
table.infobox tr th{
text-align:center!important;
}
/* give some padding to the infobox field names on mobile */
table.infobox tr td:nth-child(1) {
padding: 5px!important;
padding-left: 10px!important;
padding-right: 10px!important;
}
/*Remove the empty space from below the infobox */
table.infobox {
margin-bottom: 0px!important;
}
table.sweet1 td{
border: 1px solid white;
}
.XinReality1 {
background:#939aa4;
background:linear-gradient(to bottom, #939aa4 0%, #bbc2ca 100%);
}
.XinReality2 {
background:#254b72;
background:linear-gradient(to bottom, #254b72 0%, #6f97b0 100%);
}
.XinReality3 {
background:#eab267;
background:linear-gradient(to bottom, #e5a145 0%, #f8d281 100%);
}
p.white {
color:#FFFFFF;
}
.superheader {
border: 3px double #bbc2ca;
padding: 7px;
}
table.sweet1 {
margin: 0 0 0 0;
}
/* Stub template style */
.stub {
margin: 1px;
text-align: center;
border-collapse: collapse;
border: 1px solid #aaa;
background: #DFE8FF;
}
/*we don't want disqus on the main page*/
.page-Main_Page #disqus-wrapper {
display:none!important;
}
/*Show only mobile ad code on mobile*/
.nomobile{
display:none!important;
}