Difference between revisions of "MediaWiki:Common.css"

From The Drunk Side Wiki
Jump to navigation Jump to search
m
m
Line 3: Line 3:
 
#mw-content-text .mw-parser-output a {
 
#mw-content-text .mw-parser-output a {
 
display: inline-block;
 
display: inline-block;
   padding: 10px 20px;
+
   padding: 3px 4px;
   background-color: #4CAF50; /* Green background color */
+
   background-color: #808080; /* Green background color */
   color: white; /* White text color */
+
   color: yellow; /* White text color */
 
   text-align: center;
 
   text-align: center;
 
   text-decoration: none;
 
   text-decoration: none;
 
   border-radius: 5px; /* Rounded corners */
 
   border-radius: 5px; /* Rounded corners */
 
   font-weight: bold;
 
   font-weight: bold;
   border: 1px solid #4CAF50; /* Border to match background */
+
   border: 1px solid #000; /* Border to match background */
 
   transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
 
   transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
 
}
 
}

Revision as of 02:21, 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-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);
}