MediaWiki:Common.css: Difference between revisions
From Twisted
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* ===== General Layout ===== */ | |||
/* === | |||
body { | body { | ||
font-family: "Segoe UI", Roboto, Arial, sans-serif !important; | |||
background-color: #101014 !important; | |||
font-family: "Segoe UI", Roboto, Arial, sans-serif; | color: #e4e4e4 !important; | ||
} | } | ||
/* | /* Remove ugly serif in page titles */ | ||
#firstHeading { | |||
font-family: "Segoe UI", Roboto, Arial, sans-serif !important; | |||
font-weight: bold; | |||
font-size: 1.8em; | |||
} | |||
/* ===== Header / Search Bar ===== */ | |||
#mw-page-base, #mw-head-base { | |||
background: #15151b !important; | |||
} | } | ||
#p-search { | |||
background: none !important; | |||
} | } | ||
#simpleSearch { | |||
background: #1f1f27 !important; | |||
border: none !important; | |||
border-radius: 5px; | |||
} | } | ||
#searchInput { | |||
background: transparent !important; | |||
color: #e4e4e4 !important; | |||
background | |||
} | } | ||
/* === Sidebar | /* ===== Sidebar ===== */ | ||
#mw-panel { | #mw-panel { | ||
background | background: #15151b !important; | ||
} | } | ||
#mw-panel .portal | #mw-panel .portal h3 { | ||
color: #bbb !important; | |||
} | } | ||
#mw-panel a { | #mw-panel .portal .body li a { | ||
color: # | color: #a8b3ff !important; | ||
} | } | ||
#mw-panel a:hover { | #mw-panel .portal .body li a:hover { | ||
color: # | color: #ff7878 !important; | ||
} | } | ||
/* === | /* ===== Content Area ===== */ | ||
.mw-body { | |||
background: #18181f !important; | |||
border- | border-radius: 8px; | ||
padding- | padding: 15px; | ||
} | |||
.mw-body h1, .mw-body h2, .mw-body h3 { | |||
color: #ffffff !important; | |||
} | } | ||
/* === | /* ===== Links ===== */ | ||
a { | |||
color: #6fa8ff !important; | |||
color: # | |||
} | } | ||
a:visited { | |||
color: #a87fff !important; | |||
} | } | ||
a:hover { | |||
color: #ff7878 !important; | |||
color: # | |||
} | } | ||
/* === | /* ===== Tables ===== */ | ||
table { | |||
background | background: #202028 !important; | ||
border: 1px solid # | border: 1px solid #333 !important; | ||
border-radius: 6px; | |||
} | } | ||
th { | |||
background | background: #2a2a38 !important; | ||
color: #fff !important; | |||
} | } | ||
td { | |||
color: #ddd !important; | |||
color: # | |||
} | } | ||
/* === Footer === */ | /* ===== Footer ===== */ | ||
#footer { | footer, #footer { | ||
background | background: #15151b !important; | ||
color: #aaa !important; | |||
color: # | |||
} | } | ||
footer .mw-poweredby { | footer .mw-poweredby { | ||
display: none; | display: none; | ||
} | |||
/* ===== Logo ===== */ | |||
#p-logo { | |||
width: 200px !important; | |||
} | |||
#p-logo a { | |||
background-size: contain !important; | |||
background-repeat: no-repeat !important; | |||
} | } |
Revision as of 22:18, 13 August 2025
/* ===== General Layout ===== */ body { font-family: "Segoe UI", Roboto, Arial, sans-serif !important; background-color: #101014 !important; color: #e4e4e4 !important; } /* Remove ugly serif in page titles */ #firstHeading { font-family: "Segoe UI", Roboto, Arial, sans-serif !important; font-weight: bold; font-size: 1.8em; } /* ===== Header / Search Bar ===== */ #mw-page-base, #mw-head-base { background: #15151b !important; } #p-search { background: none !important; } #simpleSearch { background: #1f1f27 !important; border: none !important; border-radius: 5px; } #searchInput { background: transparent !important; color: #e4e4e4 !important; } /* ===== Sidebar ===== */ #mw-panel { background: #15151b !important; } #mw-panel .portal h3 { color: #bbb !important; } #mw-panel .portal .body li a { color: #a8b3ff !important; } #mw-panel .portal .body li a:hover { color: #ff7878 !important; } /* ===== Content Area ===== */ .mw-body { background: #18181f !important; border-radius: 8px; padding: 15px; } .mw-body h1, .mw-body h2, .mw-body h3 { color: #ffffff !important; } /* ===== Links ===== */ a { color: #6fa8ff !important; } a:visited { color: #a87fff !important; } a:hover { color: #ff7878 !important; } /* ===== Tables ===== */ table { background: #202028 !important; border: 1px solid #333 !important; border-radius: 6px; } th { background: #2a2a38 !important; color: #fff !important; } td { color: #ddd !important; } /* ===== Footer ===== */ footer, #footer { background: #15151b !important; color: #aaa !important; } footer .mw-poweredby { display: none; } /* ===== Logo ===== */ #p-logo { width: 200px !important; } #p-logo a { background-size: contain !important; background-repeat: no-repeat !important; }