MediaWiki:Vector.css
MediaWiki interface page
More actions
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.
/* CSS placed here will affect users of the Vector skin */
#footer-info-lastmod { display: none; } /* last modification disable */
/* Main & Sidebar */
#mw-page-base {
background:none;
}
#mw-head {
background-color: #232323;
}
body {
background-color: #232323;
}
.mw-body {
min-height: 500px; /* Works with footer */
margin-right: 15px;
margin-bottom: 60px;
}
div#mw-panel {
border: 2px solid;
background-color: #232323;
left: -12px;
border-color:#919191;
padding-bottom: 15px;
border-top-right-radius: 8px;
border-bottom-right-radius: 8px;
top: 10px;
}
div#mw-panel div.portal {
margin: 0 0.6em 0 0.7em;
padding: 0.25em 0;
}
div#mw-panel div.portal h3 {
font-size: 0.75em;
color: #d0cbc8;
font-weight: normal;
margin: 0;
padding: 0.25em 0 0.25em 0.25em;
cursor: default;
border: none;
}
div#mw-panel div.portal div.body ul li {
line-height: 1.125em;
margin: 0;
padding: 0.25em 0;
font-size: 0.75em;
word-wrap: break-word;
}
div#mw-panel div.portal div.body ul li a:visited { /* Visited Panel Links */
color: #C0BAB6;
}
div#mw-panel div.portal div.body ul li a { /* Normal Panel Links*/
color: #C0BAB6;
}
/* Footer */
div#footer {
background: rgba(0, 0, 0, 0.8) none repeat scroll 0% 0%;
width: 100%;
padding: 0px !important;
margin-top: 20px !important;
bottom: 0px !important;
margin-left: auto !important;
margin-right: auto !important;
direction: ltr;
color: #C2C8CF;
}
div#footer a {
color:white;
}
div#footer ul {
padding-left: 190px;
padding-right: 15px;
}
div#footer ul li {
color:#C2C8CF;
}
/* Animal Infobox Style */
#infoboxborder {
border: 12px solid transparent;
border-color: #BC9E82;
background-color: rgba(255,255,255,0.58);
float:right;
border-radius: 12px;
margin-left: 15px;
margin-bottom:15px;
min-width: 300px;
}
#infoboxdata {
vertical-align:top;
padding-left:3px;
padding-right:12px;
}
#infoboxlabel {
background-color:#03A007;
vertical-align:top;
padding-left:15px;
padding-right:5px;
width:105px;
border-color:#007448;
box-shadow: 0px 1px rgba(0,0,0,0.3);
color: white;
text-shadow: 0px 2px #00321f;
}
#infoboxtable {
max-width:350px;
width:100%;
}
#infoboxtitle {
text-align:center;
font-size:24px;
padding-top:5px;
padding-bottom:5px;
text-shadow: 0px 1.5px 0px rgba(0,0,0,0.2);
}
#producttemplate {
margin: 2px 5px 1px 2px;
display:block;
white-space:nowrap;
}
/* Staff & Links Div */
ul#StaffDisplay {
padding: 10px !important;
}
ul#StaffDisplay li {
display: inline-block;
background-color: #333333;
list-style: none;
width: 150px;
padding: 10px 20px;
text-align: center;
margin-bottom: 3px;
font-weight: bolder;
}
h3#StaffMenuHeader {
color: #C0BAB6;
text-align: center;
font-family: Helvetica;
font-weight: bold;
}
span#StaffUser {
color:#C0BAB6 !important;
}
div#StaffMenu {
background-color: #232323;
font-weight: 500;
letter-spacing: 1px;
font: inherit;
padding: 0 20px;
color: #C0BAB6;
overflow: auto;
display: block;
text-align: center;
}
div#LinkMenu {
background-color: #232323;
font-weight: 500;
letter-spacing: 1px;
font: inherit;
padding: 0 20px;
color: #C0BAB6;
overflow: auto;
display: block;
text-align: center;
}
#LinkMenu a, #LinkMenu a:visited, #LinkMenu a.new {
color: #C0BAB6;
}
#StaffMenu a, #StaffMenu a:visited, #StaffMenu a.new {
color: #C0BAB6;
}
/* Vector Menu */
div#mw-head div.vectorMenu h3, div.vectorTabs ul, div.vectorTabs li.selected, div.vectorTabs ul li, div.vectorTabs, div.vectorTabs span {
background:none;
}
div.vectorTabs li a {
color: #C0BAB6;
}
div.vectorTabs li.new a, div.vectorTabs li.new a:visited, div.vectorMenu h3 span {
color: #C0BAB6;
}
div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited {
color: #C0BAB6;
}
div.vectorMenu div.menu {
background-color: #C0BAB6;
}
div.vectorMenu div.menu a {
color: #C6DBFF;
}
#p-personal a, #p-personal a.new, p-personal a:visited, #p-personal a.new:visited {
color: #C0BAB6;
}
#p-personal a.hover, p-personal a:focus {
color: #C0BAB6;
text-decoration:none;
}
/* Search Bar */
#simpleSearch input {
background-color: #232323;
color: #FFFFFF;
margin: 0;
}
#searchInput {
width: 100%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
border: 1px solid #C0BAB6;
border-radius: 2px;
padding: 0.4em 1.84615385em 0.4em 0.4em;
-webkit-box-shadow: inset 0 0 0 1px transparent;
box-shadow: inset 0 0 0 1px transparent;
font-size: 0.8125em;
direction: ltr;
-webkit-transition: border-color 250ms,box-shadow 250ms;
-moz-transition: border-color 250ms,box-shadow 250ms;
transition: border-color 250ms,box-shadow 250ms;
-webkit-appearance: textfield;
}
*/ Test Stuff */
#intro ul li img {
width: 130px;
height: 130px;
margin: 0;
padding: 5px;
}
#intro ul li {
display: inline-block;
}
#intro ul {
display: block;
width: 100%;
list-style: none;
}
#intro {
text-align: center;
}
.tooltip {
display:inline-block;
position:relative;
border-bottom:1px dotted #666;
text-align:left;
}
.tooltip .bottom {
min-width:50px;
max-width:100px;
top:40px;
left:50%;
transform:translate(-50%, 0);
padding:10px 20px;
color:#444444;
background-color:#EEEEEE;
font-weight:normal;
font-size:13px;
border-radius:8px;
position:absolute;
z-index:99999999;
box-sizing:border-box;
box-shadow:0 1px 8px rgba(0,0,0,0.5);
display:none;
}
.tooltip:hover .bottom {
display:block;
}
.tooltip .bottom i {
position:absolute;
bottom:100%;
left:50%;
margin-left:-12px;
width:24px;
height:12px;
overflow:hidden;
}
.tooltip .bottom i::after {
content:'';
position:absolute;
width:12px;
height:12px;
left:50%;
transform:translate(-50%,50%) rotate(45deg);
background-color:#EEEEEE;
box-shadow:0 1px 8px rgba(0,0,0,0.5);
}
.container {
position: relative;
width: 50%;
}
.image {
opacity: 1;
display: block;
width: 100%;
height: auto;
transition: .5s ease;
backface-visibility: hidden;
}
.middle {
transition: .5s ease;
opacity: 0;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
text-align: center;
}
.container:hover .image {
opacity: 0.3;
}
.container:hover .middle {
opacity: 1;
}
.text {
background-color: #4CAF50;
color: white;
font-size: 16px;
padding: 16px 32px;
}