MediaWiki:Mobile.css: Difference between revisions

From Nightlife Asia Wiki
Jump to navigation Jump to search
(Created page with "→‎All CSS here will be loaded for users of the mobile site: →‎remove header on Main_Page: body.page-Main_Page.ns-subject h1.firstHeading { display: none; }")
 
No edit summary
Line 4: Line 4:
   display: none;
   display: none;
}
}
/** 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 > th,
  .table.ktv-table > tfoot > tr > th,
  .table.ktv-table > thead > tr > th,
  table.table > tbody > tr.ktv-table > th {
    background-color:#522F65;
    border-color:#87A992;
  }
  .table.ktv-table > tbody > tr:nth-child(odd),
  .table > tbody > tr.ktv-table:nth-child(odd) {
    background-color:#dfe1ec;
  }

Revision as of 03:40, 23 September 2022

/* All CSS here will be loaded for users of the mobile site */
/*remove header on Main_Page*/
body.page-Main_Page.ns-subject h1.firstHeading {
  display: none;
}

/** 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 > th,
  .table.ktv-table > tfoot > tr > th,
  .table.ktv-table > thead > tr > th,
  table.table > tbody > tr.ktv-table > th {
    background-color:#522F65;
    border-color:#87A992;
  }
  .table.ktv-table > tbody > tr:nth-child(odd),
  .table > tbody > tr.ktv-table:nth-child(odd) {
    background-color:#dfe1ec;
  }