MediaWiki:Common.css: Difference between revisions

From Nightlife Asia Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 35: Line 35:
   border: 0;
   border: 0;
}
}
/** TABLES **/
  .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:34, 23 September 2022

/* CSS placed here will be applied to all skins */
/*remove header on Main_Page*/
body.page-Main_Page.ns-subject h1.firstHeading {
  display: none;
}

/** INFOBOXES **/
.infobox {
   border: 1px solid #020202;
   background-color: #f9f9f9;
   color: black;
   margin-bottom: 0.2em;
   margin-left: 1em;
   padding: 0.2em;
   float: right;
   clear: right;
}
.infobox td,
.infobox th {
   vertical-align: top;
}
.infobox caption {
   font-size: larger;
   margin-left: inherit;
}
.infobox.bordered {
   border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
   border: 1px solid #020202;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
   border: 0;
}

/** TABLES **/
  .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;
  }