aboutsummaryrefslogtreecommitdiffstats
path: root/template-common/default-layout.css
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2008-05-20 00:27:26 +0000
committerpatdenice <patdenice@piwigo.org>2008-05-20 00:27:26 +0000
commiteb975a8cda9f3f6afaeec69b9419b00eefbba8f1 (patch)
treecf3ba0fadc43a90ebc9eba858dc05e512e2e7255 /template-common/default-layout.css
parent5f4602b5748f43285c02f9a30be9abd74da383f7 (diff)
Change all #content by .content in css files.
In tpl files, id="content" stay here for backward compatibilities. Add some plugins triggers in index.tpl and picture.tpl. git-svn-id: http://piwigo.org/svn/trunk@2352 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template-common/default-layout.css')
-rw-r--r--template-common/default-layout.css22
1 files changed, 11 insertions, 11 deletions
diff --git a/template-common/default-layout.css b/template-common/default-layout.css
index debdfba4a..1c3d70864 100644
--- a/template-common/default-layout.css
+++ b/template-common/default-layout.css
@@ -4,7 +4,7 @@
#menubar {
width: 18em;
}
-#content {
+.content {
margin-left: 20em; /* = #menubar width + 2em */
}
/* Set minimum width of the page before getting a scrollbar */
@@ -20,32 +20,32 @@ BODY#thePopuphelpPage {
BODY#theAdminPage #menubar {
width: 12.5em;
}
-BODY#theAdminPage #content {
+BODY#theAdminPage .content {
margin-left: 14.5em; /* = #menubar width + 2em */
}
/* Set some sizes according to your maximum thumbnail width and height */
-#content UL.thumbnails SPAN,
-#content UL.thumbnails SPAN.wrap2 A,
-#content UL.thumbnails LABEL,
-#content DIV.thumbnailCategory DIV.illustration {
+.content UL.thumbnails SPAN,
+.content UL.thumbnails SPAN.wrap2 A,
+.content UL.thumbnails LABEL,
+.content DIV.thumbnailCategory DIV.illustration {
width: 140px; /* max thumbnail width + 2px */
}
-#content UL.thumbnails SPAN.wrap2,
-#content DIV.thumbnailCategory DIV.description {
+.content UL.thumbnails SPAN.wrap2,
+.content DIV.thumbnailCategory DIV.description {
height: 140px; /* max thumbnail height + 2px */
}
-#content DIV.comment BLOCKQUOTE {
+.content DIV.comment BLOCKQUOTE {
margin-left: 150px; /*maximum thumbnail width + ~10px */
}
/* Category thumbnails on main page */
-#content UL.thumbnailCategories LI {
+.content UL.thumbnailCategories LI {
width: 49.7%; /* 49.7% for 2 per line, 33.2% for 3 per line*/
}
/* Set defaults for thumbnails legend */
-#content UL.thumbnails SPAN.thumbLegend {
+.content UL.thumbnails SPAN.thumbLegend {
display: block; /* display: none; if you don't want legend */
height: 4em; /* legend height (don't set auto to be Gecko friendly)*/
}