Difference between revisions of "MediaWiki:Vector.css"
From Dungeon Defenders 2 Wiki
| Line 80: | Line 80: | ||
/* tabs */ | /* tabs */ | ||
| − | # | + | div.vectorTabs li a, div.vectorTabs li a:visited, div.vectorMenu li a, #p-cactions-label |
| − | + | { | |
| − | + | text-decoration: none; | |
| + | font-size: 0.75em; | ||
| + | |||
} | } | ||
| − | + | div.vectorTabs | |
| − | + | { | |
| − | + | padding: 0; | |
| − | + | background-color:transparent; | |
| + | background-image: none; | ||
} | } | ||
| − | div.vectorTabs | + | div.vectorTabs span |
| − | + | { | |
| − | + | overflow: hidden; | |
| − | + | height: 1.875em; | |
| + | background: transparent; | ||
} | } | ||
| − | + | #right-navigation, #left-navigation | |
| − | + | { | |
| − | + | padding: 1px 0 0; | |
| + | z-index: 3; | ||
} | } | ||
| − | div.vectorTabs | + | #right-navigation div.vectorTabs |
| − | + | { | |
| − | + | margin: 0px; | |
} | } | ||
| − | + | div.vectorMenu | |
| − | + | { | |
| − | + | height: 1.875em; | |
| − | + | margin-top: 0; | |
| − | + | background-color: #eee; | |
| + | border: 1px solid #ccc; | ||
} | } | ||
| − | div. | + | #mw-navigation #mw-head div.vectorMenu h3 |
| − | + | { | |
| − | + | height: 1.875em; | |
| − | |||
} | } | ||
| − | div. | + | #mw-navigation div.vectorMenu h3 a |
| − | + | { | |
| + | background-position: 100% 50%; | ||
} | } | ||
| − | div. | + | #mw-navigation div.vectorMenu h3 span |
| − | + | { | |
| − | + | display: inline-block; | |
| + | height: 100%; | ||
| + | line-height: 2.3em; | ||
| + | padding: 0 0.25em 0 0.8em; | ||
} | } | ||
| − | + | #mw-navigation div.vectorMenu div.menu | |
| − | div. | + | { |
| − | + | top: 1.875em; | |
| + | border: none; | ||
| + | left: 0; | ||
} | } | ||
| − | div.vectorMenu | + | div.vectorMenu ul |
| − | + | { | |
| − | + | margin-left: -1px; | |
| + | background-color: #eee; | ||
| + | border: solid 1px #ccc; | ||
} | } | ||
| − | . | + | div.vectorMenu li a |
| − | + | { | |
| + | height: 1.4em; | ||
| + | line-height:1.53846em; | ||
} | } | ||
| − | div.vectorTabs li | + | div.vectorTabs ul li |
| − | color: # | + | { |
| + | height: 1.875em; | ||
| + | line-height: 0; | ||
| + | margin: 0 -1px 0 0; | ||
| + | background-image: none; | ||
| + | background-color:#eee; | ||
| + | border:1px solid #ccc; | ||
} | } | ||
| − | div.vectorTabs li | + | div.vectorTabs ul li:first-child |
| − | + | { | |
| + | border-top-left-radius:0.5em; | ||
} | } | ||
| − | div.vectorTabs li | + | div.vectorTabs ul li:hover, div.vectorMenu ul li:hover, div.vectorMenu:hover |
| − | color: # | + | { |
| + | background-color:#f8f8f8; | ||
} | } | ||
| − | div. | + | div.vectorTabs li a |
| − | + | { | |
| + | height: 1.4em; | ||
| + | padding-left: 0.8em; | ||
| + | padding-right: 0.8em; | ||
| + | background-image: none; | ||
} | } | ||
| − | # | + | div.vectorTabs li.selected |
| − | + | { | |
| + | background-color: #fff; | ||
| + | border: 1px solid #ccc; | ||
| + | border-bottom-width: 0; | ||
| + | padding-bottom: 1px; | ||
| + | margin: 0 -1px 0 0; | ||
} | } | ||
| − | # | + | div.vectorTabs li.selected a span |
| − | + | { | |
| − | + | margin-top: 0px; | |
| + | } | ||
| + | |||
| + | div#left-navigation div.vectorTabs li.selected | ||
| + | { | ||
| + | border-radius: 0.5em 0 0 0; | ||
| + | } | ||
| + | |||
| + | div#left-navigation div.vectorTabs li + li.selected | ||
| + | { | ||
| + | border-radius: 0; | ||
| + | } | ||
| + | |||
| + | div#left-navigation div.vectorTabs ul li:last-child | ||
| + | { | ||
| + | border-top-right-radius:0.5em; | ||
| + | } | ||
| + | |||
| + | div.vectorTabs a span | ||
| + | { | ||
| + | padding-top: 0; | ||
| + | line-height: 2.5em; | ||
| + | } | ||
| + | |||
| + | #left-navigation | ||
| + | { | ||
| + | top: 2.5em; | ||
| + | left: 10em !important; | ||
| + | margin: -1px 0 0 !important; | ||
| + | position: absolute; | ||
| + | } | ||
| + | |||
| + | #right-navigation | ||
| + | { | ||
| + | top: 2.5em; | ||
| + | margin-top: -1px; | ||
| + | position: absolute; | ||
| + | right: 0; | ||
} | } | ||
Revision as of 21:48, 5 July 2016
/* CSS placed here will affect users of the Vector skin */
body {
background-color: #1a1a1a;
min-width: 500px;
}
#pageWrapper {
margin-right: 10px;
}
div#content {
background-color: #FFFFFF;
background-image: none;
border-left: 1px solid #1a1a1a;
box-sizing: border-box;
color: #000000;
}
h1, h2, h3, h4, h5, h6 {
color: #2D2723;
}
div#mw-page-base {
background: transparent;
}
div#mw-head-base {
background: transparent;
}
div#mw-panel div.portal {
background-image: url("http://i.imgur.com/VNxqRL2.png");
background-position: left top;
background-repeat: no-repeat;
direction: ltr;
margin: 0 0.6em 0 0.7em;
padding: 0.25em 0;
}
div#mw-panel div.portal h3,
#mw-panel.collapsible-nav .portal h3 a,
#mw-panel.collapsible-nav .portal.collapsed h3 a {
color: #ffffcc;
}
div#mw-panel div.portal div.body ul li a:visited {
color: #DDDDDD;
}
div#mw-panel div.portal div.body ul li a {
color: #DDDDDD;
}
div#mw-panel div.portal div.body,
#mw-panel.collapsible-nav .portal {
border-bottom:;
}
div#mw-panel.collapsible-nav div#p-socialProfiles.portal,
#mw-panel.collapsible-nav #p-sitePromos.portal {
background-image: none;
}
div#footer ul li {
color: #eae8d3;
}
div#footer a {
color: #E4C62E;
}
table {
font-size: 100%;
color: #2D2723;
/* we don't want the bottom borders of <h2>s to be visible through
* floated tables */
background-color: transparent;
}
/* tabs */
div.vectorTabs li a, div.vectorTabs li a:visited, div.vectorMenu li a, #p-cactions-label
{
text-decoration: none;
font-size: 0.75em;
}
div.vectorTabs
{
padding: 0;
background-color:transparent;
background-image: none;
}
div.vectorTabs span
{
overflow: hidden;
height: 1.875em;
background: transparent;
}
#right-navigation, #left-navigation
{
padding: 1px 0 0;
z-index: 3;
}
#right-navigation div.vectorTabs
{
margin: 0px;
}
div.vectorMenu
{
height: 1.875em;
margin-top: 0;
background-color: #eee;
border: 1px solid #ccc;
}
#mw-navigation #mw-head div.vectorMenu h3
{
height: 1.875em;
}
#mw-navigation div.vectorMenu h3 a
{
background-position: 100% 50%;
}
#mw-navigation div.vectorMenu h3 span
{
display: inline-block;
height: 100%;
line-height: 2.3em;
padding: 0 0.25em 0 0.8em;
}
#mw-navigation div.vectorMenu div.menu
{
top: 1.875em;
border: none;
left: 0;
}
div.vectorMenu ul
{
margin-left: -1px;
background-color: #eee;
border: solid 1px #ccc;
}
div.vectorMenu li a
{
height: 1.4em;
line-height:1.53846em;
}
div.vectorTabs ul li
{
height: 1.875em;
line-height: 0;
margin: 0 -1px 0 0;
background-image: none;
background-color:#eee;
border:1px solid #ccc;
}
div.vectorTabs ul li:first-child
{
border-top-left-radius:0.5em;
}
div.vectorTabs ul li:hover, div.vectorMenu ul li:hover, div.vectorMenu:hover
{
background-color:#f8f8f8;
}
div.vectorTabs li a
{
height: 1.4em;
padding-left: 0.8em;
padding-right: 0.8em;
background-image: none;
}
div.vectorTabs li.selected
{
background-color: #fff;
border: 1px solid #ccc;
border-bottom-width: 0;
padding-bottom: 1px;
margin: 0 -1px 0 0;
}
div.vectorTabs li.selected a span
{
margin-top: 0px;
}
div#left-navigation div.vectorTabs li.selected
{
border-radius: 0.5em 0 0 0;
}
div#left-navigation div.vectorTabs li + li.selected
{
border-radius: 0;
}
div#left-navigation div.vectorTabs ul li:last-child
{
border-top-right-radius:0.5em;
}
div.vectorTabs a span
{
padding-top: 0;
line-height: 2.5em;
}
#left-navigation
{
top: 2.5em;
left: 10em !important;
margin: -1px 0 0 !important;
position: absolute;
}
#right-navigation
{
top: 2.5em;
margin-top: -1px;
position: absolute;
right: 0;
}