AJAXify watchlist editor
[mediawiki.git] / skins / common / commonElements.css
blob02fd29fe20f4528a5bac622dcad93953836c12fd
1 /**
2 * MediaWiki style sheet for general styles on basic content elements
3 * This style sheet is used by the monobook and vector skins
4 */
6 /* Links */
7 a {
8 text-decoration: none;
9 color: #0645ad;
10 background: none;
12 a:visited {
13 color: #0b0080;
15 a:active {
16 color: #faa700;
18 a:hover, a:focus {
19 text-decoration: underline;
21 a.stub {
22 color: #772233;
24 a.new, #p-personal a.new {
25 color: #ba0000;
27 a.new:visited, #p-personal a.new:visited {
28 color: #a55858;
31 /* Interwiki Styling */
32 .mw-body a.extiw,
33 .mw-body a.extiw:active {
34 color: #36b;
36 .mw-body a.extiw:visited {
37 color: #636;
39 .mw-body a.extiw:active {
40 color: #b63;
43 /* External links */
44 .mw-body a.external {
45 color: #36b;
47 .mw-body a.external:visited {
48 color: #636; /* bug 3112 */
50 .mw-body a.external:active {
51 color: #b63;
54 /* Inline Elements */
55 img {
56 border: none;
57 vertical-align: middle;
59 hr {
60 height: 1px;
61 color: #aaa;
62 background-color: #aaa;
63 border: 0;
64 margin: .2em 0;
67 /* Structural Elements */
68 h1,
69 h2,
70 h3,
71 h4,
72 h5,
73 h6 {
74 color: black;
75 background: none;
76 font-weight: normal;
77 margin: 0;
78 overflow: hidden;
79 padding-top: .5em;
80 padding-bottom: .17em;
81 border-bottom: 1px solid #aaa;
83 h1 {
84 font-size: 188%;
86 h1 .editsection {
87 font-size: 53%;
89 h2 {
90 font-size: 150%;
92 h2 .editsection {
93 font-size: 67%;
95 h3,
96 h4,
97 h5,
98 h6 {
99 border-bottom: none;
100 font-weight: bold;
102 h3 {
103 font-size: 132%;
105 h3 .editsection {
106 font-size: 76%;
107 font-weight: normal;
109 h4 {
110 font-size: 116%;
112 h4 .editsection {
113 font-size: 86%;
114 font-weight: normal; }
115 h5 {
116 font-size: 100%;
118 h5 .editsection {
119 font-weight: normal;
121 h6 {
122 font-size: 80%;
124 h6 .editsection {
125 font-size: 125%;
126 font-weight: normal;
129 /* Some space under the headers in the content area */
131 h2 {
132 margin-bottom: .6em;
136 h5 {
137 margin-bottom: .3em;
141 margin: .4em 0 .5em 0;
142 line-height: 1.5em;
144 p img {
145 margin: 0;
148 ul {
149 line-height: 1.5em;
150 list-style-type: square;
151 margin: .3em 0 0 1.6em;
152 padding: 0;
154 ol {
155 line-height: 1.5em;
156 margin: .3em 0 0 3.2em;
157 padding: 0;
158 list-style-image: none;
160 li {
161 margin-bottom: .1em;
163 dt {
164 font-weight: bold;
165 margin-bottom: .1em;
167 dl {
168 margin-top: .2em;
169 margin-bottom: .5em;
171 dd {
172 line-height: 1.5em;
173 margin-left: 1.6em;
174 margin-bottom: .1em;
178 font-family: Times, "Times New Roman", serif;
179 font-style: italic;
181 /* Disabled for now
182 blockquote {
183 font-family: Times, "Times New Roman", serif;
184 font-style: italic;
186 pre, code, tt, kbd, samp, .mw-code {
188 * Some browsers will render the monospace text too small, namely Firefox, Chrome and Safari.
189 * Specifying any valid, second value will trigger correct behaviour without forcing a different font.
191 font-family: monospace, Courier;
193 code {
194 background-color: #f9f9f9;
196 pre, .mw-code {
197 padding: 1em;
198 border: 1px dashed #2f6fab;
199 color: black;
200 background-color: #f9f9f9;
203 /* Tables */
204 table {
205 font-size: 100%;
208 /* Forms */
209 fieldset {
210 border: 1px solid #2f6fab;
211 margin: 1em 0 1em 0;
212 padding: 0 1em 1em;
213 line-height: 1.5em;
215 fieldset.nested {
216 margin: 0 0 0.5em 0;
217 padding: 0 0.5em 0.5em;
219 legend {
220 padding: .5em;
221 font-size: 95%;
223 form {
224 border: none;
225 margin: 0;
227 textarea {
228 width: 100%;
229 padding: .1em;
231 select {
232 vertical-align: top;
235 /* Emulate Center */
236 .center {
237 width: 100%;
238 text-align: center;
240 *.center * {
241 margin-left: auto;
242 margin-right: auto;
244 /* Small for tables and similar */
245 .small {
246 font-size: 94%;
248 table.small {
249 font-size: 100%;