MediaWiki:Common.css: Difference between revisions

From Retro Media HUB
mNo edit summary
mNo edit summary
Line 2: Line 2:




/* Apply to the whole page wrapper */
/* Apply background to the whole page wrapper */
#mw-wrapper {
#mw-wrapper {
    background-color: #ffffff; /* base white */
    background-image: linear-gradient(90deg, #f5f5f5 1px, transparent 1px),
                      linear-gradient(#f5f5f5 1px, transparent 1px);
    background-size: 20px 20px; /* grid size */
}
/* Keep the content readable with a solid background */
#content {
     background-color: #ffffff;
     background-color: #ffffff;
     background-image: linear-gradient(90deg, #e0e0e0 1px, transparent 1px),
     border: 2px solid #007acc; /* accent border */
                      linear-gradient(#e0e0e0 1px, transparent 1px);
     padding: 20px;
     background-size: 20px 20px;
}
}





Revision as of 22:38, 15 November 2025

/* CSS placed here will be applied to all skins */


/* Apply background to the whole page wrapper */
#mw-wrapper {
    background-color: #ffffff; /* base white */
    background-image: linear-gradient(90deg, #f5f5f5 1px, transparent 1px),
                      linear-gradient(#f5f5f5 1px, transparent 1px);
    background-size: 20px 20px; /* grid size */
}

/* Keep the content readable with a solid background */
#content {
    background-color: #ffffff;
    border: 2px solid #007acc; /* accent border */
    padding: 20px;
}




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 */
}