MediaWiki:Common.css: Difference between revisions

From Nightlife Asia Wiki
Jump to navigation Jump to search
No edit summary
Tag: Reverted
(Undo revision 2062 by Prince of asia (talk))
Tag: Undo
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


nav#p-namespaces {
div.vectorTabs ul li{
background: rgba(215, 239, 242, .5);
    background-color:transparent;
    background-image:none;
}
}
div.vectorTabs li.selected {
    background-color: transparent;
    background-image: none;
}
li.mw-list-item {
background-image: none;
}
/* Change the looks of the text on the navigation menu above the main text of wiki */
/* Change the looks of the text on the navigation menu above the main text of wiki */
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 {

Revision as of 16:16, 19 November 2022

/* CSS placed here will be applied to all skins */

div.vectorTabs ul li{
    background-color:transparent;
    background-image:none;
}
div.vectorTabs li.selected {
    background-color: transparent;
    background-image: none;
}

li.mw-list-item {
	background-image: none;
	
}

/* Change the looks of the text on the navigation menu above the main text of wiki */
nav#p-namespaces div.vector-menu-content > ul.vector-menu-content-list > li.mw-list-item a {
	color: #7c25b8;
}

nav#p-views div.vector-menu-content > ul.vector-menu-content-list > li.mw-list-item a {
	color: #7c25b8;
}

/* Change the looks of the text on sidebar */
nav#p-navigation div.vector-menu-content > ul.vector-menu-content-list > li.mw-list-item a {
	font-weight: bold;
	color: #7c25b8;
}

nav#p-tb div.vector-menu-content > ul.vector-menu-content-list > li.mw-list-item a {
	color: #7c25b8;
}

/* Important: do not display certain things on Desktop*/
.nodesktop {
  display: none !important;
}

/* New background */
.mw-body {
    background-color: rgba(255, 255, 255, 0.8);
}

body {
    background: url(https://nightlifeasia.wiki/images/wiki_background99_test.jpg);
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    background-position: top center;
    background-size: cover;
    background-color: #fcf8fe;
}

#mw-page-base {
    background-color: transparent;
    background-image: none;
}

.table.plain > tbody > tr:nth-child(odd),
.table > tbody > tr.plain:nth-child(odd) {
    background-color:transparent !important;
}
/* New background */

p.white {
   color:#FFFFFF;
}

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