Localisation updates from https://translatewiki.net.
[mediawiki.git] / skins / common / commonElements.css
blob7b2cc4059a78bd27fc1df80e93ffc5fe6c80fb49
1 /**
2 * MediaWiki style sheet for general styles on basic content elements
4 * Styles for basic elements: links, lists, etc...
6 * This style sheet is used by the Monobook and Vector skins.
7 */
9 /* Links */
10 a {
11 text-decoration: none;
12 color: #0645ad;
13 background: none;
16 a:visited {
17 color: #0b0080;
20 a:active {
21 color: #faa700;
24 a:hover, a:focus {
25 text-decoration: underline;
28 a.stub {
29 color: #772233;
32 a.new, #p-personal a.new {
33 color: #ba0000;
36 a.new:visited, #p-personal a.new:visited {
37 color: #a55858;
40 /* Interwiki Styling */
41 .mw-body a.extiw,
42 .mw-body a.extiw:active {
43 color: #36b;
46 .mw-body a.extiw:visited {
47 color: #636;
50 .mw-body a.extiw:active {
51 color: #b63;
54 /* External links */
55 .mw-body a.external {
56 color: #36b;
59 .mw-body a.external:visited {
60 color: #636; /* bug 3112 */
63 .mw-body a.external:active {
64 color: #b63;
67 /* Inline Elements */
68 img {
69 border: none;
70 vertical-align: middle;
73 hr {
74 height: 1px;
75 color: #aaa;
76 background-color: #aaa;
77 border: 0;
78 margin: .2em 0;
81 /* Structural Elements */
82 h1,
83 h2,
84 h3,
85 h4,
86 h5,
87 h6 {
88 color: black;
89 background: none;
90 font-weight: normal;
91 margin: 0;
92 overflow: hidden;
93 padding-top: .5em;
94 padding-bottom: .17em;
95 border-bottom: 1px solid #aaa;
98 h1 {
99 font-size: 188%;
102 h2 {
103 font-size: 150%;
109 h6 {
110 border-bottom: none;
111 font-weight: bold;
114 h3 {
115 font-size: 132%;
118 h4 {
119 font-size: 116%;
122 h5 {
123 font-size: 108%;
126 h6 {
127 font-size: 100%;
130 /* Some space under the headers in the content area */
132 h2 {
133 margin-bottom: .6em;
138 h5 {
139 margin-bottom: .3em;
143 margin: .4em 0 .5em 0;
144 line-height: 1.5em;
147 p img {
148 margin: 0;
151 ul {
152 line-height: 1.5em;
153 list-style-type: square;
154 margin: .3em 0 0 1.6em;
155 padding: 0;
158 ol {
159 line-height: 1.5em;
160 margin: .3em 0 0 3.2em;
161 padding: 0;
162 list-style-image: none;
165 li {
166 margin-bottom: .1em;
169 dt {
170 font-weight: bold;
171 margin-bottom: .1em;
174 dl {
175 margin-top: .2em;
176 margin-bottom: .5em;
179 dd {
180 line-height: 1.5em;
181 margin-left: 1.6em;
182 margin-bottom: .1em;
185 /* IE 6 and 7 lack support for quotes aroud the <q> element ('::before' and '::after'
186 pseudoelements, 'quotes' property). Let's italicize it instead (using the star hack). */
188 *font-style: italic;
191 pre, code, tt, kbd, samp, .mw-code {
193 * Some browsers will render the monospace text too small, namely Firefox, Chrome and Safari.
194 * Specifying any valid, second value will trigger correct behavior without forcing a different font.
196 font-family: monospace, Courier;
199 code {
200 background-color: #f9f9f9;
203 pre, .mw-code {
204 padding: 1em;
205 border: 1px solid #ddd;
206 color: black;
207 background-color: #f9f9f9;
210 /* Tables */
211 table {
212 font-size: 100%;
215 /* Forms */
216 fieldset {
217 border: 1px solid #2f6fab;
218 margin: 1em 0 1em 0;
219 padding: 0 1em 1em;
220 line-height: 1.5em;
223 fieldset.nested {
224 margin: 0 0 0.5em 0;
225 padding: 0 0.5em 0.5em;
228 legend {
229 padding: .5em;
230 font-size: 95%;
233 form {
234 border: none;
235 margin: 0;
238 textarea {
239 width: 100%;
240 padding: .1em;
241 display: block;
242 -moz-box-sizing: border-box;
243 -webkit-box-sizing: border-box;
244 box-sizing: border-box;
247 select {
248 vertical-align: top;
251 /* Emulate Center */
252 .center {
253 width: 100%;
254 text-align: center;
257 *.center * {
258 margin-left: auto;
259 margin-right: auto;
262 /* Small for tables and similar */
263 .small {
264 font-size: 94%;
267 table.small {
268 font-size: 100%;