1 | /* $Id: content.css 866 2005-09-18 00:29:49Z plg $ */ |
---|
2 | #content { |
---|
3 | margin-left: 24em; |
---|
4 | margin-right: 1em; |
---|
5 | margin-bottom: 1em; /* when it's longer than menu bar */ |
---|
6 | } |
---|
7 | BODY#theAdminPage #content { |
---|
8 | margin-left: 14em; |
---|
9 | } |
---|
10 | |
---|
11 | BODY#theCommentsPage #content, |
---|
12 | BODY#theRegisterPage #content, |
---|
13 | BODY#theIdentificationPage #content, |
---|
14 | BODY#theProfilePage #content, |
---|
15 | BODY#theSearchPage #content, |
---|
16 | BODY#theAboutPage #content, |
---|
17 | BODY#thePopuphelpPage #content, |
---|
18 | BODY#thePasswordPage #content, |
---|
19 | BODY#theNotificationPage #content |
---|
20 | { |
---|
21 | margin: 1em; |
---|
22 | } |
---|
23 | |
---|
24 | #content H2 { |
---|
25 | margin-bottom: 1ex; |
---|
26 | } |
---|
27 | |
---|
28 | #content H3 { |
---|
29 | margin-bottom: 1ex; |
---|
30 | } |
---|
31 | |
---|
32 | #content UL.thumbnails { |
---|
33 | margin: 0; |
---|
34 | padding: 0; |
---|
35 | list-style: none; |
---|
36 | text-align: center; /* to center the whole collection in #content */ |
---|
37 | } |
---|
38 | #content UL.thumbnails LI { display: inline } |
---|
39 | |
---|
40 | #content UL.thumbnails SPAN { |
---|
41 | margin: 0 5px 5px 5px; |
---|
42 | /*width: 130px; 128px + 2 * 1px if the SPAN has a border of 1px */ |
---|
43 | width: 128px; /* we can use the same size as well */ |
---|
44 | display: table-cell; display: inline-table; display: inline-block; |
---|
45 | vertical-align: top; /* OK with Opera and IE6 not Geko */ |
---|
46 | text-align: center; /* to center the thumbnail and legend in Geko/Opera */ |
---|
47 | font-size: 80%; |
---|
48 | } |
---|
49 | #content UL.thumbnails SPAN SPAN { |
---|
50 | margin: 0; /* important reset the margins */ |
---|
51 | border: 1px solid #aaaaaa; |
---|
52 | width: 128px; /* fixed size again */ |
---|
53 | height: 128px; /* fixed size again */ |
---|
54 | display: table-cell; /* block prevents vertical-align here */ |
---|
55 | vertical-align: middle; /* Ok with Opera and Geko not IE6 */ |
---|
56 | } |
---|
57 | #content UL.thumbnails SPAN.wrap { |
---|
58 | border: none; |
---|
59 | height: auto; /* important for vertical centering */ |
---|
60 | display: block; /* important */ |
---|
61 | overflow: hidden; /* everridden by specific IE6 rule below */ |
---|
62 | margin-top: auto; /* to make vertical-align work in Geko and Opera */ |
---|
63 | margin-bottom: auto; /* to make vertical-align work in Geko and Opera */ |
---|
64 | } |
---|
65 | #content UL.thumbnails IMG { |
---|
66 | margin-bottom: -4px; /* why ??? something wrong with Geko and Opera ignored by IE6*/ |
---|
67 | } |
---|
68 | /* fix Geko's lack of good willing in vertical-align: top */ |
---|
69 | /* Too dirty : have to find something better */ |
---|
70 | /*#content UL.thumbnails>LI>SPAN{*/ |
---|
71 | /* height: 170px;*/ /* unfortunately min-height doesn't work here */ |
---|
72 | /*}*/ |
---|
73 | |
---|
74 | /* fix IE with another layout */ |
---|
75 | * html #content UL.thumbnails SPAN { |
---|
76 | overflow: hidden; /* keep it there: not needed by Geko, buggy with Opera */ |
---|
77 | } |
---|
78 | * html #content UL.thumbnails SPAN SPAN { |
---|
79 | position: relative; |
---|
80 | } |
---|
81 | * html #content UL.thumbnails SPAN.wrap { |
---|
82 | overflow: visible; |
---|
83 | position: absolute; |
---|
84 | top: 50%; |
---|
85 | left: 0px; /* same as "#content UL.thumbnails SPAN SPAN { padding:" if any*/ |
---|
86 | } |
---|
87 | * html #content UL.thumbnails IMG { |
---|
88 | position: relative; |
---|
89 | top: -50%; |
---|
90 | } |
---|
91 | |
---|
92 | |
---|
93 | #content .navigationBar, #content .additional_info { |
---|
94 | margin: 10px 0; |
---|
95 | text-align: center; |
---|
96 | } |
---|
97 | |
---|
98 | #content .pageNumberSelected { |
---|
99 | font-style: italic; |
---|
100 | } |
---|
101 | |
---|
102 | #content .additional_info { |
---|
103 | font-size: 110%; |
---|
104 | } |
---|
105 | |
---|
106 | #content FORM { |
---|
107 | text-align: left; |
---|
108 | } |
---|
109 | |
---|
110 | /* content defaults */ |
---|
111 | #content dl, dd { margin: 10px; } |
---|
112 | #content dt { |
---|
113 | margin-bottom: 5px; |
---|
114 | font-style: italic; |
---|
115 | font-size: 110%; |
---|
116 | } |
---|
117 | |
---|
118 | /* actions */ |
---|
119 | ul.categoryActions { |
---|
120 | text-align: center; |
---|
121 | margin: 1px 1px 0 0; |
---|
122 | padding: 0; |
---|
123 | text-indent: 0; |
---|
124 | } |
---|
125 | |
---|
126 | #content div.titrePage ul.categoryActions { |
---|
127 | float: right; |
---|
128 | } |
---|
129 | |
---|
130 | #content ul.categoryActions>li { |
---|
131 | display: inline; |
---|
132 | } |
---|
133 | |
---|
134 | #content ul.categoryActions a img, ul.categoryActions a { |
---|
135 | border: none; |
---|
136 | } |
---|
137 | |
---|
138 | /* User comments */ |
---|
139 | |
---|
140 | #content DIV.comment { |
---|
141 | margin: 5px; |
---|
142 | border: 1px solid gray; |
---|
143 | min-height: 150px; /* maximum thumbnail height */ |
---|
144 | } |
---|
145 | |
---|
146 | #content DIV.comment > A.illustration { |
---|
147 | display: block; |
---|
148 | position: absolute; |
---|
149 | margin: 5px; |
---|
150 | } |
---|
151 | |
---|
152 | #content DIV.comment > A.illustration IMG { |
---|
153 | border: 1px solid gray; |
---|
154 | } |
---|
155 | |
---|
156 | #content DIV.comment P.commentHeader { |
---|
157 | text-align: right; |
---|
158 | margin: 0.5em 0.5em 0 0; |
---|
159 | } |
---|
160 | |
---|
161 | #content DIV.comment UL.actions { |
---|
162 | text-align: center; |
---|
163 | margin: 0.2em; |
---|
164 | } |
---|
165 | |
---|
166 | #content DIV.comment > UL.actions > LI { |
---|
167 | display: inline; |
---|
168 | } |
---|
169 | |
---|
170 | #content DIV.comment BLOCKQUOTE { |
---|
171 | margin: 1em 1em 1em 150px; /* margin-left corresponds to maximum thumbnail width */ |
---|
172 | border: 1px solid #d3d3d3; |
---|
173 | border-left: 2px solid gray; |
---|
174 | padding: 0.5em; |
---|
175 | } |
---|
176 | |
---|
177 | |
---|
178 | /* should be in admin.css ? CSS properties also used in popuphelp */ |
---|
179 | |
---|
180 | SPAN.pwgScreen { |
---|
181 | border-bottom: 1px dotted black; |
---|
182 | } |
---|
183 | |
---|
184 | SPAN.filename:before { |
---|
185 | content: "["; |
---|
186 | } |
---|
187 | |
---|
188 | SPAN.filename:after { |
---|
189 | content: "]"; |
---|
190 | } |
---|