summaryrefslogtreecommitdiff
path: root/templates/styles.css
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2015-01-04 19:58:05 +0100
committerTomas Bzatek <tbzatek@users.sourceforge.net>2015-01-04 19:58:05 +0100
commit1f9e7dee25dfd002b6b1ab4636faa9a24f74d09f (patch)
treefb8343fddb4e6931cd361f78b30b292532a03dfa /templates/styles.css
parent6f6d8002d318d502ca1f645f95a4c018871c70b3 (diff)
downloadcataract-1f9e7dee25dfd002b6b1ab4636faa9a24f74d09f.tar.xz
generators: Use single function for all templates
This commit makes use of a common function for all template parsing and page writing. The behaviour is controlled by the "item" argument passed in. This allows us to have a single code that generates code for list of items as well as for a single item. In the future, this can be used for e.g. combining thumbnails and large images on the same page. Other than that this commit also brings several other changes: - further clarification of theming setup XML file - <protected_thumbnail> tag has been moved out of the <album> structure into the <index> structure where it functionally belongs. Only whole albums can be protected and the substitute thumbnail is displayed on index pages. - position marker format has been broken out to a constant - added few more FIXMEs to mark places that will change soon - some template variables have been renamed
Diffstat (limited to 'templates/styles.css')
-rw-r--r--templates/styles.css6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/styles.css b/templates/styles.css
index 4b5cc27..ca7121d 100644
--- a/templates/styles.css
+++ b/templates/styles.css
@@ -221,7 +221,7 @@ div.album_item a:hover {
border: 2px solid #A3BED4;
}
-div.album_item img {
+div.album_item img.landscape {
/* landscape */
padding-top: 2.25em;
}
@@ -344,7 +344,7 @@ div.index_item img {
top: 1.4em;
}
-.album_text {
+.album_text_landscape {
font-size: 190%;
font-weight: bold;
position: relative;
@@ -371,7 +371,7 @@ div.index_item img {
top: 0.65em;
}
-.album_subtext {
+.album_subtext_landscape {
font-size: 150%;
position: relative;
left: 13.1em;