Fix Bug #31547 - Category links need less spacing and better wrapping
[lhc/web/wiklou.git] / skins / common / commonContent.css
1 /*
2 ** MediaWiki style sheet for general styles on complex content
3 */
4
5 /* Table of Contents */
6 #toc,
7 .toc,
8 .mw-warning {
9 border: 1px solid #aaa;
10 background-color: #f9f9f9;
11 padding: 5px;
12 font-size: 95%;
13 }
14 #toc h2,
15 .toc h2 {
16 display: inline;
17 border: none;
18 padding: 0;
19 font-size: 100%;
20 font-weight: bold;
21 }
22 #toc #toctitle,
23 .toc #toctitle,
24 #toc .toctitle,
25 .toc .toctitle {
26 text-align: center;
27 }
28 #toc ul,
29 .toc ul {
30 list-style-type: none;
31 list-style-image: none;
32 margin-left: 0;
33 padding: 0;
34 text-align: left;
35 }
36 #toc ul ul,
37 .toc ul ul {
38 margin: 0 0 0 2em;
39 }
40 #toc .toctoggle,
41 .toc .toctoggle {
42 font-size: 94%;
43 }
44
45 .toccolours {
46 border: 1px solid #aaa;
47 background-color: #f9f9f9;
48 padding: 5px;
49 font-size: 95%;
50 }
51
52 /* Warning */
53 .mw-warning {
54 margin-left: 50px;
55 margin-right: 50px;
56 text-align: center;
57 }
58
59 /* Images */
60 /* @noflip */div.floatright, table.floatright {
61 margin: 0 0 .5em .5em;
62 border: 0;
63 }
64 div.floatright p { font-style: italic; }
65 /* @noflip */div.floatleft, table.floatleft {
66 margin: 0 .5em .5em 0;
67 border: 0;
68 }
69 div.floatleft p { font-style: italic; }
70 /* Thumbnails */
71 div.thumb {
72 margin-bottom: .5em;
73 width: auto;
74 background-color: transparent;
75 }
76 div.thumbinner {
77 border: 1px solid #ccc;
78 padding: 3px !important;
79 background-color: #f9f9f9;
80 font-size: 94%;
81 text-align: center;
82 overflow: hidden;
83 }
84 html .thumbimage {
85 border: 1px solid #ccc;
86 }
87 html .thumbcaption {
88 border: none;
89 text-align: left;
90 line-height: 1.4em;
91 padding: 3px !important;
92 font-size: 94%;
93 }
94 div.magnify {
95 float: right;
96 border: none !important;
97 background: none !important;
98 }
99 div.magnify a, div.magnify img {
100 display: block;
101 border: none !important;
102 background: none !important;
103 }
104 /* @noflip */div.tright {
105 margin: .5em 0 1.3em 1.4em;
106 }
107 /* @noflip */div.tleft {
108 margin: .5em 1.4em 1.3em 0;
109 }
110 img.thumbborder {
111 border: 1px solid #dddddd;
112 }
113
114 /**
115 * Basic styles for the user login and create account forms
116 */
117 #userlogin, #userloginForm {
118 border: solid 1px #cccccc;
119 padding: 1.2em;
120 margin: .5em;
121 float: left;
122 }
123
124 #userlogin {
125 min-width: 20em;
126 max-width: 90%;
127 width: 40em;
128 }
129