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 layout - flat, dark background */
/* Use Arial for everything */
body, .mw-body, .mw-page-container {
body, .mw-body, #content, input, textarea, select, h1, h2, h3, h4, h5, h6, p, li, td, th, div {
     background-color: #121212 !important;
     font-family: Arial, sans-serif !important;
     color: #e0e0e0 !important;
     color: #ffffff !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
}


/* Links - soft color, no underline */
/* Dark background */
a, a:link, a:visited {
body, .mw-body, .mw-page-container, #mw-panel, #mw-head, #footer {
    color: #80cbc4 !important;
     background-color: #121212 !important;
    text-decoration: none !important;
}
 
a:hover {
    color: #b2dfdb !important;
    text-decoration: underline !important;
}
 
/* Panels - no gradients, no borders */
#mw-panel, #mw-head, #footer {
     background-color: #1c1c1c !important;
    color: #cccccc !important;
     box-shadow: none !important;
     box-shadow: none !important;
     border: none !important;
     border: none !important;
}
}


/* Headings - bold and clean */
/* Headings */
h1, h2, h3, h4, h5 {
h1, h2, h3, h4, h5 {
    color: #ffffff !important;
     font-weight: 600 !important;
     font-weight: 600 !important;
     border-bottom: 1px solid #2c2c2c !important;
     border-bottom: 1px solid #2c2c2c !important;
Line 34: Line 19:
}
}


/* Inputs and buttons - flat and dark */
/* Inputs and buttons */
input, textarea, select, button {
input, textarea, select, button {
     background-color: #1e1e1e !important;
     background-color: #1e1e1e !important;
     color: #eeeeee !important;
     color: #ffffff !important;
     border: 1px solid #444 !important;
     border: 1px solid #444 !important;
     border-radius: 0 !important;
     border-radius: 0 !important;
Line 44: Line 29:
}
}


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


/* Message boxes - flat background */
/* 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 {
.mw-message-box, .mw-warning, .successbox {
     background-color: #2a2a2a !important;
     background-color: #2a2a2a !important;
Line 59: Line 56:
}
}


/* Hide logo and any rounded/3D borders */
/* Sidebar section titles */
#p-logo, .mw-wiki-logo {
    display: none !important;
}
 
/* Sidebar section titles - flat */
.portal h3 {
.portal h3 {
     color: #bbbbbb !important;
     color: #bbbbbb !important;
Line 70: Line 62:
     margin-bottom: 6px;
     margin-bottom: 6px;
     font-weight: 500 !important;
     font-weight: 500 !important;
}
/* Hide logo */
#p-logo, .mw-wiki-logo {
    display: none !important;
}
}

Revision as of 13:59, 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;
}