source: trunk/template/cclear/default-layout.css @ 829

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

cclean : fixed some styles in the admin section

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.2 KB
Line 
1
2@import "menubar.css";
3@import "content.css";
4@import "image.css";
5
6/* $Id: default-layout.css 829 2005-08-18 20:25:08Z chrisaga $ */
7
8/* * { padding: 0 !important; margin: 0 !important; } */
9
10BODY {
11    margin: 5px;
12    padding: 0;
13    font-size: 100%;
14    font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
15    text-align: center; /* be nice to IE5 */
16}
17
18#the_page {
19    margin: 0; padding: 0;
20    /* border: 1px solid #000000; */
21    width: 100%;
22}
23
24H1 {
25    text-align: center;
26    font-size: 150%;
27    font-weight: bold;
28    padding: 0; margin: 1ex 0 2ex 0;
29}
30
31H2 {
32    margin: 0;
33    padding: 5px 10px;
34    text-align: left;
35    font-size: 120%;
36}
37
38A {
39    text-decoration:none;
40    border-bottom: 1px dotted #000000;
41}
42A:hover {
43    border-bottom-style: solid;
44}
45
46IMG {
47    border: none;
48}
49
50#copyright {
51    clear: both;
52    font-size: 83%;
53    text-align: center;
54    margin: 0 0 10px 0;
55}
56
57/** General defaults **/
58ul, dl { text-align: left;}
59
60/** forms **/
61div.formbox {
62  width: 70%;
63  margin: 0 auto 1em auto;
64}
65/* form row are dl instead of table rows */
66form dl {
67  text-align: left;   /* must set it there otherwise IE render dl.biglabel dt incorectly */
68  margin-top: 0;
69  margin-bottom: 0;
70    font-size: 100%; /* TO DO : alignement pb in Opera !!!*/
71}
72form dt {
73  float: left;
74  /*text-align: left;*/
75  width: 60%;
76  margin-top: 0.25em;
77  margin-bottom: 0.25em;
78}
79form dd {
80  /*text-align: left;*/
81  /*margin-top: 0.5em;*/
82  margin:0;
83  padding:0;
84  margin-top: 0.25em;
85  margin-bottom: 0.25em;
86}
87/* we must use one dl.biglabel per <dt><dl> because of positionning */
88form dl.biglabel {
89  position: relative; /* to allow position: absolute in dd*/
90}
91form dl.biglabel dt {
92  float: none;
93}
94
95form dl.biglabel dd {
96  /*float: right; do not whant to float ????*/
97  /*width: 60%;*/
98  position: absolute;
99  top: 0;
100  left: 60%; /* same as form dt width */
101}
102form dl.biglabel dd { padding-left:2px;} /* IE */
103form dl.biglabel>dd { padding-left:0;}  /* other browsers */
104
105form p {
106        text-align: center;
107        margin-top: 2em;
108        margin-bottom: 2em;
109}
110
111form table {
112        width: 99%; /* IE 6 seems to dislike 100% in admin->user */
113}
114.small {
115        font-size: 80%;
116}
117
118/** go to an admin.css ? **/
119.table2 {
120        border: 1px solid #000000; 
121        margin: auto 10px auto 10px;
122        padding:0px;
123}
124form#add_virtual p { text-align: left; }
Note: See TracBrowser for help on using the repository browser.