MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 106: | Line 106: | ||
/* Table Cell Styling */ | /* Table Cell Styling */ | ||
.wikitable td { | .wikitable td { | ||
text-align:center; | |||
border | border:2px solid #555; | ||
background:linear-gradient(to bottom, #444, #222); | |||
} | } | ||
Revision as of 12:50, 13 March 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;
}
/* General Table Styling */
.wikitable {
width: 100%;
border-collapse: collapse;
background-color: #fff9c4; /* Sticky note yellow */
border: 2px solid #fdd835; /* Bold yellow border */
box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2); /* Sticky note shadow effect */
border-radius: 10px; /* Rounded corners */
overflow: hidden; /* Ensures rounded corners apply fully */
}
/* Header Styling */
.wikitable th {
background-color: #ffe082; /* Slightly darker yellow for headers */
color: #333;
font-weight: bold;
padding: 12px;
border-bottom: 2px solid #fdd835;
text-align: left;
font-family: "Comic Sans MS", cursive, sans-serif;
}
/* Table Cell Styling */
.wikitable td {
text-align:center;
border:2px solid #555;
background:linear-gradient(to bottom, #444, #222);
}
/* Highlight Effect on Hover */
.wikitable tr:hover {
background-color: #fff59d; /* Highlight effect */
transition: background 0.2s ease-in-out;
}
/* Table Link Styling */
.wikitable a {
color: #fff !important; /* Default link color */
text-decoration: none;
font-weight: bold;
transition: color 0.3s ease;
}
/* Hover Effect for Links */
.wikitable a:hover {
color: #ffff55 !important; /* Yellow on hover */
text-decoration: underline;
}
.wikitable th a {
color: #f9a826 !important; /* Orange text for links */
text-decoration: none; /* Optional: Removes underline */
font-weight: bold; /* Emphasize the text */
}
.wikitable th a:hover {
color: #ffcc00 !important; /* Bright yellow on hover */
text-decoration: underline; /* Optional: Underline on hover */
}
h1, h2, h3 {
margin-bottom: 15px;
}
/* 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;
}