[FileBackend] Added some basic directory functions.
[lhc/web/wiklou.git] / skins / common / commonElements.css
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 */
5
6 /* Links */
7 a {
8 text-decoration: none;
9 color: #0645ad;
10 background: none;
11 }
12 a:visited {
13 color: #0b0080;
14 }
15 a:active {
16 color: #faa700;
17 }
18 a:hover, a:focus {
19 text-decoration: underline;
20 }
21 a.stub {
22 color: #772233;
23 }
24 a.new, #p-personal a.new {
25 color: #ba0000;
26 }
27 a.new:visited, #p-personal a.new:visited {
28 color: #a55858;
29 }
30
31 /* Interwiki Styling */
32 .mw-body a.extiw,
33 .mw-body a.extiw:active {
34 color: #36b;
35 }
36 .mw-body a.extiw:visited {
37 color: #636;
38 }
39 .mw-body a.extiw:active {
40 color: #b63;
41 }
42
43 /* External links */
44 .mw-body a.external {
45 color: #36b;
46 }
47 .mw-body a.external:visited {
48 color: #636; /* bug 3112 */
49 }
50 .mw-body a.external:active {
51 color: #b63;
52 }
53
54 /* Inline Elements */
55 img {
56 border: none;
57 vertical-align: middle;
58 }
59 hr {
60 height: 1px;
61 color: #aaa;
62 background-color: #aaa;
63 border: 0;
64 margin: .2em 0;
65 }
66
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;
82 width: auto;
83 }
84 h1 {
85 font-size: 188%;
86 }
87 h1 .editsection {
88 font-size: 53%;
89 }
90 h2 {
91 font-size: 150%;
92 }
93 h2 .editsection {
94 font-size: 67%;
95 }
96 h3,
97 h4,
98 h5,
99 h6 {
100 border-bottom: none;
101 font-weight: bold;
102 }
103 h3 {
104 font-size: 132%;
105 }
106 h3 .editsection {
107 font-size: 76%;
108 font-weight: normal;
109 }
110 h4 {
111 font-size: 116%;
112 }
113 h4 .editsection {
114 font-size: 86%;
115 font-weight: normal; }
116 h5 {
117 font-size: 100%;
118 }
119 h5 .editsection {
120 font-weight: normal;
121 }
122 h6 {
123 font-size: 80%;
124 }
125 h6 .editsection {
126 font-size: 125%;
127 font-weight: normal;
128 }
129
130 /* Some space under the headers in the content area */
131 h1,
132 h2 {
133 margin-bottom: .6em;
134 }
135 h3,
136 h4,
137 h5 {
138 margin-bottom: .3em;
139 }
140
141 p {
142 margin: .4em 0 .5em 0;
143 line-height: 1.5em;
144 }
145 p img {
146 margin: 0;
147 }
148
149 ul {
150 line-height: 1.5em;
151 list-style-type: square;
152 margin: .3em 0 0 1.6em;
153 padding: 0;
154 }
155 ol {
156 line-height: 1.5em;
157 margin: .3em 0 0 3.2em;
158 padding: 0;
159 list-style-image: none;
160 }
161 li {
162 margin-bottom: .1em;
163 }
164 dt {
165 font-weight: bold;
166 margin-bottom: .1em;
167 }
168 dl {
169 margin-top: .2em;
170 margin-bottom: .5em;
171 }
172 dd {
173 line-height: 1.5em;
174 margin-left: 1.6em;
175 margin-bottom: .1em;
176 }
177
178 q {
179 font-family: Times, "Times New Roman", serif;
180 font-style: italic;
181 }
182 /* Disabled for now
183 blockquote {
184 font-family: Times, "Times New Roman", serif;
185 font-style: italic;
186 }*/
187 pre, code, tt, kbd, samp {
188 /*
189 * Some browsers will render the monospace text too small, namely Firefox, Chrome and Safari.
190 * Specifying any valid, second value will trigger correct behaviour without forcing a different font.
191 */
192 font-family: monospace, Courier;
193 }
194 code {
195 background-color: #f9f9f9;
196 }
197 pre {
198 padding: 1em;
199 border: 1px dashed #2f6fab;
200 color: black;
201 background-color: #f9f9f9;
202 }
203
204 /* Tables */
205 table {
206 font-size: 100%;
207 }
208
209 /* Forms */
210 fieldset {
211 border: 1px solid #2f6fab;
212 margin: 1em 0 1em 0;
213 padding: 0 1em 1em;
214 line-height: 1.5em;
215 }
216 fieldset.nested {
217 margin: 0 0 0.5em 0;
218 padding: 0 0.5em 0.5em;
219 }
220 legend {
221 padding: .5em;
222 font-size: 95%;
223 }
224 form {
225 border: none;
226 margin: 0;
227 }
228 textarea {
229 width: 100%;
230 padding: .1em;
231 }
232 select {
233 vertical-align: top;
234 }
235
236 /* Emulate Center */
237 .center {
238 width: 100%;
239 text-align: center;
240 }
241 *.center * {
242 margin-left: auto;
243 margin-right: auto;
244 }
245 /* Small for tables and similar */
246 .small {
247 font-size: 94%;
248 }
249 table.small {
250 font-size: 100%;
251 }
252