aboutsummaryrefslogtreecommitdiffstats
path: root/template-common/default-layout.css
diff options
context:
space:
mode:
authorchrisaga <chrisaga@piwigo.org>2005-12-03 17:33:38 +0000
committerchrisaga <chrisaga@piwigo.org>2005-12-03 17:33:38 +0000
commitdc3c040399475f7b68497919c39c90adcca4caa5 (patch)
tree3ccb0c670035f5cf94c6d849b78cb6a926fb2478 /template-common/default-layout.css
parent9731fc4ba5593b972aeac5d7f751253c3e82f840 (diff)
improve template : split theme from template itself
rest of the job : template (yoga), themes (clear dark), and php to handle them git-svn-id: http://piwigo.org/svn/trunk@960 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template-common/default-layout.css33
1 files changed, 33 insertions, 0 deletions
diff --git a/template-common/default-layout.css b/template-common/default-layout.css
new file mode 100644
index 000000000..7514f94ad
--- /dev/null
+++ b/template-common/default-layout.css
@@ -0,0 +1,33 @@
+/* $Id$ */
+
+/* Set the width of the menubar for the galery */
+#menubar {
+ width: 18em;
+}
+#content {
+ margin-left: 20em; /* = #menubar width + 2em */
+}
+
+/* Set the width of the menubar for the admin section */
+BODY#theAdminPage #menubar {
+ width: 12em;
+}
+BODY#theAdminPage #content {
+ margin-left: 14em;
+}
+
+/* Set some sizes according to your maximum thumbnail width adn height */
+#content UL.thumbnails SPAN, #content UL.thumbnails SPAN.wrap2 A {
+ width: 140px; /* max thumbnail width + 2px */
+}
+#content UL.thumbnails SPAN.wrap2 {
+ height: 140px; /* max thumbnail height + 2px */
+}
+#content DIV.comment BLOCKQUOTE {
+ margin-left: 150px; /*maximum thumbnail width + ~10px */
+}
+
+/* display/hide thumbnails legend */
+#content UL.thumbnails SPAN.thumbLegend {
+ display: block; /* display: none; if you don't want legend */
+}