Difference between revisions of "MediaWiki:Common.css"

From The Drunk Side Wiki
Jump to navigation Jump to search
m (Changed background color of site to black and font text color to white.)
m (Changed background color of site to black and font text color to white.)
Line 92: Line 92:
 
}
 
}
  
div.mw-body, div.mw-body-content, div.mw-head {
+
div.mw-body, div.mw-body-content, div.mw-head, div.mw-page-base {
 
   background-color: black;
 
   background-color: black;
 
   color: white;
 
   color: white;
 
}
 
}

Revision as of 19:45, 3 January 2025

/* CSS placed here will be applied to all skins */
/* Unvisited links */
#mw-content-text .mw-parser-output a:not(:has(img)) {
display: inline-block;
  padding: 3px 4px;
  background-color: rgba(0, 0, 0, 0.8);
  color: yellow; 
  text-shadow: 
    -1px -1px 0 black, 
    1px -1px 0 black, 
    -1px 1px 0 black, 
    1px 1px 0 black, 
    -1px -1px 0 black, 
    1px -1px 0 black, 
    -1px 1px 0 black, 
    1px 1px 0 black;
  text-decoration: none;
  border-radius: 5px; /* Rounded corners */
  font-weight: bold;
  border: 1px solid #000; /* Border to match background */
  transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
}

/* Visited links */
#mw-content-text .mw-parser-output a:visited:not(:has(img)) {
  color: gold;
  text-shadow: 
    -1px -1px 0 black, 
    1px -1px 0 black, 
    -1px 1px 0 black, 
    1px 1px 0 black, 
    -1px -1px 0 black, 
    1px -1px 0 black, 
    -1px 1px 0 black, 
    1px 1px 0 black;
  font-weight: bold;
  background-color: rgba(50, 50, 50, 0.8);
}

/* Hovered links */
#mw-content-text .mw-parser-output a:hover:not(:has(img)) {
  text-shadow: 
    -1px -1px 0 black, 
    1px -1px 0 black, 
    -1px 1px 0 black, 
    1px 1px 0 black, 
    -1px -1px 0 black, 
    1px -1px 0 black, 
    -1px 1px 0 black, 
    1px 1px 0 black;
  font-weight: bold;
  background-color: rgba(0, 0, 0, 0.1);
}

/* Active links */
#mw-content-text .mw-parser-output a:active:not(:has(img)) {
  text-shadow: 
    -1px -1px 0 black, 
    1px -1px 0 black, 
    -1px 1px 0 black, 
    1px 1px 0 black, 
    -1px -1px 0 black, 
    1px -1px 0 black, 
    -1px 1px 0 black, 
    1px 1px 0 black;
  font-weight: bold;
  background-color: rgba(0, 0, 0, 0.05);
}

.tocnumber {
  color: white;
text-shadow: 
    -1px -1px 0 black, 
    1px -1px 0 black, 
    -1px 1px 0 black, 
    1px 1px 0 black, 
    -1px -1px 0 black, 
    1px -1px 0 black, 
    -1px 1px 0 black, 
    1px 1px 0 black;
  font-weight: bold;
}

body.mediawiki
{
   background-color: black;
   color: white;
}

h1 {
   color: #ffff00;
}

div.mw-body, div.mw-body-content, div.mw-head, div.mw-page-base {
   background-color: black;
   color: white;
}