Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
} | } | ||
− | |||
.portal, .toctext, .tocnumber { | .portal, .toctext, .tocnumber { | ||
font-size: 1.2em; | font-size: 1.2em; | ||
} | } | ||
− | |||
html, body, div, span, applet, object, iframe, | html, body, div, span, applet, object, iframe, | ||
Line 32: | Line 30: | ||
menu, nav, output, ruby, section, summary, | menu, nav, output, ruby, section, summary, | ||
time, mark, audio, video { | time, mark, audio, video { | ||
− | + | margin: 0; | |
padding: 0; | padding: 0; | ||
− | border: 0; | + | border: 0; |
font-size: 100%; | font-size: 100%; | ||
− | + | font: inherit; | |
− | vertical-align: baseline; | + | vertical-align: baseline; |
} | } | ||
/* HTML5 display-role reset for older browsers */ | /* HTML5 display-role reset for older browsers */ | ||
Line 43: | Line 41: | ||
footer, header, hgroup, menu, nav, section { | footer, header, hgroup, menu, nav, section { | ||
display: block; | display: block; | ||
+ | } | ||
+ | body { | ||
+ | line-height: 1; | ||
+ | } | ||
+ | ol, ul { | ||
+ | list-style: none; | ||
+ | } | ||
+ | blockquote, q { | ||
+ | quotes: none; | ||
+ | } | ||
+ | blockquote:before, blockquote:after, | ||
+ | q:before, q:after { | ||
+ | content: ''; | ||
+ | content: none; | ||
+ | } | ||
+ | table { | ||
+ | border-collapse: collapse; | ||
+ | border-spacing: 0; | ||
} | } |
Revision as of 06:55, 30 June 2014
/* CSS placed here will be applied to all skins */
#mw-panel.collapsible-nav .portal.first h3 {
display: block;
}
body {
background: url("/wiki/skins/common/images/bg.jpg") no-repeat scroll 0 0 #f9f9f9;
}
#mw-page-base {
background: transparent ! important;
}
.portal, .toctext, .tocnumber {
font-size: 1.2em;
}
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}