Revert r95830's change to external and interwiki link colors.
[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: #36b;
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: #36b;
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 }
120 ol {
121 line-height: 1.5em;
122 margin: .3em 0 0 3.2em;
123 padding: 0;
124 list-style-image: none;
125 }
126 li {
127 margin-bottom: .1em;
128 }
129 dt {
130 font-weight: bold;
131 margin-bottom: .1em;
132 }
133 dl {
134 margin-top: .2em;
135 margin-bottom: .5em;
136 }
137 dd {
138 line-height: 1.5em;
139 margin-left: 2em;
140 margin-bottom: .1em;
141 }
142
143 q {
144 font-family: Times, "Times New Roman", serif;
145 font-style: italic;
146 }
147 /* Disabled for now
148 blockquote {
149 font-family: Times, "Times New Roman", serif;
150 font-style: italic;
151 }*/
152 pre, code, tt, kbd, samp {
153 /*
154 * It's important for this rule to first reference an actual font name, some browsers will render the monospace text
155 * too small otherwise, namely Firefox, Chrome and Safari
156 */
157 font-family: monospace, "Courier New";
158 }
159 code {
160 background-color: #f9f9f9;
161 }
162 pre {
163 padding: 1em;
164 border: 1px dashed #2f6fab;
165 color: black;
166 background-color: #f9f9f9;
167 }
168
169 /* Tables */
170 table {
171 font-size: 100%;
172 }
173
174 /* Forms */
175 fieldset {
176 border: 1px solid #2f6fab;
177 margin: 1em 0 1em 0;
178 padding: 0 1em 1em;
179 line-height: 1.5em;
180 }
181 fieldset.nested {
182 margin: 0 0 0.5em 0;
183 padding: 0 0.5em 0.5em;
184 }
185 legend {
186 padding: .5em;
187 font-size: 95%;
188 }
189 form {
190 border: none;
191 margin: 0;
192 }
193 textarea {
194 width: 100%;
195 padding: .1em;
196 }
197 select {
198 vertical-align: top;
199 }
200
201 /* Emulate Center */
202 .center {
203 width: 100%;
204 text-align: center;
205 }
206 *.center * {
207 margin-left: auto;
208 margin-right: auto;
209 }
210 /* Small for tables and similar */
211 .small {
212 font-size: 94%;
213 }
214 table.small {
215 font-size: 100%;
216 }
217