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.
/* 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);
}
th {
display: table-cell;
vertical-align: inherit;
font-weight: bold;
text-align: -internal-center;
unicode-bidi: isolate;
}
.mw-body {
margin-top: -1px;
border: 1px solid #a7d7f9;
border-right-width: 0;
}
.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;
}
.iwMainFrame {
border: 1px solid #a7d7f9;
padding: .5em 1em;
margin: 1em;
background-color: (to bottom, #1a1a1a, #2c2c2c);
}
/* 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;
}
.mw-content-ltr {
direction: ltr;
}
.section-box {
background-color: rgba(0, 0, 0, 0.6);
border-radius: 15px;
margin: 10px;
padding: 20px;
color: #fff;
text-align: center;
}
table {
display: table;
border-collapse: separate;
box-sizing: border-box;
text-indent: initial;
unicode-bidi: isolate;
border-spacing: 2px;
border-color: gray;
}
table.wikitablec, table.prettytable {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaa solid;
border-collapse: collapse;
}
/* 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;
border-collapse: collapse;
font-size: 14px;
line-height: 1.5;
color: #222;
border:2px solid #555;
background-color: #ffffff;
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
/* Responsive Header Images */
img.responsive-header-img {
width: 100%;
height: auto;
max-width: 400px; /* Original intended width */
}
/* Adjust images for smaller screens */
@media (max-width: 800px) {
img.responsive-header-img {
max-width: 100%;
}
}
table.wikitable th,
table.wikitable td {
padding: 8px 12px;
border: 1px solid #c8ccd1;
vertical-align: middle;
}
table.navbox {
background-color: #f9f9f9;
border: 1px solid #aaa;
clear: both;
font-size: 90%;
margin: 1em 0em 0em;
padding: 2px;
text-align: center;
width: 100%;
}
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;
}
.cta-box {
background-color: #ff9900;
border-radius: 12px;
padding: 15px;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
text-align: center;
font-weight: bold;
color: #ffffff;
}
.cta-box:hover {
box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.5);
transform: scale(1.05);
}
h2, h3 {
font-family: 'Cinzel', serif;
text-shadow: 2px 2px 4px #000000;
color: #ffd700;
}
h1, h2, h3 {
margin-bottom: 15px;
}
.iwMainTitle2 {
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;
}
.iwMainTitle {
margin: 0;
background-color: #a7bdf4;
font-family: 'Trebuchet MS', Helvetica, sans-serif;
font-size: 120%;
font-weight: bold;
border: 1px solid #a7bdf4;
text-align: left;
color: #3b3b3b;
padding: 0.2em 0.4em;
}
/* 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);
}
}
.messagebox.cleanup {
border: 1px solid #9f9fff;
background-color: #efefff;
text-align: center;
}
.messagebox {
border: 1px solid #aaa;
background-color: #f9f9f9;
width: 45%;
text-align: center;
margin: 0 auto 1em auto;
padding: .2em;
}
table.navbox th {
background-color: #ccf;
padding-left: 1em;
padding-right: 1em;
}
/* 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;
}