MediaWiki:Common.css: Difference between revisions

From Practices and Politics of Representation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
/* Use Arial for everything */
/* === BASE: Full dark mode, flat, Arial === */
body, .mw-body, #content, input, textarea, select, h1, h2, h3, h4, h5, h6, p, li, td, th, div {
body, .mw-body, .mw-page-container, #content, #mw-content-text, div, p, li, td, th {
    background-color: #121212 !important;
    color: #ffffff !important;
     font-family: Arial, sans-serif !important;
     font-family: Arial, sans-serif !important;
     color: #ffffff !important;
     font-size: 15px;
    box-shadow: none !important;
    border: none !important;
}
}


/* Dark background */
/* === LINKS: Flat RGB Blue === */
body, .mw-body, .mw-page-container, #mw-panel, #mw-head, #footer {
a, a:link, a:visited {
     background-color: #121212 !important;
     color: rgb(0, 122, 255) !important;
     box-shadow: none !important;
     text-decoration: none !important;
     border: none !important;
}
a:hover {
    color: #66bfff !important;
     text-decoration: underline !important;
}
}


/* Headings */
/* === HEADINGS === */
h1, h2, h3, h4, h5 {
h1, h2, h3, h4, h5, h6 {
    color: #ffffff !important;
    font-family: Arial, sans-serif !important;
     font-weight: 600 !important;
     font-weight: 600 !important;
     border-bottom: 1px solid #2c2c2c !important;
     border-bottom: 1px solid #2c2c2c !important;
Line 19: Line 28:
}
}


/* Inputs and buttons */
/* === SIDEBAR & MENUS === */
#mw-panel, #p-navigation, #p-tb, .vector-menu-content,
.vector-menu, .vector-menu h3, .vector-menu-portal, .vector-menu-tabs,
.vector-menu-tabs ul, .vector-menu-tabs li {
    background-color: #1e1e1e !important;
    color: #cccccc !important;
    border: none !important;
    box-shadow: none !important;
}
 
/* === TABS (Read, Edit, View History etc.) === */
.vector-menu-tabs li a {
    background-color: #1e1e1e !important;
    color: rgb(0, 122, 255) !important;
    border: 1px solid #2a2a2a !important;
    border-bottom: none !important;
    padding: 6px 10px !important;
}
.vector-menu-tabs li a:hover {
    background-color: #2a2a2a !important;
}
 
/* === INPUTS & FORMS === */
input, textarea, select, button {
input, textarea, select, button {
     background-color: #1e1e1e !important;
     background-color: #1e1e1e !important;
Line 26: Line 57:
     border-radius: 0 !important;
     border-radius: 0 !important;
     box-shadow: none !important;
     box-shadow: none !important;
    font-family: Arial, sans-serif !important;
     padding: 6px 8px !important;
     padding: 6px 8px !important;
}
}
/* Focus state */
input:focus, textarea:focus, select:focus {
input:focus, textarea:focus, select:focus {
     border-color: rgb(0, 122, 255) !important;
     border-color: rgb(0, 122, 255) !important;
Line 35: Line 65:
}
}


/* Links - Apple RGB Blue */
/* === MESSAGES === */
a, a:link, a:visited {
    color: rgb(0, 122, 255) !important;
    text-decoration: none !important;
}
 
a:hover {
    color: #66bfff !important;
    text-decoration: underline !important;
}
 
/* Message boxes */
.mw-message-box, .mw-warning, .successbox {
.mw-message-box, .mw-warning, .successbox {
     background-color: #2a2a2a !important;
     background-color: #2a2a2a !important;
Line 52: Line 71:
     color: #dddddd !important;
     color: #dddddd !important;
     border-radius: 0 !important;
     border-radius: 0 !important;
    padding: 8px 12px !important;
     box-shadow: none !important;
     box-shadow: none !important;
    padding: 8px 12px !important;
}
}


/* Sidebar section titles */
/* === SIDEBAR SECTION HEADINGS === */
.portal h3 {
.portal h3 {
     color: #bbbbbb !important;
     color: #bbbbbb !important;
    font-family: Arial, sans-serif !important;
     border-bottom: 1px solid #333 !important;
     border-bottom: 1px solid #333 !important;
     margin-bottom: 6px;
     margin-bottom: 6px;
Line 64: Line 84:
}
}


/* Hide logo */
/* === LOGOS & FOOTER ICONS – REMOVE ALL === */
#p-logo, .mw-wiki-logo {
#p-logo, .mw-wiki-logo, /* Top left logo */
    display: none !important
#footer-icons, .flickrBadge, .mw-footer-logo, .printfooter, /* Footer logos */
   
#footer-info, .license, .footer-icons, .noprint, .ccicons, .noprint {
    /* === Final cleanup & flat refinements === */
 
