MediaWiki:Mobile.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
(Undo revision 7608 by Prince of asia (talk)) Tag: Undo |
||
Line 6: | Line 6: | ||
display: none !important; | display: none !important; | ||
} | } | ||
/*remove header on Main_Page*/ | /*remove header on Main_Page*/ | ||
Line 15: | Line 16: | ||
.infobox th { | .infobox th { | ||
text-align: center; | text-align: center; | ||
} | } | ||
/** TABLES **/ | /** TABLES **/ | ||
/* KTV Table */ | /* KTV Table */ | ||
.table.ktv-table > :first-child > tr:first-child, | .table.ktv-table > :first-child > tr:first-child, | ||
.table.ktv-table > tbody > tr.heading, | .table.ktv-table > tbody > tr.heading, | ||
.table.ktv-table > :first-child > tr:first-child > *, | .table.ktv-table > :first-child > tr:first-child > *, | ||
.table.ktv-table > tbody > tr.heading > * { | .table.ktv-table > tbody > tr.heading > * { | ||
background-color:#522F65!important; | |||
border-color:#777d9e!important; | |||
} | } | ||
.table.ktv-table > tbody > tr:nth-child(odd), | |||
.table > tbody > tr.ktv-table:nth-child(odd) { | |||
. | background-color:#dfe1ec; | ||
} | } | ||
Latest revision as of 18:53, 2 August 2024
/* All CSS here will be loaded for users of the mobile site */
/*No longer use this, we use Extension:MobileDetect instead*/
/* Important: do not display certain things on Mobile*/
.nomobile {
display: none !important;
}
/*remove header on Main_Page*/
body.page-Main_Page.ns-subject h1.firstHeading {
display: none;
}
/** INFOBOXES **/
.infobox th {
text-align: center;
}
/** TABLES **/
/* KTV Table */
.table.ktv-table > :first-child > tr:first-child,
.table.ktv-table > tbody > tr.heading,
.table.ktv-table > :first-child > tr:first-child > *,
.table.ktv-table > tbody > tr.heading > * {
background-color:#522F65!important;
border-color:#777d9e!important;
}
.table.ktv-table > tbody > tr:nth-child(odd),
.table > tbody > tr.ktv-table:nth-child(odd) {
background-color:#dfe1ec;
}