Difference between revisions of "MediaWiki:Vector.css"
m |
|||
| (53 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* CSS placed here will affect users of the Vector skin */ | /* CSS placed here will affect users of the Vector skin */ | ||
| − | |||
| − | |||
| − | |||
| − | |||
/* Suppress main page title */ | /* Suppress main page title */ | ||
| Line 19: | Line 15: | ||
body { | body { | ||
| − | background: -moz-linear-gradient(top, # | + | background: -moz-linear-gradient(top, #282828 0, #404040 979px, #404040 100%); |
| − | background: -webkit-gradient(linear, left top, left bottom, color-stop(0, # | + | background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #282828), color-stop(979px, #404040), color-stop(100%, #404040)); |
| − | background: -webkit-linear-gradient(top, # | + | background: -webkit-linear-gradient(top, #282828 0, #333 979px, #404040 100%); |
| − | background: -o-linear-gradient(top, # | + | background: -o-linear-gradient(top, #282828 0, #333 979px, #404040 100%); |
| − | background: -ms-linear-gradient(top, # | + | background: -ms-linear-gradient(top, #282828 0, #333 979px, #404040 100%); |
| − | background: linear-gradient(to bottom, # | + | background: linear-gradient(to bottom, #282828 0, #333 979px, #404040 100%); |
margin-right: 5px; | margin-right: 5px; | ||
} | } | ||
| + | /* p-cactions (Content actions), p-personal (Personal tools), p-navigation (Navigation), p-tb (Toolbox) */ | ||
| + | |||
| + | /* Personal Tools */ | ||
#p-personal a { | #p-personal a { | ||
color: #ffffff; | color: #ffffff; | ||
| + | } | ||
| + | #p-personal a.new, #p-personal a.new:visited { | ||
| + | color: #ffffff; | ||
} | } | ||
| + | |||
| + | /* category bar */ | ||
| + | .catlinks { | ||
| + | border: none; | ||
| + | background: transparent; | ||
| + | } | ||
| + | |||
/* Top Tabs */ | /* Top Tabs */ | ||
| − | |||
div.vectorTabs { | div.vectorTabs { | ||
background: transparent; | background: transparent; | ||
| Line 119: | Line 127: | ||
color: #ffffff; | color: #ffffff; | ||
} | } | ||
| + | |||
/* Content Panel */ | /* Content Panel */ | ||
div#content { | div#content { | ||
| − | background- | + | background: -moz-linear-gradient(top, #282828 0, #FFFFD5 12px, #FFFFD5 100%); |
| − | background- | + | background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #282828), color-stop(12px, #FFFFD5), color-stop(100%, #FFFFD5)); |
| + | background: -webkit-linear-gradient(top, #282828 0, #FFFFD5 12px, #FFFFD5 100%); | ||
| + | background: -o-linear-gradient(top, #282828 0, #FFFFD5 12px, #FFFFD5 100%); | ||
| + | background: -ms-linear-gradient(top, #282828 0, #FFFFD5 12px, #FFFFD5 100%); | ||
| + | background: linear-gradient(to bottom, #282828 0, #FFFFD5 12px, #FFFFD5 100%); | ||
color: #000000; | color: #000000; | ||
| − | border: 1px solid # | + | border: 1px solid #000000; |
| − | border-top: | + | border-top: 1px solid #000000; |
| − | |||
| − | |||
} | } | ||
| + | |||
| + | |||
h1, h2, h3, h4, h5, h6 { | h1, h2, h3, h4, h5, h6 { | ||
color: #800000; | color: #800000; | ||
font-weight: bold; | font-weight: bold; | ||
| − | font-family: | + | font-family:inherit; |
} | } | ||
| + | |||
| + | |||
/* Footer */ | /* Footer */ | ||
| Line 156: | Line 171: | ||
color: #ffffff; | color: #ffffff; | ||
} | } | ||
| + | |||
| + | /* for MegaMenu */ | ||
| + | div#mw-page-base { | ||
| + | height:54px; | ||
| + | } | ||
| + | div#mw-head-base { | ||
| + | height:54px; | ||
| + | } | ||
| + | |||
| + | |||
| + | /*end of MegaMenu*/ | ||
| + | |||
| + | [[Category:Wiki]] | ||
Latest revision as of 19:58, 15 January 2018
/* CSS placed here will affect users of the Vector skin */
/* Suppress main page title */
body.page-Main_Page h1.firstHeading { display:none; }
body.page-Regiapædia_Home h1.firstHeading { display:none; }
html {
height: auto;
min-height: 100%;
}
/* Top, side panel & footer background */
body {
background: -moz-linear-gradient(top, #282828 0, #404040 979px, #404040 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #282828), color-stop(979px, #404040), color-stop(100%, #404040));
background: -webkit-linear-gradient(top, #282828 0, #333 979px, #404040 100%);
background: -o-linear-gradient(top, #282828 0, #333 979px, #404040 100%);
background: -ms-linear-gradient(top, #282828 0, #333 979px, #404040 100%);
background: linear-gradient(to bottom, #282828 0, #333 979px, #404040 100%);
margin-right: 5px;
}
/* p-cactions (Content actions), p-personal (Personal tools), p-navigation (Navigation), p-tb (Toolbox) */
/* Personal Tools */
#p-personal a {
color: #ffffff;
}
#p-personal a.new, #p-personal a.new:visited {
color: #ffffff;
}
/* category bar */
.catlinks {
border: none;
background: transparent;
}
/* Top Tabs */
div.vectorTabs {
background: transparent;
font-size: 110%;
}
div.vectorTabs ul {
background: transparent;
}
div.vectorTabs ul li, div.vectorTabs ul li.selected {
background: transparent;
border: none;
}
div.vectorTabs ul li span, div.vectorTabs ul li.selected span {
background: transparent;
border: none;
}
div.vectorTabs li span a {
color: #ffffff;
}
div.vectorTabs span a:visited {
color: #ffffff;
}
div.vectorTabs li span a:hover, div.vectorTabs span a:visited:hover {
color: #ffffff;
}
div.vectorTabs li.selected span a {
color: #ffffff !important;
}
div.vectorTabs li.new span a {
color: #ffffff;
}
div.vectorTabs li.new span a:visited {
color: #ffffff;
}
div.vectorTabs li.new span a:hover, div.vectorTabs li.new span a:visited:hover {
color: #ffffff;
}
div.vectorTabs span a:active {
color: #ffffff;
}
div.vectorMenu h5 a {
border: none;
background: transparent;
}
div#mw-page-base {
background: transparent !important;
}
/* Left Side Panel */
div#mw-panel div.portal h3 {
color: #ffffff;
font-weight: bold;
}
div#mw-panel div.portal div.body ul li a {
color: #ffffff;
}
div#mw-panel div.portal div.body ul li a:visited {
color: #ffffff;
}
div#mw-panel div.portal div.body ul li a:hover {
color: #ffffff;
}
div#mw-panel div.portal div.body ul li a:active {
color: #ffffff;
}
/* Content Panel */
div#content {
background: -moz-linear-gradient(top, #282828 0, #FFFFD5 12px, #FFFFD5 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #282828), color-stop(12px, #FFFFD5), color-stop(100%, #FFFFD5));
background: -webkit-linear-gradient(top, #282828 0, #FFFFD5 12px, #FFFFD5 100%);
background: -o-linear-gradient(top, #282828 0, #FFFFD5 12px, #FFFFD5 100%);
background: -ms-linear-gradient(top, #282828 0, #FFFFD5 12px, #FFFFD5 100%);
background: linear-gradient(to bottom, #282828 0, #FFFFD5 12px, #FFFFD5 100%);
color: #000000;
border: 1px solid #000000;
border-top: 1px solid #000000;
}
h1, h2, h3, h4, h5, h6 {
color: #800000;
font-weight: bold;
font-family:inherit;
}
/* Footer */
div#footer {
margin-left: 160px !important;
border: none;
background: transparent;
color: #ffffff;
}
div#footer ul li {
color: #ffffff;
}
div#footer a {
color: #ffffff;
}
div#footer a:visited {
color: #ffffff;
}
/* for MegaMenu */
div#mw-page-base {
height:54px;
}
div#mw-head-base {
height:54px;
}
/*end of MegaMenu*/
[[Category:Wiki]]