MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 82: | Line 82: | ||
} | } | ||
/* Table | /* Table Styling */ | ||
.wikitable { | .wikitable { | ||
border-collapse: collapse; | border-collapse: collapse; | ||
border-radius: | margin: 20px auto; | ||
overflow: hidden; | width: 100%; /* Full width for better responsiveness */ | ||
box-shadow: 0 4px | 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 */ | |||
} | } | ||
/* Table | /* Table Cell Styling */ | ||
.wikitable th { | .wikitable td, .wikitable th { | ||
text-align: center; | text-align: center; | ||
padding: 16px; /* Increased padding for better spacing */ | |||
border | background: #2a2a2a; | ||
font- | color: #ddd; | ||
border: 1px solid #555; | |||
font-size: 1.2rem; /* Slightly larger font for better visibility */ | |||
} | } | ||
/* | /* Header Styling */ | ||
.wikitable | .wikitable th { | ||
background: #444; /* Distinct header color */ | |||
font-weight: bold; | |||
background: # | color: #fff; | ||
} | } | ||
/* Alternate Row Styling for Readability */ | /* Alternate Row Styling for Readability */ | ||
.wikitable tr:nth-child(even) { | .wikitable tr:nth-child(even) { | ||
background-color: #333; | background-color: #333; | ||
} | } | ||
/* Highlight Effect on Hover */ | /* Highlight Effect on Hover */ | ||
.wikitable tr:hover { | .wikitable tr:hover { | ||
background-color: # | background-color: #555; | ||
transition: background 0. | transition: background 0.3s ease-in-out; | ||
} | } | ||
/* Table Link Styling */ | /* Table Link Styling */ | ||
.wikitable a { | .wikitable a { | ||
color: #ffd700 | color: #ffd700; | ||
text-decoration: none; | text-decoration: none; | ||
font-weight: bold; | font-weight: bold; | ||
transition: color 0. | transition: color 0.2s ease, transform 0.2s ease; | ||
} | } | ||
/* Hover Effect for Links */ | /* Hover Effect for Links */ | ||
.wikitable a:hover { | .wikitable a:hover { | ||
color: #ffff55 | color: #ffff55; | ||
text-decoration: underline; | text-decoration: underline; | ||
transform: scale(1.05); /* Slight zoom for emphasis */ | |||
} | } | ||
/* Responsive Design for Smaller Screens */ | |||
@media (max-width: 600px) { | |||
.wikitable td, .wikitable th { | |||
font-size: 1rem; | |||
padding: 10px; | |||
} | |||
.wikitable { | |||
max-width: 100%; /* Adapt to smaller screens */ | |||
} | |||
} | |||
h1, h2, h3 { | h1, h2, h3 { | ||
Revision as of 15:25, 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);
}
/* 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 */
}
/* Table Cell Styling */
.wikitable td, .wikitable th {
text-align: center;
padding: 16px; /* Increased padding for better spacing */
background: #2a2a2a;
color: #ddd;
border: 1px solid #555;
font-size: 1.2rem; /* Slightly larger font for better visibility */
}
/* Header Styling */
.wikitable th {
background: #444; /* Distinct header color */
font-weight: bold;
color: #fff;
}
/* Alternate Row Styling for Readability */
.wikitable tr:nth-child(even) {
background-color: #333;
}
/* Highlight Effect on Hover */
.wikitable tr:hover {
background-color: #555;
transition: background 0.3s ease-in-out;
}
/* Table Link Styling */
.wikitable a {
color: #ffd700;
text-decoration: none;
font-weight: bold;
transition: color 0.2s ease, transform 0.2s ease;
}
/* Hover Effect for Links */
.wikitable a:hover {
color: #ffff55;
text-decoration: underline;
transform: scale(1.05); /* Slight zoom for emphasis */
}
/* Responsive Design for Smaller Screens */
@media (max-width: 600px) {
.wikitable td, .wikitable th {
font-size: 1rem;
padding: 10px;
}
.wikitable {
max-width: 100%; /* Adapt to smaller screens */
}
}
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;
}