Difference between revisions of "MediaWiki:Common.css"

From The Drunk Side Wiki
Jump to navigation Jump to search
m
m
Line 6: Line 6:
 
   background-color: #808080; /* Green background color */
 
   background-color: #808080; /* Green background color */
 
   color: yellow; /* White text color */
 
   color: yellow; /* White text color */
  text-align: center;
+
/*  text-align: center; */
 +
  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;
 
   text-decoration: none;
 
   border-radius: 5px; /* Rounded corners */
 
   border-radius: 5px; /* Rounded corners */

Revision as of 02:23, 2 October 2024

/* CSS placed here will be applied to all skins */
/* Unvisited links */
#mw-content-text .mw-parser-output a {
display: inline-block;
  padding: 3px 4px;
  background-color: #808080; /* Green background color */
  color: yellow; /* White text color */
/*  text-align: center; */
  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 {
  color: red;
  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.5);
}

/* Hovered links */
#mw-content-text .mw-parser-output a:hover {
  color: blue;
  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.5);
}

/* Active links */
#mw-content-text .mw-parser-output a:active {
  color: light-blue;
  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.5);
}