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:
/* === BASE: Full dark mode, flat, Arial === */
/* === Global Reset === */
* {
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
}
 
/* === General Layout === */
body, .mw-body, .mw-page-container, #content, #mw-content-text, div, p, li, td, th {
body, .mw-body, .mw-page-container, #content, #mw-content-text, div, p, li, td, th {
     background-color: #121212 !important;
     background-color: #121212 !important;
Line 5: Line 12:
     font-family: Arial, sans-serif !important;
     font-family: Arial, sans-serif !important;
     font-size: 15px;
     font-size: 15px;
    box-shadow: none !important;
    border: none !important;
}
}


/* === LINKS: Flat RGB Blue === */
/* === Space for header (top margin) === */
a, a:link, a:visited {
body {
     color: rgb(0, 122, 255) !important;
    padding-top: 20px !important;
     text-decoration: none !important;
}
 
/* === Sidebar (full height, flat black) === */
#mw-panel {
     background-color: #000000 !important;
     position: fixed !important;
    top: 0;
    bottom: 0;
    left: 0;
    width: 160px;
    overflow-y: auto;
    padding-top: 60px;
}
}
a:hover {
 
    color: #66bfff !important;
#mw-head, #p-personal {
     text-decoration: underline !important;
     margin-left: 160px !important;
}
}


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


/* === SIDEBAR & MENUS === */
/* === Sidebar section headers === */
#mw-panel, #p-navigation, #p-tb, .vector-menu-content,
.portal h3 {
.vector-menu, .vector-menu h3, .vector-menu-portal, .vector-menu-tabs,
     color: #bbbbbb !important;
.vector-menu-tabs ul, .vector-menu-tabs li {
     border-bottom: 1px solid #222 !important;
     background-color: #1e1e1e !important;
     margin-bottom: 6px;
     color: #cccccc !important;
     font-weight: 500;
     border: none !important;
     box-shadow: none !important;
}
}


/* === TABS (Read, Edit, View History etc.) === */
/* === Tabs (Read / Edit / History etc.) === */
.vector-menu-tabs li a {
.vector-menu-tabs li a {
     background-color: #1e1e1e !important;
     background-color: #1e1e1e !important;
Line 50: Line 59:
}
}


/* === INPUTS & FORMS === */
/* === Headings === */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff !important;
    font-weight: 600;
    border-bottom: 1px solid #1a1a1a !important;
    padding-bottom: 4px;
}
 
/* === Section underlines (Gallery, References etc.) === */
#toc, .mw-headline, .gallerybox, .references, .navbox {
    border-bottom: 0 !important;
}
 
/* === Forms and Inputs === */
input, textarea, select, button {
input, textarea, select, button {
     background-color: #1e1e1e !important;
     background-color: #1e1e1e !important;
     color: #ffffff !important;
     color: #ffffff !important;
     border: 1px solid #444 !important;
     border: 1px solid #444 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-family: Arial, sans-serif !important;
     padding: 6px 8px !important;
     padding: 6px 8px !important;
}
input:focus, textarea:focus, select:focus {
    border-color: rgb(0, 122, 255) !important;
    outline: none !important;
}
}


/* === MESSAGES === */
/* === Links === */
.mw-message-box, .mw-warning, .successbox {
a, a:link, a:visited {
    background-color: #2a2a2a !important;
     color: rgb(0, 122, 255) !important;
    border: 1px solid #444 !important;
     text-decoration: none !important;
     color: #dddddd !important;
    border-radius: 0 !important;
     padding: 8px 12px !important;
    box-shadow: none !important;
}
}
 
a:hover {
/* === SIDEBAR SECTION HEADINGS === */
     color: #66bfff !important;
.portal h3 {
     text-decoration: underline !important;
     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 === */
/* === Footer and Logos Hide all === */
#p-logo, .mw-wiki-logo, /* Top left logo */
#footer, #footer-info, #footer-icons, .mw-footer-logo, .printfooter, #p-logo, .mw-wiki-logo, .ccicons, .license {
#footer-icons, .flickrBadge, .mw-footer-logo, .printfooter, /* Footer logos */
#footer-info, .license, .footer-icons, .noprint, .ccicons, .noprint {
     display: none !important;
     display: none !important;
}
}


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

Revision as of 11:33, 1 July 2025

/* === Global Reset === */
* {
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
}

/* === General Layout === */
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;
}

/* === Space for header (top margin) === */
body {
    padding-top: 20px !important;
}

/* === Sidebar (full height, flat black) === */
#mw-panel {
    background-color: #000000 !important;
    position: fixed !important;
    top: 0;
    bottom: 0;
    left: 0;
    width: 160px;
    overflow-y: auto;
    padding-top: 60px;
}

#mw-head, #p-personal {
    margin-left: 160px !important;
}

.mw-body {
    margin-left: 170px !important;
}

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

/* === Tabs (Read / Edit / 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;
}

/* === Headings === */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff !important;
    font-weight: 600;
    border-bottom: 1px solid #1a1a1a !important;
    padding-bottom: 4px;
}

/* === Section underlines (Gallery, References etc.) === */
#toc, .mw-headline, .gallerybox, .references, .navbox {
    border-bottom: 0 !important;
}

/* === Forms and Inputs === */
input, textarea, select, button {
    background-color: #1e1e1e !important;
    color: #ffffff !important;
    border: 1px solid #444 !important;
    padding: 6px 8px !important;
}

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

/* === Footer and Logos – Hide all === */
#footer, #footer-info, #footer-icons, .mw-footer-logo, .printfooter, #p-logo, .mw-wiki-logo, .ccicons, .license {
    display: none !important;
}

/* === Gallery styling === */
.gallerybox {
    background-color: transparent !important;
    border: none !important;
}