Remove the basic styles that vector coppied from monobook from both monobook and...
[lhc/web/wiklou.git] / skins / common / commonElements.css
1 /*
2 ** MediaWiki style sheet for general styles on basic content elements
3 */
4
5 /* Links */
6 a {
7 text-decoration: none;
8 color: #0645ad;
9 background: none;
10 }
11 a:visited {
12 color: #0b0080;
13 }
14 a:active {
15 color: #faa700;
16 }
17 a:hover, a:focus {
18 text-decoration: underline;
19 }
20 a.stub {
21 color: #772233;
22 }
23 a.new, #p-personal a.new {
24 color: #ba0000;
25 }
26 a.new:visited, #p-personal a.new:visited {
27 color: #a55858;
28 }
29
30 /* Interwiki Styling */
31 .mw-body a.extiw,
32 .mw-body a.extiw:active {
33 color: #59e;
34 /* Don't show icons for interwiki links */
35 background: none;
36 padding: 0;
37 }
38 .mw-body a.extiw:visited {
39 color: #636;
40 }
41 .mw-body a.extiw:active {
42 color: #b63;
43 }
44
45 /* External links */
46 .mw-body a.external {
47 color: #59e;
48 }
49 .mw-body a.external:visited {
50 color: #636; /* bug 3112 */
51 }
52 .mw-body a.external:active {
53 color: #b63;
54 }
55
56 /* Inline Elements */
57 img {
58 border: none;
59 vertical-align: middle;
60 }
61 hr {
62 height: 1px;
63 color: #aaa;
64 background-color: #aaa;
65 border: 0;
66 margin: .2em 0;
67 }
68
69 /* Structural Elements */
70 h1,
71 h2,
72 h3,
73 h4,
74 h5,
75 h6 {
76 color: black;
77 background: none;
78 font-weight: normal;
79 margin: 0;
80 overflow: hidden;
81 padding-top: .5em;
82 padding-bottom: .17em;
83 border-bottom: 1px solid #aaa;
84 width: auto;
85 }
86 h1 { font-size: 188%; }
87 h1 .editsection { font-size: 53%; }
88 h2 { font-size: 150%; }
89 h2 .editsection { font-size: 67%; }
90 h3,
91 h4,
92 h5,
93 h6 {
94 border-bottom: none;
95 font-weight: bold;
96 }
97 h3 { font-size: 132%; }
98 h3 .editsection { font-size: 76%; font-weight: normal; }
99 h4 { font-size: 116%; }
100 h4 .editsection { font-size: 86%; font-weight: normal; }
101 h5 { font-size: 100%; }
102 h5 .editsection { font-weight: normal; }
103 h6 { font-size: 80%; }
104 h6 .editsection { font-size: 125%; font-weight: normal; }
105
106 p {
107 margin: .4em 0 .5em 0;
108 line-height: 1.5em;
109 }
110 p img {
111 margin: 0;
112 }
113
114 ul {
115 line-height: 1.5em;
116 list-style-type: square;
117 margin: .3em 0 0 1.5em;
118 padding: 0;
119 /* @embed */
120 list-style-image: url(images/bullet-icon.png);
121 }
122 ol {
123 line-height: 1.5em;
124 margin: .3em 0 0 3.2em;
125 padding: 0;
126 list-style-image: none;
127 }
128 li {
129 margin-bottom: .1em;
130 }
131 dt {
132 font-weight: bold;
133 margin-bottom: .1em;
134 }
135 dl {
136 margin-top: .2em;
137 margin-bottom: .5em;
138 }
139 dd {
140 line-height: 1.5em;
141 margin-left: 2em;
142 margin-bottom: .1em;
143 }
144
145 q {
146 font-family: Times, "Times New Roman", serif;
147 font-style: italic;
148 }
149 /* Disabled for now
150 blockquote {
151 font-family: Times, "Times New Roman", serif;
152 font-style: italic;
153 }*/
154 pre, code, tt, kbd, samp {
155 /*
156 * It's important for this rule to first reference an actual font name, some browsers will render the monospace text
157 * too small otherwise, namely Firefox, Chrome and Safari
158 */
159 font-family: monospace, "Courier New";
160 }
161 code {
162 background-color: #f9f9f9;
163 }
164 pre {
165 padding: 1em;
166 border: 1px dashed #2f6fab;
167 color: black;
168 background-color: #f9f9f9;
169 }
170
171 /* Tables */
172 table {
173 font-size: 100%;
174 }
175
176 /* Forms */
177 fieldset {
178 border: 1px solid #2f6fab;
179 margin: 1em 0 1em 0;
180 padding: 0 1em 1em;
181 line-height: 1.5em;
182 }
183 fieldset.nested {
184 margin: 0 0 0.5em 0;
185 padding: 0 0.5em 0.5em;
186 }
187 legend {
188 padding: .5em;
189 font-size: 95%;
190 }
191 form {
192 border: none;
193 margin: 0;
194 }
195 textarea {
196 width: 100%;
197 padding: .1em;
198 }
199 select {
200 vertical-align: top;
201 }
202
203 /* Emulate Center */
204 .center {
205 width: 100%;
206 text-align: center;
207 }
208 *.center * {
209 margin-left: auto;
210 margin-right: auto;
211 }
212 /* Small for tables and similar */
213 .small {
214 font-size: 94%;
215 }
216 table.small {
217 font-size: 100%;
218 }
219