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 66: Line 66:
/* Hide logo */
/* Hide logo */
#p-logo, .mw-wiki-logo {
#p-logo, .mw-wiki-logo {
    display: none !important
   
    /* === 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;
     display: none !important;
}
/* Hide “Powered by MediaWiki” and CC logos */
#footer-info {
    display: none !important;
}
/* Remove bottom footer padding space */
#footer {
    padding: 10px 0 !important;
}
/* Optional: Hide "Create account" and "Log in" links if needed */
/*
#pt-createaccount, #pt-login {
    display: none !important;
}
*/
;
}
}

Revision as of 14:01, 30 June 2025

/* Use Arial for everything */
body, .mw-body, #content, input, textarea, select, h1, h2, h3, h4, h5, h6, p, li, td, th, div {
    font-family: Arial, sans-serif !important;
    color: #ffffff !important;
}

/* Dark background */
body, .mw-body, .mw-page-container, #mw-panel, #mw-head, #footer {
    background-color: #121212 !important;
    box-shadow: none !important;
    border: none !important;
}

/* Headings */
h1, h2, h3, h4, h5 {
    font-weight: 600 !important;
    border-bottom: 1px solid #2c2c2c !important;
    padding-bottom: 4px;
}

/* Inputs and buttons */
input, textarea, select, button {
    background-color: #1e1e1e !important;
    color: #ffffff !important;
    border: 1px solid #444 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 6px 8px !important;
}

/* Focus state */
input:focus, textarea:focus, select:focus {
    border-color: rgb(0, 122, 255) !important;
    outline: none !important;
}

/* Links - Apple 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;
}

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

/* Sidebar section titles */
.portal h3 {
    color: #bbbbbb !important;
    border-bottom: 1px solid #333 !important;
    margin-bottom: 6px;
    font-weight: 500 !important;
}

/* Hide logo */
#p-logo, .mw-wiki-logo {
    display: none !important
    
    /* === 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;
}

/* Remove bottom footer padding space */
#footer {
    padding: 10px 0 !important;
}

/* Optional: Hide "Create account" and "Log in" links if needed */
/*
#pt-createaccount, #pt-login {
    display: none !important;
}
*/
;
}