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.
/* =======================================================
General Body and Background
======================================================= */
body {
background: url("https://ragnarok-infinitezero.com.br/images/background5.jpg") no-repeat center center fixed;
background-size: cover;
}
/* Removing unnecessary panel */
#p-tb {
display: none !important;
}
/* Logo Positioning */
#p-logo {
transform: translate(-20px, -20px);
}
/* Margins and Content Alignment */
.mw-body {
margin-top: -1px;
border: 1px solid #a7d7f9;
border-right-width: 0;
}
/* Improved Text Alignment for Headers */
th {
font-weight: bold;
text-align: center;
vertical-align: middle;
unicode-bidi: isolate;
}
/* Content Box Styling */
.section-box {
background-color: rgba(0, 0, 0, 0.6);
border-radius: 15px;
margin: 10px;
padding: 20px;
color: #fff;
text-align: center;
}
/* Infobox Styling */
.infobox {
border: 1px solid #aaa;
background-color: #f9f9f9;
color: black;
margin: 0.5em 1em;
padding: 0.2em;
float: right;
clear: right;
}
/* =======================================================
Sidebar and Panel Styling
======================================================= */
#mw-panel a {
border-radius: 10px;
padding: 10px;
margin: 0 10px 10px;
font-size: 1rem;
font-weight: bold;
color: #fff;
display: flex;
align-items: center;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 1);
cursor: pointer;
}
#mw-panel a:hover {
color: #ffcc00 !important;
}
/* Active Menu Item */
#mw-panel .selected {
background-color: #ffcc00;
color: #1a1a1a !important;
}
/* Sidebar Title */
#mw-panel .portal h3 {
font-size: 16px;
font-weight: bold;
color: #ffcc00;
text-transform: uppercase;
text-align: center;
border-bottom: 2px solid #ffcc00;
padding: 5px 0;
margin-bottom: 10px;
}
/* =======================================================
Footer Styling
======================================================= */
#footer {
background-color: #1a1a1a;
color: #ffffff;
padding: 10px;
text-align: center;
}
#footer a {
color: #ffcc00 !important;
font-weight: bold;
}
#footer a:hover {
color: #ff6600 !important;
}
#footer-info {
font-size: 14px;
color: #fff;
}
/* =======================================================
Button Styling
======================================================= */
.button {
background: #444;
color: #fff;
padding: 8px 16px;
border: 2px solid #666;
border-radius: 5px;
transition: background 0.3s, color 0.3s;
}
.button:hover {
background: #ffff55;
color: #222;
}
/* CTA Box */
.cta-box {
background-color: #ff9900;
border-radius: 12px;
padding: 15px;
text-align: center;
font-weight: bold;
color: #ffffff;
}
.cta-box:hover {
transform: scale(1.05);
box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.5);
}
/* =======================================================
Table Styling
======================================================= */
table.wikitable, table.prettytable {
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;
}
table.wikitable th {
background-color: #f2f4f7;
color: #333;
font-weight: 600;
}
table.wikitable tr:nth-child(even) {
background-color: #f8f9fb;
}
table.wikitable tr:hover {
background-color: #eef2f6;
}
/* Responsive Header Images */
img.responsive-header-img {
width: 100%;
height: auto;
max-width: 400px;
}
@media (max-width: 800px) {
img.responsive-header-img {
max-width: 100%;
}
}
/* =======================================================
Title and Heading Styling
======================================================= */
h1, h2, h3 {
font-family: 'Cinzel', serif;
color: #ffd700;
text-shadow: 2px 2px 4px #000000;
margin-bottom: 15px;
}
.iwMainTitle {
font-size: 3rem;
color: #FFD700;
text-transform: uppercase;
text-align: center;
background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700);
background-clip: text;
color: transparent;
text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
animation: glowing 2.5s infinite alternate;
}
@keyframes glowing {
0% { text-shadow: 0 0 10px rgba(255, 215, 0, 0.8); }
100% { text-shadow: 0 0 20px rgba(255, 215, 0, 1); }
}