/* Make sidebar and tab backgrounds flat grey */
.vector-menu-tabs, .vector-menu-tabs li, .vector-menu-tabs ul,
.vector-menu, .vector-menu h3,
.vector-menu-portal, .vector-menu-content,
#mw-head, #mw-panel {
    background-color: #1e1e1e !important;
    border: none !important;
    box-shadow: none !important;
}
 
/* Make content tabs (Read / Edit / History) flat */
.vector-menu-tabs li a {
    background-color: #1e1e1e !important;
    color: rgb(0, 122, 255) !important;
    border: 1px solid #2a2a2a !important;
    border-bottom: none !important;
}
 
/* Hover effect for tabs */
.vector-menu-tabs li a:hover {
    background-color: #2a2a2a !important;
}
 
/* Remove footer logos */
#footer-icons, .flickrBadge, .mw-footer-logo, .printfooter {
    display: none !important;
}
 
/* Hide “Powered by MediaWiki” and CC logos */
#footer-info {
     display: none !important;
     display: none !important;
}
}


/* Remove bottom footer padding space */
/* === CLEAN FOOTER AREA === */
#footer {
#footer {
    background-color: #121212 !important;
    color: #666 !important;
    border: none !important;
    box-shadow: none !important;
     padding: 10px 0 !important;
     padding: 10px 0 !important;
}
/* Optional: Hide "Create account" and "Log in" links if needed */
/*
#pt-createaccount, #pt-login {
    display: none !important;
}
*/
;
}
}

Revision as of 11:30, 1 July 2025

/* === BASE: Full dark mode, flat, Arial === */
body, .mw-body, .mw-page-container, #content, #mw-content-text, div, p, li, td, th {
    background-color: #121212 !important;
    color: #ffffff !important;
    font-family: Arial, sans-serif !important;
    font-size: 15px;
    box-shadow: none !important;
    border: none !important;
}

/* === LINKS: Flat RGB Blue === */
a, a:link, a:visited {
    color: rgb(0, 122, 255) !important;
    text-decoration: none !important;
}
a:hover {
    color: #66bfff !important;
    text-decoration: underline !important;
}

/* === HEADINGS === */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff !important;
    font-family: Arial, sans-serif !important;
    font-weight: 600 !important;
    border-bottom: 1px solid #2c2c2c !important;
    padding-bottom: 4px;
}

/* === SIDEBAR & MENUS === */
#mw-panel, #p-navigation, #p-tb, .vector-menu-content,
.vector-menu, .vector-menu h3, .vector-menu-portal, .vector-menu-tabs, 
.vector-menu-tabs ul, .vector-menu-tabs li {
    background-color: #1e1e1e !important;
    color: #cccccc !important;
    border: none !important;
    box-shadow: none !important;
}

/* === TABS (Read, Edit, View History etc.) === */
.vector-menu-tabs li a {
    background-color: #1e1e1e !important;
    color: rgb(0, 122, 255) !important;
    border: 1px solid #2a2a2a !important;
    border-bottom: none !important;
    padding: 6px 10px !important;
}
.vector-menu-tabs li a:hover {
    background-color: #2a2a2a !important;
}

/* === INPUTS & FORMS === */
input, textarea, select, button {
    background-color: #1e1e1e !important;
    color: #ffffff !important;
    border: 1px solid #444 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-family: Arial, sans-serif !important;
    padding: 6px 8px !important;
}
input:focus, textarea:focus, select:focus {
    border-color: rgb(0, 122, 255) !important;
    outline: none !important;
}

/* === MESSAGES === */
.mw-message-box, .mw-warning, .successbox {
    background-color: #2a2a2a !important;
    border: 1px solid #444 !important;
    color: #dddddd !important;
    border-radius: 0 !important;
    padding: 8px 12px !important;
    box-shadow: none !important;
}

/* === SIDEBAR SECTION HEADINGS === */
.portal h3 {
    color: #bbbbbb !important;
    font-family: Arial, sans-serif !important;
    border-bottom: 1px solid #333 !important;
    margin-bottom: 6px;
    font-weight: 500 !important;
}

/* === LOGOS & FOOTER ICONS – REMOVE ALL === */
#p-logo, .mw-wiki-logo, /* Top left logo */
#footer-icons, .flickrBadge, .mw-footer-logo, .printfooter, /* Footer logos */
#footer-info, .license, .footer-icons, .noprint, .ccicons, .noprint {
    display: none !important;
}

/* === CLEAN FOOTER AREA === */
#footer {
    background-color: #121212 !important;
    color: #666 !important;
    border: none !important;
    box-shadow: none !important;
    padding: 10px 0 !important;
}