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 Styling */
body {
background: url("https://ragnarok-infinitezero.com.br/images/background5.jpg") no-repeat center center fixed;
background-size: cover;
}
/* Logo Adjustment */
#p-logo {
transform: translate(-20px, -20px);
}
/* Navigation Menu */
#mw-panel a {
display: flex;
align-items: left;
gap: 10px;
border-radius: 10px;
padding: 10px;
margin: 10px;
font-size: 1rem;
font-weight: bold;
color: #fff;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 1);
cursor: pointer;
}
#mw-panel a:hover {
color: #ffcc00 !important;
}
#mw-panel .selected {
background-color: #ffcc00;
color: #1a1a1a !important;
}
/* Sidebar Title Styling */
#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 Text Styling */
#footer-info {
text-align: center;
font-size: 14px;
}
#footer-info-lastmod {
color: #fff;
}
/* Boxed Section 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;
}
/* General Table Styling */
table {
border-collapse: separate;
text-indent: initial;
border-spacing: 2px;
}
table.wikitable {
width: 80%;
margin: 1em auto;
border: 2px solid #555;
font-size: 14px;
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;
}
table.wikitable tr:nth-child(even) td {
background-color: #f8f9fb;
}
table.wikitable tr:hover td {
background-color: #eef2f6;
}
/* Call-to-Action Box */
.cta-box {
background-color: #ff9900;
border-radius: 12px;
padding: 15px;
color: #fff;
font-weight: bold;
text-align: center;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
transition: transform 0.3s ease;
}
.cta-box:hover {
transform: scale(1.05);
}
/* Enhanced Headings */
h1, h2, h3 {
font-family: 'Cinzel', serif;
text-shadow: 2px 2px 4px #000;
color: #ffd700;
margin-bottom: 15px;
}
/* Title Styling */
.iwMainTitle2 {
font-size: 3rem;
color: #FFD700;
text-transform: uppercase;
text-align: center;
letter-spacing: 2px;
background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700);
background-clip: text;
-webkit-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);
}
}
/* Button Styles */
.button {
background: #444;
color: #fff;
padding: 8px 16px;
border: 2px solid #666;
border-radius: 5px;
transition: background 0.3s ease;
}
.button:hover {
background: #ffff55;
color: #222;
}