Merge "Improve sorting on SpecialWanted*-Pages"
[mediawiki.git] / resources / src / mediawiki.skinning / elements.css
blobd204d5d5ac95a497540573ef330b0e6b2879b7af
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:not( [href] ) {
17 cursor: pointer; /* Always cursor:pointer even without href */
20 a:visited {
21 color: #0b0080;
24 a:active {
25 color: #faa700;
28 a:hover,
29 a:focus {
30 text-decoration: underline;
33 a:lang( ar ),
34 a:lang( kk-arab ),
35 a:lang( mzn ),
36 a:lang( ps ),
37 a:lang( ur ) {
38 text-decoration: none;
41 a.stub {
42 color: #723;
45 a.new,
46 #p-personal a.new {
47 color: #ba0000;
50 a.new:visited,
51 #p-personal a.new:visited {
52 color: #a55858;
55 /* Interwiki Styling */
56 .mw-body-content a.extiw,
57 .mw-body-content a.extiw:active {
58 color: #36b;
61 .mw-body-content a.extiw:visited {
62 color: #636;
65 .mw-body-content a.extiw:active {
66 color: #b63;
69 /* External links */
70 .mw-body-content a.external {
71 color: #36b;
74 .mw-body-content a.external:visited {
75 color: #636; /* T5112 */
78 .mw-body-content a.external:active {
79 color: #b63;
82 .mw-body-content a.external.free {
83 word-wrap: break-word;
86 /* Inline Elements */
87 img {
88 border: 0;
89 vertical-align: middle;
92 hr {
93 height: 1px;
94 color: #a2a9b1;
95 background-color: #a2a9b1;
96 border: 0;
97 margin: 0.2em 0;
100 /* Structural Elements */
106 h6 {
107 color: #000;
108 background: none;
109 font-weight: normal;
110 margin: 0;
111 overflow: hidden;
112 padding-top: 0.5em;
113 padding-bottom: 0.17em;
114 border-bottom: 1px solid #a2a9b1;
117 h1 {
118 font-size: 188%;
121 h2 {
122 font-size: 150%;
128 h6 {
129 border-bottom: 0;
130 font-weight: bold;
133 h3 {
134 font-size: 128%;
137 h4 {
138 font-size: 116%;
141 h5 {
142 font-size: 108%;
145 h6 {
146 font-size: 100%;
149 /* Some space under the headers in the content area */
151 h2 {
152 margin-bottom: 0.6em;
157 h5 {
158 margin-bottom: 0.3em;
162 margin: 0.4em 0 0.5em 0;
165 p img {
166 margin: 0;
169 ul {
170 list-style-type: square;
171 margin: 0.3em 0 0 1.6em;
172 padding: 0;
175 ol {
176 margin: 0.3em 0 0 3.2em;
177 padding: 0;
178 list-style-image: none;
181 li {
182 margin-bottom: 0.1em;
185 dt {
186 font-weight: bold;
187 margin-bottom: 0.1em;
190 dl {
191 margin-top: 0.2em;
192 margin-bottom: 0.5em;
195 dd {
196 margin-left: 1.6em;
197 margin-bottom: 0.1em;
200 pre,
201 code,
203 kbd,
204 samp,
205 .mw-code {
207 * Some browsers will render the monospace text too small, namely Firefox, Chrome and Safari.
208 * Specifying any valid, second value will trigger correct behavior without forcing a different font.
210 font-family: monospace, 'Courier';
213 code {
214 color: #000;
215 background-color: #f8f9fa;
216 border: 1px solid #eaecf0;
217 border-radius: 2px;
218 padding: 1px 4px;
221 pre,
222 .mw-code {
223 color: #000;
224 background-color: #f8f9fa;
225 border: 1px solid #eaecf0;
226 padding: 1em;
227 /* Wrap lines in overflow. T2260, T103780 */
228 white-space: pre-wrap;
231 /* Tables */
232 table {
233 font-size: 100%;
236 /* Forms */
237 fieldset {
238 border: 1px solid #2a4b8d;
239 margin: 1em 0 1em 0;
240 padding: 0 1em 1em;
243 fieldset.nested {
244 margin: 0 0 0.5em 0;
245 padding: 0 0.5em 0.5em;
248 legend {
249 padding: 0.5em;
250 font-size: 95%;
253 form {
254 border: 0;
255 margin: 0;
258 textarea {
259 width: 100%;
260 padding: 0.1em;
261 display: block;
262 -moz-box-sizing: border-box;
263 -webkit-box-sizing: border-box;
264 box-sizing: border-box;
267 /* Emulate Center */
268 .center {
269 width: 100%;
270 text-align: center;
273 *.center * {
274 margin-left: auto;
275 margin-right: auto;
278 /* Small for tables and similar */
279 .small {
280 font-size: 94%;
283 table.small {
284 font-size: 100%;