source: trunk/template/cclear/content.css @ 852

Last change on this file since 852 was 852, checked in by chrisaga, 19 years ago

as discussed with z0rglub, increase #menubar width to 22em in #theAdminPage

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.4 KB
Line 
1/* $Id: content.css 852 2005-08-26 19:54:45Z chrisaga $ */
2#content {
3    margin-left: 24em;
4    margin-right: 1em;
5    margin-bottom: 1em; /* when it's longer than menu bar */
6}
7BODY#theAdminPage #content {
8    margin-left: 14em;
9}
10
11BODY#theCommentsPage #content,
12BODY#theRegisterPage #content,
13BODY#theIdentificationPage #content,
14BODY#theProfilePage #content,
15BODY#theSearchPage #content,
16BODY#theAboutPage #content,
17BODY#theNotificationPage #content
18{
19  margin: 1em;
20}
21
22#content H2 {
23    margin-bottom: 1ex;
24}
25
26#content H3 {
27    margin-bottom: 1ex;
28}
29
30#content UL.thumbnails {
31    margin: 0; padding: 0;
32    list-style-type: none;
33    text-align: center;  /*eventuellement */
34}
35
36#content LI.thumbnails {
37        display: inline;
38        padding: 0; text-indent: 0;
39        margin: 0 10px 10px 10px;
40}
41#content UL.thumbnails UL {
42        margin: 0; padding: 0; text-indent: 0;
43        list-style-type: none;
44}
45#content UL.thumbnails UL LI {
46        text-align: center; 
47}
48#content UL.thumbnails div {
49        margin: 0;
50        vertical-align: top;   /*geko doesn't eat that :-(*/
51        text-align: center; 
52        width: 128px;
53}
54/* IE block level element inline-block hack */
55* html #content UL.thumbnails div {display:inline-block;}
56* html #content UL.thumbnails div {display:inline;}
57/* end of IE hack*/
58/* for non-IE */
59#content UL.thumbnails li>div {display:table-cell;display:inline-table;}
60
61/* Geko hack to get thumbnails top aligned*/
62/* not proud of that still looking for a better one */
63#content UL.thumbnails li>div {height:150px;}
64/* endof Geko hack*/
65
66/* align top with geko */
67/*#content UL.thumbnails li>div>div {
68        display: block;
69        position: relative;
70        height:128px;
71}
72#content UL.thumbnails li>div>div>a { position: absolute; top: 0; }
73#content UL.thumbnails li>div img.thumbnail { position: relative; left: -50%; }
74#content UL.thumbnails li>div ul {position: absolute; bottom: 0;}
75doesn't work :-((*/
76
77/*#content UL.thumbnails LI>SPAN { vertical-align: baseline; }*/
78#content UL.thumbnails LI IMG.thumbnail { margin-bottom: .4ex; }
79
80#content UL.thumbnails IMG.thumbnail { border: 1px solid #000000; }
81
82/*#content UL.thumbnails SPAN A:first-child { border: none }*/
83
84
85#content .navigationBar, #content .additional_info {
86    margin: 10px 0;
87    text-align: center;
88}
89
90#content .pageNumberSelected {
91    font-style: italic;
92}
93
94#content .additional_info {
95    font-size: 110%;
96}
97
98#content FORM {
99    text-align: left;
100}
101
102/* content defaults */
103#content dl, dd { margin: 10px; }
104#content dt {
105  margin-bottom: 5px;
106  font-style: italic;
107  font-size: 110%;
108}
109
110/* actions */
111ul.categoryActions {
112  text-align: center;
113  margin: 1px 1px 0 0;
114  padding: 0;
115  text-indent: 0;
116}
117
118#content div.titrePage ul.categoryActions {
119  float: right;
120}
121
122#content ul.categoryActions>li {
123  display: inline;
124}
125
126#content ul.categoryActions a img, ul.categoryActions a {
127  border: none;
128}
129
130/* User comments */
131
132#content DIV.comment {
133  margin: 5px;
134  border: 1px solid gray;
135}
136
137#content DIV.comment > A.illustration {
138  display: block;
139  position: absolute;
140  margin: 5px;
141}
142
143#content DIV.comment > A.illustration IMG {
144  border: 1px solid gray;
145}
146
147#content DIV.comment P.commentHeader {
148  text-align: right;
149  margin: 0.5em 0.5em 0 0;
150}
151
152#content DIV.comment UL.actions {
153  text-align: center;
154  margin: 0.2em;
155}
156
157#content DIV.comment > UL.actions > LI {
158  display: inline;
159}
160
161#content DIV.comment BLOCKQUOTE {
162  margin: 1em 1em 1em 150px; /* margin-left corresponds to maximum thumbnail width */
163  border: 1px solid #d3d3d3; 
164  border-left: 2px solid gray;
165  padding: 0.5em;
166}
167
Note: See TracBrowser for help on using the repository browser.