[859] | 1 | /* $Id: content.css 973 2005-12-03 23:53:26Z chrisaga $ */ |
---|
| 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, |
---|
[866] | 18 | BODY#thePasswordPage #content, |
---|
[859] | 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 | |
---|
[939] | 32 | /* Thumbnails customization */ |
---|
| 33 | #content UL.thumbnails SPAN, #content UL.thumbnails SPAN.wrap2 A { |
---|
| 34 | width: 140px; /* max thumbnail width + 2px */ |
---|
| 35 | } |
---|
| 36 | #content UL.thumbnails SPAN.wrap2 { |
---|
| 37 | height: 140px; /* max thumbnail height + 2px */ |
---|
| 38 | } |
---|
| 39 | #content UL.thumbnails SPAN.wrap2 { |
---|
| 40 | border: 1px solid #aaaaaa; /* thumbnails border color and style */ |
---|
| 41 | -moz-border-radius: 4px; /* round corners with Geko */ |
---|
| 42 | border-radius: 4px 4px; /* round corners with CSS3 compliant browsers */ |
---|
| 43 | } |
---|
| 44 | #content UL.thumbnails SPAN.wrap2:hover { |
---|
| 45 | border-color: yellow; /* thumbnails border color when mouse cursor is over it */ |
---|
| 46 | } |
---|
| 47 | #content UL.thumbnails SPAN.thumbLegend { |
---|
| 48 | font-size: 80%; /* font size */ |
---|
| 49 | height: 3em; /* max legend height (don't set auto to be Geko friendly)*/ |
---|
| 50 | display: block; /* display: hide if you don't want legend */ |
---|
| 51 | overflow: hidden; /* oversized legend is clipped */ |
---|
| 52 | } |
---|
[885] | 53 | /* Thumbnail "elastic" layout */ |
---|
[859] | 54 | #content UL.thumbnails { |
---|
| 55 | margin: 0; |
---|
| 56 | padding: 0; |
---|
| 57 | list-style: none; |
---|
| 58 | text-align: center; /* to center the whole collection in #content */ |
---|
| 59 | } |
---|
| 60 | #content UL.thumbnails LI { display: inline } |
---|
| 61 | |
---|
[939] | 62 | #content UL.thumbnails SPAN.wrap1 { |
---|
[859] | 63 | margin: 0 5px 5px 5px; |
---|
| 64 | display: table-cell; display: inline-table; display: inline-block; |
---|
| 65 | vertical-align: top; /* OK with Opera and IE6 not Geko */ |
---|
| 66 | text-align: center; /* to center the thumbnail and legend in Geko/Opera */ |
---|
| 67 | } |
---|
[939] | 68 | #content UL.thumbnails SPAN.wrap2 { |
---|
[859] | 69 | margin: 0; /* important reset the margins */ |
---|
| 70 | display: table-cell; /* block prevents vertical-align here */ |
---|
| 71 | vertical-align: middle; /* Ok with Opera and Geko not IE6 */ |
---|
| 72 | } |
---|
[939] | 73 | #content UL.thumbnails SPAN.wrap2 A { |
---|
| 74 | display: block; |
---|
| 75 | border-bottom: none; |
---|
[859] | 76 | } |
---|
| 77 | #content UL.thumbnails IMG { |
---|
| 78 | margin-bottom: -4px; /* why ??? something wrong with Geko and Opera ignored by IE6*/ |
---|
| 79 | } |
---|
| 80 | |
---|
| 81 | /* fix IE with another layout */ |
---|
[939] | 82 | * html #content UL.thumbnails SPAN.wrap2 { |
---|
| 83 | display: block; |
---|
[859] | 84 | position: relative; |
---|
[939] | 85 | text-align: left; |
---|
[859] | 86 | } |
---|
[939] | 87 | * html #content UL.thumbnails SPAN.wrap2 A { |
---|
[859] | 88 | overflow: visible; |
---|
| 89 | position: absolute; |
---|
| 90 | top: 50%; |
---|
[939] | 91 | text-align: center; |
---|
[859] | 92 | } |
---|
[885] | 93 | * html #content UL.thumbnails IMG.thumbnail { |
---|
[859] | 94 | position: relative; |
---|
| 95 | top: -50%; |
---|
| 96 | } |
---|
| 97 | |
---|
| 98 | #content .navigationBar, #content .additional_info { |
---|
| 99 | margin: 10px 0; |
---|
| 100 | text-align: center; |
---|
| 101 | } |
---|
| 102 | |
---|
| 103 | #content .pageNumberSelected { |
---|
| 104 | font-style: italic; |
---|
| 105 | } |
---|
| 106 | |
---|
| 107 | #content .additional_info { |
---|
| 108 | font-size: 110%; |
---|
| 109 | } |
---|
| 110 | |
---|
| 111 | #content FORM { |
---|
| 112 | text-align: left; |
---|
| 113 | } |
---|
| 114 | |
---|
| 115 | /* content defaults */ |
---|
| 116 | #content dl, dd { margin: 10px; } |
---|
| 117 | #content dt { |
---|
| 118 | margin-bottom: 5px; |
---|
| 119 | font-style: italic; |
---|
| 120 | font-size: 110%; |
---|
| 121 | } |
---|
| 122 | |
---|
| 123 | /* actions */ |
---|
| 124 | ul.categoryActions { |
---|
[910] | 125 | margin: 0 0 0 0; |
---|
| 126 | width: auto; |
---|
[859] | 127 | padding: 0; |
---|
| 128 | text-indent: 0; |
---|
[910] | 129 | list-style: none; |
---|
[920] | 130 | text-align: center; |
---|
[859] | 131 | } |
---|
| 132 | |
---|
| 133 | #content div.titrePage ul.categoryActions { |
---|
| 134 | float: right; |
---|
[915] | 135 | text-align: center; |
---|
[859] | 136 | } |
---|
| 137 | |
---|
[893] | 138 | #content ul.categoryActions li { |
---|
[859] | 139 | display: inline; |
---|
| 140 | } |
---|
| 141 | |
---|
| 142 | #content ul.categoryActions a img, ul.categoryActions a { |
---|
| 143 | border: none; |
---|
| 144 | } |
---|
| 145 | |
---|
| 146 | /* User comments */ |
---|
| 147 | |
---|
[951] | 148 | #content DIV#comments { |
---|
| 149 | padding-left: 5px; |
---|
| 150 | padding-right: 5px; |
---|
| 151 | -moz-box-sizing: padding-box; |
---|
| 152 | } |
---|
[859] | 153 | #content DIV.comment { |
---|
[951] | 154 | margin: 0 0 0.5em 0; |
---|
| 155 | padding: 0; |
---|
| 156 | overflow: hidden; /* these 2 lines ensure the floating child is kept in the DIV */ |
---|
| 157 | width: 100%; /* don't ask why. It's a very usefull trick */ |
---|
[859] | 158 | } |
---|
| 159 | |
---|
[951] | 160 | #content DIV.comment A.illustration { |
---|
[859] | 161 | display: block; |
---|
[951] | 162 | float: left; |
---|
| 163 | margin: 0.5em 0 0 0.5em; |
---|
[859] | 164 | } |
---|
| 165 | |
---|
| 166 | #content DIV.comment P.commentHeader { |
---|
| 167 | text-align: right; |
---|
| 168 | margin: 0.5em 0.5em 0 0; |
---|
| 169 | } |
---|
| 170 | |
---|
| 171 | #content DIV.comment UL.actions { |
---|
| 172 | text-align: center; |
---|
| 173 | margin: 0.2em; |
---|
| 174 | } |
---|
| 175 | |
---|
| 176 | #content DIV.comment BLOCKQUOTE { |
---|
[951] | 177 | margin: 1em 0.5em 0.5em 150px; /* margin-left corresponds to maximum thumbnail width + ~10px */ |
---|
[859] | 178 | padding: 0.5em; |
---|
| 179 | } |
---|
| 180 | |
---|
[862] | 181 | /* should be in admin.css ? CSS properties also used in popuphelp */ |
---|
| 182 | |
---|
| 183 | SPAN.pwgScreen { |
---|
| 184 | border-bottom: 1px dotted black; |
---|
| 185 | } |
---|
| 186 | |
---|
| 187 | SPAN.filename:before { |
---|
| 188 | content: "["; |
---|
| 189 | } |
---|
| 190 | |
---|
| 191 | SPAN.filename:after { |
---|
| 192 | content: "]"; |
---|
| 193 | } |
---|