MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Manual revert |
No edit summary |
||
| Line 10: | Line 10: | ||
body { | body { | ||
background-color: #000000 !important; | background-color: #000000 !important; | ||
background-image: url('/jcraft/images/5/5f/Placeholder.jpg') !important; | background-image: url('https://wiki.jcraft-eoe.com/images/5/5f/Placeholder.jpg') !important; | ||
background-attachment: fixed !important; | background-attachment: fixed !important; | ||
background-size: cover !important; | background-size: cover !important; | ||
| Line 121: | Line 121: | ||
.pi-panel-navigation { | .pi-panel-navigation { | ||
display: flex !important; | display: flex !important; | ||
background: | background: transparent !important; | ||
border-bottom: 1px solid # | border-bottom: 1px solid #333 !important; | ||
list-style: none !important; | list-style: none !important; | ||
margin: 0 !important; | margin: 0 !important; | ||
| Line 131: | Line 131: | ||
flex: 1; | flex: 1; | ||
text-align: center; | text-align: center; | ||
padding: | padding: 12px 5px !important; | ||
color: # | color: #bbb !important; | ||
cursor: pointer; | |||
transition: color 0.2s ease; | |||
background: transparent !important; | background: transparent !important; | ||
border: none !important; | |||
outline: none !important; | outline: none !important; | ||
-webkit-tap-highlight-color: transparent !important; | |||
} | } | ||
| Line 140: | Line 144: | ||
color: #a862ea !important; | color: #a862ea !important; | ||
background: transparent !important; | background: transparent !important; | ||
border-bottom: 2px solid #a862ea !important; | |||
font-weight: bold; | |||
} | |||
.pi-panel-navigation li:hover { | |||
color: #fff !important; | |||
background: rgba(255, 255, 255, 0.05) !important; | |||
} | |||
.pi-panel-navigation li:active, | |||
.pi-panel-navigation li:focus, | |||
.pi-panel-navigation li:visited { | |||
background: transparent !important; | |||
outline: none !important; | |||
box-shadow: none !important; | box-shadow: none !important; | ||
} | |||
.pi-panel-content { | |||
background: rgba(0, 0, 0, 0.2) !important; | |||
padding: 15px !important; | |||
border-radius: 0 0 4px 4px; | |||
} | |||
#toc, .toc { | |||
background-color: #1e1f22 !important; | |||
border: 1px solid #2b2d31 !important; | |||
border-top: 3px solid #a862ea !important; | |||
border-radius: 4px !important; | |||
padding: 15px !important; | |||
display: inline-block !important; | |||
min-width: 250px !important; | |||
box-shadow: 0 4px 10px rgba(0,0,0,0.3) !important; | |||
} | |||
#toctitle h2 { | |||
font-size: 18px !important; | |||
font-family: 'Rubik', sans-serif !important; | |||
color: #fff !important; | |||
border-bottom: 1px solid #333 !important; | |||
margin-bottom: 10px !important; | |||
text-transform: uppercase !important; | |||
letter-spacing: 1px !important; | |||
} | |||
.tocnumber { | |||
color: #a862ea !important; | |||
margin-right: 5px !important; | |||
} | |||
.toctext { | |||
color: #e6e6e6 !important; | |||
} | |||
#toc li a:hover .toctext { | |||
color: #a862ea !important; | |||
text-decoration: none !important; | |||
} | |||
.toctogglelabel { | |||
color: #a862ea !important; | |||
font-size: 0.8em !important; | |||
} | } | ||
Revision as of 23:42, 25 April 2026
@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('https://wiki.jcraft-eoe.com/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;
}
h3, h4, h5, h6 {
font-weight: 600 !important;
color: #fff !important;
border-bottom: none !important;
}
h3 { font-size: 20px !important; }
h4 { font-size: 18px !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: transparent !important;
border-bottom: 1px solid #333 !important;
list-style: none !important;
margin: 0 !important;
padding: 0 !important;
}
.pi-panel-navigation li {
flex: 1;
text-align: center;
padding: 12px 5px !important;
color: #bbb !important;
cursor: pointer;
transition: color 0.2s ease;
background: transparent !important;
border: none !important;
outline: none !important;
-webkit-tap-highlight-color: transparent !important;
}
.pi-panel-navigation li.current {
color: #a862ea !important;
background: transparent !important;
border-bottom: 2px solid #a862ea !important;
font-weight: bold;
}
.pi-panel-navigation li:hover {
color: #fff !important;
background: rgba(255, 255, 255, 0.05) !important;
}
.pi-panel-navigation li:active,
.pi-panel-navigation li:focus,
.pi-panel-navigation li:visited {
background: transparent !important;
outline: none !important;
box-shadow: none !important;
}
.pi-panel-content {
background: rgba(0, 0, 0, 0.2) !important;
padding: 15px !important;
border-radius: 0 0 4px 4px;
}
#toc, .toc {
background-color: #1e1f22 !important;
border: 1px solid #2b2d31 !important;
border-top: 3px solid #a862ea !important;
border-radius: 4px !important;
padding: 15px !important;
display: inline-block !important;
min-width: 250px !important;
box-shadow: 0 4px 10px rgba(0,0,0,0.3) !important;
}
#toctitle h2 {
font-size: 18px !important;
font-family: 'Rubik', sans-serif !important;
color: #fff !important;
border-bottom: 1px solid #333 !important;
margin-bottom: 10px !important;
text-transform: uppercase !important;
letter-spacing: 1px !important;
}
.tocnumber {
color: #a862ea !important;
margin-right: 5px !important;
}
.toctext {
color: #e6e6e6 !important;
}
#toc li a:hover .toctext {
color: #a862ea !important;
text-decoration: none !important;
}
.toctogglelabel {
color: #a862ea !important;
font-size: 0.8em !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; }