Implement extension registration from an extension.json file
[mediawiki.git] / resources / src / mediawiki.skinning / elements.css
blob11962f8d8cd9abf70c13568704d7e4a0bbac4c8a
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: 128%;
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 color: black;
201 background-color: #f9f9f9;
202 border: 1px solid #ddd;
203 border-radius: 2px;
204 padding: 1px 4px;
207 pre, .mw-code {
208 color: black;
209 background-color: #f9f9f9;
210 border: 1px solid #ddd;
211 padding: 1em;
214 /* Tables */
215 table {
216 font-size: 100%;
219 /* Forms */
220 fieldset {
221 border: 1px solid #2f6fab;
222 margin: 1em 0 1em 0;
223 padding: 0 1em 1em;
224 line-height: 1.5em;
227 fieldset.nested {
228 margin: 0 0 0.5em 0;
229 padding: 0 0.5em 0.5em;
232 legend {
233 padding: .5em;
234 font-size: 95%;
237 form {
238 border: none;
239 margin: 0;
242 textarea {
243 width: 100%;
244 padding: .1em;
245 display: block;
246 -moz-box-sizing: border-box;
247 -webkit-box-sizing: border-box;
248 box-sizing: border-box;
251 select {
252 vertical-align: top;
255 /* Emulate Center */
256 .center {
257 width: 100%;
258 text-align: center;
261 *.center * {
262 margin-left: auto;
263 margin-right: auto;
266 /* Small for tables and similar */
267 .small {
268 font-size: 94%;
271 table.small {
272 font-size: 100%;