MediaWiki:Common.css: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 4: | Line 4: | ||
/* Apply background to the whole page wrapper */ | /* Apply background to the whole page wrapper */ | ||
#mw-wrapper { | #mw-wrapper { | ||
background-color: # | background-color: #fafafa; | ||
background-image: linear-gradient( | background-image: repeating-linear-gradient( | ||
45deg, | |||
#f5f5f5, | |||
#f5f5f5 10px, | |||
#eaeaea 10px, | |||
#eaeaea 20px | |||
); | |||
} | } | ||
Revision as of 22:44, 15 November 2025
/* CSS placed here will be applied to all skins */
/* Apply background to the whole page wrapper */
#mw-wrapper {
background-color: #fafafa;
background-image: repeating-linear-gradient(
45deg,
#f5f5f5,
#f5f5f5 10px,
#eaeaea 10px,
#eaeaea 20px
);
}
/* Keep the content readable with a solid background */
#content {
background-color: #ffffff;
border: 2px solid #007acc; /* accent border */
padding: 20px;
}
#mw-panel {
background-color: #fafafa;
border-right: 2px solid #007acc;
}
a.mw-logo:link,
a.mw-logo:visited {
color: #0645ad; /* MediaWiki default blue */
}
html,body {
font-family: "Press Start 2P", monospace; /* retro pixel font */
}
/* === CategoryTree Container === */
.CategoryTreeTag {
font-family: "Courier New", monospace;
font-size: 14px;
color: #333333; /* dark gray for readability */
margin: 10px 0;
}
/* === Tree Items === */
.CategoryTreeItem {
list-style-type: none; /* remove default bullets */
margin: 4px 0;
padding: 4px 8px;
border-left: 2px solid #007acc; /* blue accent line */
transition: background-color 0.2s ease;
}
.CategoryTreeItem:hover {
background-color: #f0f8ff; /* very light blue highlight */
color: #cc3300; /* warm red accent on hover */
}
/* === Links inside Tree === */
.CategoryTreeItem a:link,
.CategoryTreeItem a:visited {
color: #007acc; /* consistent blue links */
text-decoration: none;
font-weight: bold;
}
.CategoryTreeItem a:hover {
color: #cc3300; /* red hover */
text-decoration: underline;
}
/* === Nested Children === */
.CategoryTreeChildren {
margin-left: 20px; /* indent child categories */
border-left: 1px dashed #cccccc; /* subtle gray divider */
padding-left: 10px;
}
/* === Expand/Collapse Icons === */
.CategoryTreeToggle {
cursor: pointer;
color: #007acc; /* blue toggle */
font-weight: bold;
}
.CategoryTreeToggle:hover {
color: #cc3300; /* red hover */
}