MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 100: | Line 100: | ||
overflow: hidden; /* Smooth border-radius on content */ | overflow: hidden; /* Smooth border-radius on content */ | ||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Subtle shadow for depth */ | box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Subtle shadow for depth */ | ||
} | |||
/* Enhanced MediaWiki wikitable styling */ | |||
table.wikitable { | |||
width: 80%; | |||
margin: 1em auto; | |||
border-collapse: collapse; | |||
font-size: 14px; | |||
line-height: 1.5; | |||
color: #222; | |||
background-color: #ffffff; | |||
box-shadow: 0 2px 6px rgba(0,0,0,0.1); | |||
} | |||
table.wikitable th, | |||
table.wikitable td { | |||
padding: 8px 12px; | |||
border: 1px solid #c8ccd1; | |||
vertical-align: middle; | |||
} | } | ||
table.wikitable th { | |||
background-color: #f2f4f7; | |||
color: #333; | |||
font-weight: 600; | |||
text-align: center; | text-align: center; | ||
} | } | ||
table.wikitable td { | |||
.wikitable | background-color: #ffffff; | ||
background | |||
} | } | ||
table.wikitable tr:nth-child(even) td { | |||
.wikitable tr:nth-child(even) { | background-color: #f8f9fb; | ||
background-color: # | |||
} | } | ||
table.wikitable tr:hover td { | |||
.wikitable tr:hover { | background-color: #eef2f6; | ||
background-color: # | |||
} | } | ||
table.wikitable caption { | |||
.wikitable | |||
font-weight: bold; | font-weight: bold; | ||
font-size: 15px; | |||
padding-bottom: 10px; | |||
text-align: center; | |||
text- | |||
} | } | ||
Revision as of 18:16, 2 April 2025
/* 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);
}
.infobox {
border: 1px solid #aaa;
background-color: #f9f9f9;
color: black;
margin-bottom: 0.5em;
margin-left: 1em;
padding: 0.2em;
float: right;
clear: right;
}
/* 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;
}
/* Table Styling */
.wikitable {
border-collapse: collapse;
margin: 20px auto;
width: 100%; /* Full width for better responsiveness */
max-width: 800px; /* Limit width for better readability */
border-radius: 8px; /* Rounded corners for a modern look */
overflow: hidden; /* Smooth border-radius on content */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Subtle shadow for depth */
}
/* Enhanced MediaWiki wikitable styling */
table.wikitable {
width: 80%;
margin: 1em auto;
border-collapse: collapse;
font-size: 14px;
line-height: 1.5;
color: #222;
background-color: #ffffff;
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
table.wikitable th,
table.wikitable td {
padding: 8px 12px;
border: 1px solid #c8ccd1;
vertical-align: middle;
}
table.wikitable th {
background-color: #f2f4f7;
color: #333;
font-weight: 600;
text-align: center;
}
table.wikitable td {
background-color: #ffffff;
}
table.wikitable tr:nth-child(even) td {
background-color: #f8f9fb;
}
table.wikitable tr:hover td {
background-color: #eef2f6;
}
table.wikitable caption {
font-weight: bold;
font-size: 15px;
padding-bottom: 10px;
text-align: center;
}
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;
}