MediaWiki:Common.css

From :: ChromeRivals Wiki ::
Revision as of 22:46, 2 June 2022 by Ranzu (talk | contribs)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */

.mw-collapsible .mw-collapsible-toggle {
    float:left;
    margin-left:0;
    margin-right:1em;
}

.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
	display: none;
}

.mw-collapsible-text, .toctogglelabel {color: #9b9b9b}

.toc {

border: 1px solid #aaa;

background: #2b2b2b;

padding: 5px;

font-size: 95%;

color: white;

}

#mw-navigation li{
background: none;
}

#mw-panel li a, #mw-panel li a:link, #mw-panel li link:visited, #mw-head li a, #mw-head li a:link, #mw-head li link:visited {
    color: cyan!important;
}

#mw-panel li a:hover { /* Hover over sidebar*/
  color: #F1F0F0 !important;
}

#toc .tocnumber, #toc, #toc a:link, #toc a:visited, #toc .togtoggle {
    color: white!important;
}

#toc .toclevel-2 ul a:link, #toc .toclevel-2 ul a:visited {
color: #bdbdbd!important;
}

div#mw-head {
    background: url("images/a/a5/Bg2.jpg") no-repeat scroll 0 0 black; /* TOP*/
    background-size: cover;
}

.navbox,
.navbox-subgroup {
    background: #2b2b2b;      /* Background color */
}

#content {

margin-right: 40px;

background: url("images/f/ff/Bg3.jpg"); /* content, where all shit is*/

color: white;

}

body, #globalWrapper {

background: url("images/a/a5/Bg2.jpg") no-repeat scroll 0 0 black; /* Side boards*/
background-size: cover;

color: white;

}

h1, h2, h3, h4, h5, h6, h7, h8, h9, h10, h11, h12 {
color: white;
}

/* Links*/
a:link
{ 
  color: #bdbdbd !important; 
  text-decoration: none;
}
a:visited 
{ 
  color: #bdbdbd!important; 
  text-decoration: none;
}
a:hover 
{
  color:#F1F0F0!important;
}
:link:active, 
:link.new 
{ 
  color: #bdbdbd!important;
  text-decoration: none;
}
:link.interwiki, 
:link.external 
{ 
  color: #bdbdbd!important; 
  text-decoration: none;
}
/* Links END*/

#footer {
background: linear-gradient(180deg, rgba(80, 37, 0, 0.73) 50%, rgba(80, 37, 0, 0.73) 25%, rgba(0, 0, 0, 0) 100%);
margin-right: 40px;
}

#footer ul li {
    color: white;
}

#ca-viewsource { display: none !important; }

/* Sticky header*/
.sticky tr
{     
  position: sticky;     
  top: 0;     
  z-index: 2;
} 

.sticky tbody 
{     
  position: relative;     
  z-index: 1; 
}
/* Sticky header END*/

/* Hover over text to see more div class */
.hide {
  display: none;
}

.HoverHide:hover + .hide {
  display: block;;
}
/* Hover over text to see more div class END*/

/* Hover over image to see text */
.container {
  position: relative;
  width: 100%;
}
.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}
.container:hover .overlay {
  opacity: 1;
}
.HoverImg {
  color: white;
  font-size: 30px;
  position: absolute;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}
/* Hover over image to see text END */

/* Yeet the external link image */
.mw-parser-output a.external {
    background-image: url(/w/skins/Vector/resources/common/images/external-link-ltr-icon.svg?48e54);
	padding-right: 0px
}
/* Yeet the external link image END */