MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
/* | /* ======================================================= | ||
General Body and Background | |||
======================================================= */ | |||
body { | body { | ||
background: url("https://ragnarok-infinitezero.com.br/images/background5.jpg") no-repeat center center fixed; | background: url("https://ragnarok-infinitezero.com.br/images/background5.jpg") no-repeat center center fixed; | ||
| Line 5: | Line 7: | ||
} | } | ||
#p-tb { display: none !important; } | /* Removing unnecessary panel */ | ||
#p-tb { | |||
display: none !important; | |||
} | |||
/* Logo Positioning */ | |||
#p-logo { | #p-logo { | ||
transform: | 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 { | th { | ||
font-weight: bold; | font-weight: bold; | ||
text-align: - | text-align: center; | ||
vertical-align: middle; | |||
unicode-bidi: isolate; | 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 { | .infobox { | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
background-color: #f9f9f9; | background-color: #f9f9f9; | ||
color: black; | color: black; | ||
margin | margin: 0.5em 1em; | ||
padding: 0.2em; | padding: 0.2em; | ||
float: right; | float: right; | ||
clear: right; | clear: right; | ||
} | } | ||
/* | |||
/* ======================================================= | |||
Sidebar and Panel Styling | |||
======================================================= */ | |||
#mw-panel a { | #mw-panel a { | ||
border-radius: 10px; | border-radius: 10px; | ||
padding: 10px; | padding: 10px; | ||
margin | margin: 0 10px 10px; | ||
font-size: 1rem; | font-size: 1rem; | ||
font-weight: bold; | font-weight: bold; | ||
color: #fff; | color: #fff; | ||
display: flex; | display: flex; | ||
align-items: | align-items: center; | ||
text-shadow: 2px 2px 5px rgba(0, 0, 0, 1); | text-shadow: 2px 2px 5px rgba(0, 0, 0, 1); | ||
cursor: pointer; | cursor: pointer; | ||
} | } | ||
#mw-panel a:hover { | #mw-panel a:hover { | ||
color: #ffcc00 !important; | color: #ffcc00 !important; | ||
} | } | ||
/* | /* Active Menu Item */ | ||
#mw-panel .selected { | #mw-panel .selected { | ||
background-color: #ffcc00; | background-color: #ffcc00; | ||
color: #1a1a1a !important; | color: #1a1a1a !important; | ||
} | } | ||
/* Sidebar Title | /* Sidebar Title */ | ||
#mw-panel .portal h3 { | #mw-panel .portal h3 { | ||
font-size: 16px; | font-size: 16px; | ||
font-weight: bold; | font-weight: bold; | ||
color: #ffcc00; | color: #ffcc00; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
text-align: center; | text-align: center; | ||
border-bottom: 2px solid #ffcc00; | border-bottom: 2px solid #ffcc00; | ||
padding | padding: 5px 0; | ||
margin-bottom: 10px; | margin-bottom: 10px; | ||
} | } | ||
/* | /* ======================================================= | ||
Footer Styling | |||
======================================================= */ | |||
#footer { | #footer { | ||
background-color: #1a1a1a; | background-color: #1a1a1a; | ||
color: #ffffff; | color: #ffffff; | ||
padding: 10px; | padding: 10px; | ||
text-align: center; | |||
} | } | ||
#footer a { | #footer a { | ||
color: #ffcc00 !important; | color: #ffcc00 !important; | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
#footer a:hover { | #footer a:hover { | ||
color: #ff6600 !important; | color: #ff6600 !important; | ||
} | } | ||
#footer-info { | #footer-info { | ||
font-size: 14px; | font-size: 14px; | ||
color: #fff; | |||
} | } | ||
# | |||
/* ======================================================= | |||
Button Styling | |||
======================================================= */ | |||
.button { | |||
background: #444; | |||
color: #fff; | 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; | |||
} | } | ||
. | |||
background-color: | /* CTA Box */ | ||
border-radius: | .cta-box { | ||
background-color: #ff9900; | |||
padding: | border-radius: 12px; | ||
padding: 15px; | |||
text-align: center; | 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; | |||
/* Table Styling */ | |||
.wikitable | |||
table. | |||
margin: 1em; | |||
border-collapse: collapse; | border-collapse: collapse; | ||
font-size: 14px; | font-size: 14px; | ||
line-height: 1.5; | line-height: 1.5; | ||
color: #222; | color: #222; | ||
background-color: #ffffff; | background-color: #ffffff; | ||
box-shadow: 0 2px 6px rgba(0,0,0,0.1); | box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); | ||
} | } | ||
table.wikitable th, table.wikitable td { | |||
table.wikitable th, | |||
table.wikitable td { | |||
padding: 8px 12px; | padding: 8px 12px; | ||
border: 1px solid #c8ccd1; | border: 1px solid #c8ccd1; | ||
} | } | ||
table.wikitable th { | table.wikitable th { | ||
background-color: #f2f4f7; | background-color: #f2f4f7; | ||
color: #333; | color: #333; | ||
font-weight: 600; | font-weight: 600; | ||
} | } | ||
table.wikitable tr:nth-child(even) { | |||
table.wikitable tr:nth-child(even) | |||
background-color: #f8f9fb; | background-color: #f8f9fb; | ||
} | } | ||
table.wikitable tr:hover | table.wikitable tr:hover { | ||
background-color: #eef2f6; | 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%; | |||
} | |||
} | } | ||
h2, h3 { | /* ======================================================= | ||
Title and Heading Styling | |||
======================================================= */ | |||
h1, h2, h3 { | |||
font-family: 'Cinzel', serif; | font-family: 'Cinzel', serif; | ||
color: #ffd700; | |||
text-shadow: 2px 2px 4px #000000; | text-shadow: 2px 2px 4px #000000; | ||
margin-bottom: 15px; | |||
} | } | ||
.iwMainTitle { | |||
font-size: 3rem; | |||
color: #FFD700; | |||
. | text-transform: uppercase; | ||
font-size: 3rem; | text-align: center; | ||
color: #FFD700; | |||
text-transform: uppercase; | |||
text-align: center; | |||
background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700); | background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700); | ||
background-clip: text; | background-clip: text; | ||
color: transparent; | |||
color: transparent; | text-shadow: 0 0 15px rgba(255, 215, 0, 0.8); | ||
text-shadow: | |||
animation: glowing 2.5s infinite alternate; | animation: glowing 2.5s infinite alternate; | ||
} | } | ||
@keyframes glowing { | @keyframes glowing { | ||
0% { | 0% { text-shadow: 0 0 10px rgba(255, 215, 0, 0.8); } | ||
100% { text-shadow: 0 0 20px rgba(255, 215, 0, 1); } | |||
100% { | |||
} | |||
} | } | ||
Revision as of 22:09, 3 April 2025
/* =======================================================
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); }
}