diff options
author | rvelices <rv-github@modusoptimus.com> | 2008-08-21 01:14:03 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2008-08-21 01:14:03 +0000 |
commit | 685f4e2998ba782b03bd0488131a6e1665de0955 (patch) | |
tree | 535929a845d0139653fd9d39e25e384cc43298c1 /template/yoga/picture.css | |
parent | 5a6298548b194e0987cdccc8a11b04efa8c9fd61 (diff) |
- tried to reduce the number of css rules and selectors (most gains on menubar and usercomments) tested with IE6,IE7,FF,Opera9,Safari3
git-svn-id: http://piwigo.org/svn/trunk@2480 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | template/yoga/picture.css | 51 |
1 files changed, 10 insertions, 41 deletions
diff --git a/template/yoga/picture.css b/template/yoga/picture.css index 945d729a4..f753009b3 100644 --- a/template/yoga/picture.css +++ b/template/yoga/picture.css @@ -46,16 +46,13 @@ #theImage { clear: left; + text-align: center; } #theImage>IMG { - display: block; - margin: 0 auto; -} - -#theImage IMG { - border-width: 3px; - border-style: solid; + display: block; + margin: 0 auto; + border: none; } #linkPrev { @@ -76,20 +73,16 @@ margin-left: 10px; } -TABLE.infoTable .value { - text-align: left; -} - TABLE.infoTable .label { - font-weight: bold; - text-align: right; - padding-right: 0.5em; + font-weight: bold; + text-align: right; + padding-right: 0.5em; } TABLE.infoTable TD.value UL { - margin: 0; - padding: 0 0 0 1.5em; - list-style-type: square; + margin: 0; + padding: 0 0 0 1.5em; + list-style-type: square; } .rateButton, .rateButtonSelected, .rateButtonStarFull, .rateButtonStarEmpty { @@ -114,27 +107,3 @@ TABLE.infoTable TD.value UL { background: url('icon/rating-stars.gif') no-repeat scroll; background-position:0 center; width:16px; } -#comments { - text-align: left; -} - -#comments .comment { - margin: 1em 0; -} - -#comments P { - margin: 0 0.5em 0 1em; -} - -#comments .author { - font-weight: bold; -} - -#thePicturePage #comments BLOCKQUOTE { - margin: 0.5em 1em 1em 4em; -} - -#comments P.userCommentDelete { - float: right; - margin: 0 0.5em 0 0; -} |