Voila le code du CSS de Zenphoto dont une partie fusionne donc avec le site pour ça que le body est en commentaire :
/*
Sterile 1.0
*/
/* Main Layout
------------------------------ */
/* body {
margin: 0 !important;
margin: 0 0 10px 0;
padding: 0;
text-align: center;
font: 76% 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
} */
#main {
text-align: left;
margin: 40px auto 5px auto;
width: 700px;
padding-bottom: 15px;
background: #FFF;
-moz-border-radius: 10px;
border: 1px solid #CCC;
}
* html #main{width: 720px;}
#gallerytitle {
padding: 20px 10px 10px 20px;
-moz-border-radius-topleft: 10px;
-moz-border-radius-topright: 10px;
background: #F8F8F8;
height:30px;
border-bottom: 1px solid #CCC;
}
#padbox {
padding: 20px !important;
}
#exif {
color: #9C3;
display:none;
}
#imagemetadata {
display: none;
}
/* Miscellaneous
------------------------------ */
hr {
clear: both;
height: 0;
border: 0;
border-top: 1px solid #444;
margin: 0 0 12px 0;
padding: 0;
color: #444;
}
img {
border: 0;
}
blockquote {
border-left: 1px dotted #96967E;
margin-left: 20px;
padding-left: 20px;
color: #363630;
}
acronym {
cursor: help;
border-bottom: 1px solid;
}
/* Page Navigation
------------------------------ */
.pagelist {
padding: 10px 20px 5px 20px;
}
ul.pagelist {
clear: both;
padding: 0;
margin: 0;
list-style-type: none;
}
ul.pagelist li {
display: inline;
}
ul.pagelist li a, ul.pagelist span.disabledlink {
padding: 4px;
}
ul.pagelist li.current a {
font-weight: bold;
text-decoration: none;
color: #666;
}
ul.pagelist li.prev {
margin-right: 10px;
}
ul.pagelist li.next {
margin-left: 10px;
}
.disabledlink {
color: #AAA;
cursor: default;
}
.pagenav {
clear: both;
}
.disabled_nav {
visibility: hidden;
}
/* AJAX
------------------------------ */
#albumDescEditable, #albumTagsEditable {
margin-bottom: 12px;
}
#imageDescEditable, #albumTagsEditable {
margin-top: 24px;
}
#imageDesc, #exif_link {
margin-bottom: 12px;
}
/* Tags
------------------------------ */
.taglist ul {
display: inline;
list-style-type: none;
}
.taglist li {
background: url("../images/tag.png") no-repeat left center;
list-style-type: none;
line-height: 16px;
padding-left: 18px;
float:left;
padding-right: 5px;
}
.taglist .tags_title {
background: none;
padding-right: 5px;
padding-left: 0;
}
/* Image Thumbnails
------------------------------ */
.imagethumb a, .thumb a {
display: block;
padding: 7px;
margin: 5px;
line-height: 0px;
}
.imagethumb, .thumb {
float: left;
}
.albumdesc2 {
line-height: 18px;
}
/* Album Thumbnails
------------------------------ */
#albums {
float: left;
}
.album {
margin: 0 15px 15px 0;
float: left;
width: 315px;
}
.album .imagethumb a, .album .thumb a {
margin: 0;
}
.album h3 {
padding: 0;
margin: 0;
}
.album h3 a {
display: block;
width: 100%;
}
.album p {
margin: 0 0 4px 0;
line-height: 17px;
font-size: 10px;
}
.albumdesc {
float: right;
width: 185px;
padding: 6px 0 0 0;
}
/* Individual Image
------------------------------ */
.imgdesc {
padding: 10px 0 10px 0;
line-height: 18px;
}
#image {
text-align: center;
line-height: 0;
margin:10px 0;
}
.imgnav {
float: right;
width: 140px;
text-align: center;
margin-top: 13px;
}
.imgnav {
float: right;
width: 140px;
text-align: center;
margin-top: 0px;
color: #0c2601;
padding: 0;
_margin-top: 8px; /* IE Only */
}
.imgnav .imgprevious a, .imgnav .imgnext a {
font: normal 16px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
display: block;
width: 50%;
height: 100%;
float: left;
text-decoration: none;
color: #214902;
}
.imgnav .imgprevious a, .imgnav .imgnext a {
font: normal 16px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
display: block;
width: 50%;
height: 100%;
float: left;
text-decoration: none;
}
.imgnav .imgprevious a:hover, .imgnav .imgnext a:hover {
text-decoration: none;
color: #db7508;
}
.imgnav .imgprevious a {
float: left;
}
.imgnav .imgnext a {
float: right;
}
#imgoriginal {
font-size: 8pt;
text-align: right;
height:30px;
}
#imgorder {
float: left;
}
#narrow {
margin: 0 auto;
width: 440px;
}
/* Admin Toolbox
------------------------------ */
#admin, #admin_data{
position:fixed;
right:0;
top:0;
border-left: 1px solid #CCC;
border-bottom: 1px solid #CCC;
background: #fff;
width:120px;
}
#admin_data{
top:16px;
}
#admin h3 {
font: 100% "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: bold;
color: #666;
border-bottom: 1px dashed #CCC;
margin:0;
padding:0;
}
/* Archive View
---------------------------- */
#archive{
width: 300px;
margin: 0 auto;
text-align: center;
}
ul.archive * {
padding:0;
margin:0;
list-style:none;
}
ul.archive .year {
margin-top:10px;
text-align: center;
margin-bottom:5px;
font-weight:bold;
font-size:18px;
}
ul.archive .month {
font-size: 14px;
list-style:none;
border-top:2px solid #E6E6DF;
padding-top: 5px;
}
/* Error Messages
------------------------------ */
.errorbox {
padding: 20px;
background-color: #FDD;
border-top: 1px solid #FAA;
border-left: 1px solid #FAA;
border-right: 1px solid #FAA;
border-bottom: 5px solid #FAA;
margin-bottom: 10px;
font-size: 100%;
color: #DD6666;
}
.errorbox h2 {
color: #DD6666;
font-size: 100%;
font-weight: bold;
margin: 0px;
}
/* Zenphoto link
------------------------------ */
#zen-part {
font-family: Arial, Helvetice, sans-serif;
font-size: 1.8em;
font-weight: 100;
}
#photo-part {
font-family: Arial, Helvetice, sans-serif;
font-size: 0.9em;
font-weight: bold;
}
/* centering flowplayer 3 on image.php */
#image .flowplayer {
margin: 0 auto;
}
/* login form */
table.password td.userlabel{
text-align:right;
}
table.password td.userinput{
text-align:left;
}
table.password td.userinput input, td.passwordinput input {
width: 15em;
}
/* login form */
table.password td.passwordlabel{
text-align:right;
}
table.password td.passwordinput{
text-align:left;
}
table.password td.submit{
text-align:center;
}
table.password td.hint{
text-align:left;
}
Modifié par Picool (18 Feb 2010 - 11:10)