MediaWiki:Vector.css: Difference between revisions
Jump to navigation
Jump to search
FlyingRagnar (talk | contribs) (Created page with "→CSS placed here will affect users of the Vector skin: →styles for header background: html, body { background: #f3f3f3 url(http://dragon-quest.org/images/3/36/He...") |
FlyingRagnar (talk | contribs) No edit summary |
||
| Line 9: | Line 9: | ||
background-image:none; | background-image:none; | ||
} | } | ||
/* Inline list styles for Vector skin (left-to-right languages only) */ | |||
.mw-content-ltr .inline-list, .inline-list ul, .inline-list ol { | |||
margin:0.5em 0; | |||
overflow-x:hidden; | |||
list-style-type:none; | |||
} | |||
.inline-list li { | |||
display:inline; | |||
margin:0 1.18em 0 0; | |||
white-space:nowrap; | |||
} | |||
.inline-list li + li { | |||
margin-left:-1.18em; | |||
} | |||
.inline-list li + li:before { | |||
content:"\a0•\a0"; | |||
} | |||
/*** Navigation styles for Vector skin ***************************** | |||
*******************************************************************/ | |||
.navbox-header { | |||
margin:2px 2px 0; | |||
} | |||
.navbox-body { | |||
display:table; | |||
width:100%; | |||
border-spacing:2px; | |||
} | |||
.navbox-section { | |||
display:table-row; | |||
} | |||
.navbox-subheader { | |||
display:table-cell; | |||
vertical-align:middle; | |||
padding:2px 5px 2px 55px; | |||
white-space:nowrap; | |||
text-align:right; | |||
} | |||
.navbox-content { | |||
display:table-cell; | |||
padding:2px 2px 2px 5px; | |||
} | |||
/* | |||
* custom styles for navigation templates | |||
* Note: these groups of style classes exist as a set | |||
* for a particular 'theme' of nav bars. | |||
* for example, navMainSeries is the default 'theme' | |||
*/ | |||
.navbox-section:nth-child(even) .navMainSeriesContent { | |||
background: #EAEFFA; | |||
} | |||
/*** End of navigation styles ********************************** | |||
***************************************************************/ | |||
Revision as of 03:10, 2 December 2015
/* CSS placed here will affect users of the Vector skin */
/* styles for header background */
html, body {
background: #f3f3f3 url(http://dragon-quest.org/images/3/36/Header_back.png) repeat-x;
}
#mw-page-base {
background-color: transparent;
background-image:none;
}
/* Inline list styles for Vector skin (left-to-right languages only) */
.mw-content-ltr .inline-list, .inline-list ul, .inline-list ol {
margin:0.5em 0;
overflow-x:hidden;
list-style-type:none;
}
.inline-list li {
display:inline;
margin:0 1.18em 0 0;
white-space:nowrap;
}
.inline-list li + li {
margin-left:-1.18em;
}
.inline-list li + li:before {
content:"\a0•\a0";
}
/*** Navigation styles for Vector skin *****************************
*******************************************************************/
.navbox-header {
margin:2px 2px 0;
}
.navbox-body {
display:table;
width:100%;
border-spacing:2px;
}
.navbox-section {
display:table-row;
}
.navbox-subheader {
display:table-cell;
vertical-align:middle;
padding:2px 5px 2px 55px;
white-space:nowrap;
text-align:right;
}
.navbox-content {
display:table-cell;
padding:2px 2px 2px 5px;
}
/*
* custom styles for navigation templates
* Note: these groups of style classes exist as a set
* for a particular 'theme' of nav bars.
* for example, navMainSeries is the default 'theme'
*/
.navbox-section:nth-child(even) .navMainSeriesContent {
background: #EAEFFA;
}
/*** End of navigation styles **********************************
***************************************************************/