MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Undo revision 7609 by Prince of asia (talk))
Tag: Undo
No edit summary
Line 1: Line 1:
/* Existing styles */
/* Enhanced styles for a modern look */


/* new style changes */
/* Headings */
/* Headings */
h1, h2, h3, h4, h5, h6 {
h1, h2, h3, h4, h5, h6 {
Line 41: Line 40:


/* Enhanced Navigation */
/* Enhanced Navigation */
/* Navigation Menu */
nav#p-namespaces div.vector-menu-content > ul.vector-menu-content-list > li.mw-list-item a,
nav#p-namespaces div.vector-menu-content > ul.vector-menu-content-list > li.mw-list-item a,
nav#p-views div.vector-menu-content > ul.vector-menu-content-list > li.mw-list-item a {
nav#p-views div.vector-menu-content > ul.vector-menu-content-list > li.mw-list-item a {
Line 174: Line 172:


/* Existing styles from user */
/* Existing styles from user */
/* CSS placed here will be applied to all skins */


/* change the background color of the navigation menu above the main text of wiki */
/* change the background color of the navigation menu above the main text of wiki */
Line 231: Line 227:
     background-color:transparent !important;
     background-color:transparent !important;
}
}
/* New background */
/* New background */


Line 275: Line 272:
/** 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;
     background-color:#522F65!important;
     border-color:#777d9e!important;
     border-color:#777d9e!important;
  }
}
    
    
  .table.ktv-table > tbody > tr:nth-child(odd),
.table.ktv-table > tbody > tr:nth-child(odd),
  .table > tbody > tr.ktv-table:nth-child(odd) {
.table > tbody > tr.ktv-table:nth-child(odd) {
     background-color:#dfe1ec;
     background-color:#dfe1ec;
  }
}

Navigation menu