linting: Start enforcing a basic CSS class naming rule (with lots of opt-outs)
[lhc/web/wiklou.git] / resources / src / mediawiki.skinning / interface.css
1 /**
2 * MediaWiki style sheet for common core styles on interfaces
3 *
4 * Styles for the Monobook/Vector pattern of laying out common interfaces.
5 * These ids/classes are not built into the system,
6 * they are outputted by the actual MonoBook/Vector code by convention.
7 */
8
9 /* stylelint-disable selector-class-pattern */
10
11 /* Categories */
12 .catlinks {
13 border: 1px solid #a2a9b1;
14 background-color: #f8f9fa;
15 padding: 5px;
16 margin-top: 1em;
17 clear: both;
18 }
19
20 textarea {
21 /* Support: Firefox */
22 /* Border rule required to override system appearance on Linux (T136415) */
23 border: 1px solid #c8ccd1;
24 }
25
26 .editOptions {
27 background-color: #eaecf0;
28 color: #222;
29 border: 1px solid #c8ccd1;
30 border-top: 0;
31 padding: 1em 1em 1.5em 1em;
32 margin-bottom: 2em;
33 }
34
35 .usermessage {
36 background-color: #ffce7b;
37 border: 1px solid #ffa500;
38 color: #000;
39 font-weight: bold;
40 margin: 2em 0 1em;
41 padding: 0.5em 1em;
42 vertical-align: middle;
43 }
44
45 #siteNotice {
46 position: relative;
47 text-align: center;
48 margin: 0;
49 }
50
51 #localNotice {
52 margin-bottom: 0.9em;
53 }
54
55 .firstHeading {
56 margin-bottom: 0.1em;
57 /* These two rules hack around T4013 (fix for more limited T13325).
58 * When T4013 is fixed properly, they should be removed. */
59 line-height: 1.2em;
60 padding-bottom: 0;
61 }
62
63 /* Sub-navigation */
64 #siteSub {
65 display: none;
66 }
67
68 #contentSub,
69 #contentSub2 {
70 font-size: 84%;
71 line-height: 1.2em;
72 margin: 0 0 1.4em 1em;
73 color: #54595d;
74 width: auto;
75 }
76
77 span.subpages {
78 display: block;
79 }