MediaWiki:Common.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;700&display=swap');
:root {
--color-bg-page: #000000;
--color-bg-content: #1e1f22;
--color-text-base: #e6e6e6;
--color-primary: #a862ea;
}
body {
background-color: #000000 !important;
background-image: url('/jcraft/images/5/5f/Placeholder.jpg') !important;
background-attachment: fixed !important;
background-size: cover !important;
background-repeat: no-repeat !important;
background-position: center top !important;
font-family: 'Rubik', sans-serif !important;
color: #e6e6e6 !important;
}
#mw-page-base, #mw-head-base {
background: transparent !important;
}
#content {
background-color: rgba(30, 31, 34, 0.96) !important;
max-width: 1100px !important;
margin: 40px auto 40px 180px !important;
border-radius: 8px !important;
padding: 40px !important;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
border: 1px solid #2b2d31 !important;
color: #e6e6e6 !important;
}
#mw-head {
background: rgba(18, 18, 18, 0.8) !important;
backdrop-filter: blur(10px);
border-bottom: 1px solid #333 !important;
}
#p-views li, #p-cactions li, #p-namespaces li {
background: #1e1f22 !important;
border: 1px solid #333 !important;
border-bottom: none !important;
}
#p-views li.selected, #p-namespaces li.selected {
border-bottom: 2px solid #a862ea !important;
}
#p-views li a, #p-namespaces li a {
color: #e6e6e6 !important;
background: transparent !important;
}
#mw-panel {
background-color: rgba(10, 10, 10, 0.9) !important;
border-right: 1px solid #333 !important;
width: 160px !important;
padding-top: 180px !important;
height: 100vh;
}
#mw-panel .portal h3 {
color: #a862ea !important;
text-transform: uppercase;
font-size: 0.75em;
padding: 5px 0 5px 10px;
border: none !important;
background: transparent !important;
}
#mw-panel .portal .body ul li a {
color: #bbb !important;
transition: 0.2s;
}
#mw-panel .portal .body ul li a:hover {
color: #fff !important;
text-decoration: none !important;
}
.firstHeading {
font-size: 32px !important;
font-weight: 700 !important;
color: #fff !important;
border-bottom: 1px solid #444 !important;
}
h2 {
font-size: 24px !important;
font-weight: 600 !important;
color: #fff !important;
border-bottom: 1px solid #a862ea !important;
}
a { color: #a862ea !important; }
a:visited { color: #8c4dbf !important; }
.portable-infobox {
background-color: #1e1f22 !important;
border: 1px solid #a862ea !important;
color: #e6e6e6 !important;
width: 300px;
float: right;
margin: 0 0 1em 1em;
border-radius: 4px;
overflow: hidden;
}
.pi-panel-navigation {
display: flex !important;
background: #111 !important;
border-bottom: 1px solid #2b2d31;
list-style: none !important;
margin: 0 !important;
padding: 0 !important;
}
.pi-panel-navigation li {
flex: 1;
text-align: center;
padding: 10px !important;
color: #e6e6e6 !important;
background: transparent !important;
outline: none !important;
}
.pi-panel-navigation li.current {
color: #a862ea !important;
background: transparent !important;
text-decoration: underline !important;
text-decoration-color: #a862ea !important;
text-underline-offset: 5px;
box-shadow: none !important;
}
.page-Main_Page #firstHeading { display: none !important; }
.community-header {
background: rgba(20, 20, 20, 0.8);
border: 1px solid #2b2d31;
border-radius: 8px;
padding: 25px;
margin-bottom: 20px;
text-align: center;
}
.community-header h1 {
font-size: 42px !important;
color: #fff !important;
text-transform: uppercase;
}
.main-page-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 20px;
}
.main-page-card {
background: #111;
border: 1px solid #333;
border-top: 3px solid #a862ea;
border-radius: 4px;
padding: 20px;
}
#p-logo {
position: absolute;
top: -160px;
left: 0;
width: 160px;
height: 160px;
}
.mw-wiki-logo {
background-size: contain !important;
width: 140px !important;
height: 140px !important;
margin: 10px auto !important;
}
textarea, input { background-color: #2d2d2d !important; color: #fff !important; border: 1px solid #444 !important; }
#footer { display: none !important; }