MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* | /* Use Arial for everything */ | ||
body, .mw-body, | 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: # | color: #ffffff !important; | ||
} | } | ||
/* | /* Dark background */ | ||
body, .mw-body, .mw-page-container, #mw-panel, #mw-head, #footer { | |||
background-color: #121212 !important; | |||
#mw-panel, #mw-head, #footer { | |||
background-color: # | |||
box-shadow: none !important; | box-shadow: none !important; | ||
border: none !important; | border: none !important; | ||
} | } | ||
/* Headings | /* Headings */ | ||
h1, h2, h3, h4, h5 { | h1, h2, h3, h4, h5 { | ||
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 | /* Inputs and buttons */ | ||
input, textarea, select, button { | input, textarea, select, button { | ||
background-color: #1e1e1e !important; | background-color: #1e1e1e !important; | ||
color: # | 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: | border-color: rgb(0, 122, 255) !important; | ||
outline: none !important; | outline: none !important; | ||
} | } | ||
/* Message boxes | /* 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: | ||
} | } | ||
/* Sidebar section titles */ | |||
/* Sidebar section titles | |||
.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;
}