aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/style.css69
-rw-r--r--doc/templates.mdwn4
2 files changed, 73 insertions, 0 deletions
diff --git a/doc/style.css b/doc/style.css
index 4c48e5c7b..0969f0922 100644
--- a/doc/style.css
+++ b/doc/style.css
@@ -548,3 +548,72 @@ a.openid_large_btn:focus {
.trailsep {
display: none;
}
+
+.album, .album-end, .album-item { clear: both; }
+
+.album-arrow {
+ font-size: 400%;
+}
+
+.album-item {
+ padding: 2px 0px;
+}
+
+.album-viewer {
+ position: relative;
+}
+.album-prev, .album-next, .album-finish {
+ position: absolute;
+ top: 0%;
+ height: 100%;
+ width: 100px;
+}
+.album-prev a, .album-next a, .album-finish a {
+ display: block;
+ padding-top: 1em;
+ width: 100%;
+ height: 100%;
+ text-decoration: none;
+}
+.album-prev .album-thumbnail, .album-next .album-thumbnail {
+ position: absolute;
+ top: 8em;
+}
+.album-prev { left: 0px; }
+.album-next, .album-finish { right: 0px; }
+#album-img {
+ clear: both;
+ margin-left: 100px;
+ margin-right: 100px;
+ text-align: center;
+}
+.album-item .album-title,
+.album-item .album-metadata,
+.album-item .album-caption {
+ margin-left: 120px;
+}
+.album-item .album-thumbnail {
+ float: left;
+ padding: 8px;
+ margin-right: 0px;
+ margin-left: auto;
+ text-align: right;
+}
+.album-thumbnail {
+ min-height: 72px;
+ min-width: 96px;
+}
+.album-item .album-metadata {
+ padding: 8px;
+ font-size: small;
+}
+.album-item .album-size, .album-item .album-ctime {
+ padding-right: 1em;
+}
+.album-item .album-title {
+ font-weight: bold;
+ font-size: larger;
+}
+.album-item .album-title a {
+ text-decoration: underline;
+}
diff --git a/doc/templates.mdwn b/doc/templates.mdwn
index d0f891c21..a22120384 100644
--- a/doc/templates.mdwn
+++ b/doc/templates.mdwn
@@ -84,6 +84,10 @@ Here is a full list of the template files used:
that is a member of a trail.
* `notifyemail.tmpl` - Used by the notifymail plugin to generate mails about
changed pages.
+* `albumitem.tmpl` - Used by the album plugin to display the images in an
+ album.
+* `albumviewer.tmpl`, `albumprev.tmpl`, `albumnext.tmpl` - Used by the
+ album plugin to display each image on its own page.
* `editpage.tmpl`, `editconflict.tmpl`, `editcreationconflict.tmpl`,
`editfailedsave.tmpl`, `editpagegone.tmpl`, `pocreatepage.tmpl`,
`editcomment.tmpl` `commentmoderation.tmpl`, `renamesummary.tmpl`,