aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/content.css
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2006-04-05 23:08:37 +0000
committerplegall <plg@piwigo.org>2006-04-05 23:08:37 +0000
commitb9a37cd6f06a19fd48d4a8e546b10c8fb3ff5b33 (patch)
tree490670d975aa41ff318b68bda91e642db76f57af /template/yoga/content.css
parente59772b8df1f8528d45bbc548110259f943352ee (diff)
new: MOD subcatify integrated. On main page, thumbnails representing a
category are not displayed the same way as thumbnails representing a picture. Feedback welcomed on this feature. git-svn-id: http://piwigo.org/svn/trunk@1130 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga/content.css')
-rw-r--r--template/yoga/content.css46
1 files changed, 46 insertions, 0 deletions
diff --git a/template/yoga/content.css b/template/yoga/content.css
index 56599ec93..9fc3f996d 100644
--- a/template/yoga/content.css
+++ b/template/yoga/content.css
@@ -259,3 +259,49 @@ DIV.calImg {
text-align: left;
vertical-align: top;
}
+
+/* Category thumbnails on main page, CSS code inspired from MOD subcatify */
+#content UL.thumbnailCategories {
+ margin: 0;
+ padding: 0;
+ list-style: none;
+ text-align: center;
+}
+
+#content UL.thumbnailCategories LI {
+ width: 49.9%; /* 49.9% for 2 per line, 33.3% for 3 per line*/
+ margin:0;
+ padding:0;
+ float:left;
+}
+
+#content DIV.thumbnailCategory {
+ display:block;
+ border: 1px solid #aaa;
+ padding: 5px 0px 0px 4px;
+ margin: 5px;
+}
+
+#content DIV.thumbnailCategory DIV.description {
+ font-size: 90%;
+}
+
+#content DIV.thumbnailCategory DIV.description H3 {
+ text-align: left;
+ background: #eee;
+ margin: 0;
+ padding: 0.1em;
+ font-size: 120%;
+}
+
+#content DIV.thumbnailCategory DIV.description P {
+ margin: 0;
+}
+
+#content DIV.thumbnailCategory DIV.illustration {
+ text-align: left;
+ padding: 2px;
+ float: left;
+ width: 110px; /* sorry, this is a very personal value :-( */
+ height: 110px;
+}