MediaWiki:Common.css
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 */
body {
background: url("https://ragnarok-infinitezero.com.br/images/background5.jpg") no-repeat center center fixed;
background-size: cover;
}
#p-tb { display: none !important; }
/* Move the logo to the left */
#p-logo {
transform: translateX(-20px);
transform: translateY(-20px);
}
/* Change menu text color */
#mw-panel a {
border-radius: 10px;
padding: 10px;
margin-bottom: 10px;
margin-left: 10px;
font-size: 1rem;
font-weight: bold;
color: #fff;
display: flex;
align-items: left;
gap: 10px;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 1);
cursor: pointer;
}
/* Change hover effect */
#mw-panel a:hover {
color: #ffcc00 !important; /* Gold text */
}
/* Change active/current menu item */
#mw-panel .selected {
background-color: #ffcc00; /* Gold background for active menu */
color: #1a1a1a !important; /* Dark text */
}
/* Sidebar Title Styling */
#mw-panel .portal h3 {
font-size: 16px; /* Adjust title size */
font-weight: bold;
color: #ffcc00; /* Gold color */
text-transform: uppercase;
text-align: center;
border-bottom: 2px solid #ffcc00;
padding-bottom: 5px;
margin-bottom: 10px;
}
/* Change footer background color */
#footer {
background-color: #1a1a1a; /* Dark gray */
color: #ffffff; /* White text */
padding: 10px;
justify-content: center;
align-text: center;
}
/* Change footer text styling */
#footer a {
color: #ffcc00 !important; /* Gold links */
font-weight: bold;
}
/* Change hover effect */
#footer a:hover {
color: #ff6600 !important; /* Orange on hover */
}
/* Adjust text alignment and spacing */
#footer-info {
text-align: center;
font-size: 14px;
}
#footer-info-lastmod {
color: #fff;
}
/* General Table Styling */
.wikitable {
width: 50%;
border-collapse: collapse;
background-color: #fff9c4; /* Sticky note yellow */
border: 2px solid #fdd835; /* Bold yellow border */
box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2); /* Sticky note shadow effect */
border-radius: 10px; /* Rounded corners */
overflow: hidden; /* Ensures rounded corners apply fully */
}
/* Header Styling */
.wikitable th {
background-color: #ffe082; /* Slightly darker yellow for headers */
color: #333;
font-weight: bold;
padding: 12px;
border-bottom: 2px solid #fdd835;
text-align: left;
font-family: "Comic Sans MS", cursive, sans-serif;
}
/* Table Cell Styling */
.wikitable td {
text-align:center;
border:2px solid #555;
background:linear-gradient(to bottom, #444, #222);
color: #fff;
}
/* Highlight Effect on Hover */
.wikitable tr:hover {
background-color: #fff59d; /* Highlight effect */
transition: background 0.2s ease-in-out;
}
/* Table Link Styling */
.wikitable a {
color: #fff !important; /* Default link color */
text-decoration: none;
font-weight: bold;
transition: color 0.3s ease;
}
/* Hover Effect for Links */
.wikitable a:hover {
color: #ffff55 !important; /* Yellow on hover */
text-decoration: underline;
}
.wikitable th a {
color: #f9a826 !important; /* Orange text for links */
text-decoration: none; /* Optional: Removes underline */
font-weight: bold; /* Emphasize the text */
}
.wikitable th a:hover {
color: #ffcc00 !important; /* Bright yellow on hover */
text-decoration: underline; /* Optional: Underline on hover */
}
h1, h2, h3 {
margin-bottom: 15px;
}
.iwMainTitle {
font-size: 3rem; /* Larger text for a bold impression */
color: #FFD700; /* Bright gold color */
text-transform: uppercase; /* Epic, impactful style */
text-align: center; /* Centered title */
letter-spacing: 2px; /* Enhanced spacing for a clean look */
/* Glowing Gold Effect */
background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700);
background-clip: text;
-webkit-background-clip: text;
color: transparent; /* Text becomes the glowing effect */
/* Shadow for Depth */
text-shadow:
0 0 15px rgba(255, 215, 0, 0.8),
0 0 30px rgba(255, 215, 0, 0.5),
2px 2px 4px rgba(0, 0, 0, 0.7);
/* Animation for a Magical Glow */
animation: glowing 2.5s infinite alternate;
}
/* Glowing Animation */
@keyframes glowing {
0% {
text-shadow:
0 0 10px rgba(255, 215, 0, 0.8),
0 0 20px rgba(255, 165, 0, 0.5),
2px 2px 4px rgba(0, 0, 0, 0.7);
}
100% {
text-shadow:
0 0 20px rgba(255, 215, 0, 1),
0 0 40px rgba(255, 165, 0, 0.8),
4px 4px 8px rgba(0, 0, 0, 0.8);
}
}
/* Button Styles */
.button {
background: #444;
color: #fff;
padding: 8px 16px;
border: 2px solid #666;
border-radius: 5px;
transition: background 0.3s ease, color 0.3s ease;
}
.button:hover {
background: #ffff55;
color: #222;
}