summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2008-12-26 22:58:15 +0100
committerTomas Bzatek <tbzatek@users.sourceforge.net>2008-12-26 22:58:15 +0100
commitc261763c76fb15c1509ee6b88035b604222edc21 (patch)
tree036bccebd81d7a17f99d1a554eec6f11ed8e0ff7 /templates
parent82435e6c67c4837b4d5256d8f606b495fffbcc4b (diff)
downloadcataract-c261763c76fb15c1509ee6b88035b604222edc21.tar.xz
Add support for album and index separators
Diffstat (limited to 'templates')
-rw-r--r--templates/styles.css27
-rw-r--r--templates/template-album.tmpl5
-rw-r--r--templates/template-index.tmpl5
3 files changed, 37 insertions, 0 deletions
diff --git a/templates/styles.css b/templates/styles.css
index dfaf476..8154968 100644
--- a/templates/styles.css
+++ b/templates/styles.css
@@ -388,3 +388,30 @@ img#frame_white {
border: 20px solid white;
}
+
+
+div.separators {
+ position: relative;
+ display: block;
+ float: left;
+ width: 100%;
+ text-align: left;
+ font-variant: small-caps;
+ font-family: "Trebuchet MS", "DejaVu Sans", "Bitstream Vera Sans", sans-serif;
+ color: #C0C0C0;
+}
+
+div.album_list_separator {
+ margin: 70px 0px 30px 0px;
+ font-size: 35px;
+ letter-spacing: 2px;
+ border-bottom: 1px solid #606060;
+}
+
+div.index_separator {
+ margin: 50px 0px 20px 0px;
+ font-size: 28px;
+ letter-spacing: 1px;
+ border-bottom: 1px solid #606060;
+}
+
diff --git a/templates/template-album.tmpl b/templates/template-album.tmpl
index ead7eaa..03bca5e 100644
--- a/templates/template-album.tmpl
+++ b/templates/template-album.tmpl
@@ -49,6 +49,11 @@
</a>
</div>
<!-- $(END_IMG_LIST_PORTRAIT) -->
+ <!-- $(BEGIN_LIST_SEPARATOR) -->
+ <div class="separators">
+ <div class="index_separator"><!-- $(LIST_SEPARATOR_TITLE) --></div>
+ </div>
+ <!-- $(END_LIST_SEPARATOR) -->
<!-- $(END_IMG_LIST) -->
</div>
diff --git a/templates/template-index.tmpl b/templates/template-index.tmpl
index 1feecf6..44fb508 100644
--- a/templates/template-index.tmpl
+++ b/templates/template-index.tmpl
@@ -53,6 +53,11 @@
</a>
</div>
<!-- $(END_IMG_LIST_PORTRAIT) -->
+ <!-- $(BEGIN_LIST_SEPARATOR) -->
+ <div class="separators">
+ <div class="album_list_separator"><!-- $(LIST_SEPARATOR_TITLE) --></div>
+ </div>
+ <!-- $(END_LIST_SEPARATOR) -->
<!-- $(END_IMG_LIST) -->
</div>