printf "%s\r\n" "Content-Type: text/html; charset=utf-8" ""
+PAGE_CSS="${_BASE}/%5B.%5D/themes/slideshow.css${BR}${PAGE_CSS}"
cat <<-EOF
<!DOCTYPE HTML>
<html${LANGUAGE:+ lang=\"${LANGUAGE}\"}><head>
- <link rel="stylesheet" type="text/css" href="/%5B.%5D/themes/slideshow.css">
+ $(theme_head)
<title>$(HTML ${PAGE_TITLE})</title>
</head><body id="$(HTML "${PATH_INFO}")">
- <a href="#" class="toplevel">overview</a>
EOF
+# theme_pagemenu
+printf '<a href="#" class="toplevel">overview</a>'
+
page="${PATH_INFO%\[*\]}"
wiki "$page" | {
# slide previous ID, slide current ID, slide number
<li><a href="./%5Bview%5D">$(_ View)</a></li>
<li><a href="./%5Bedit%5D">$(_ Edit)</a></li>
<li><a href="./%5Battachment%5D">$(_ Attachments)</a></li>
+ <li><a href="./%5Bslideshow%5D">$(_ Slideshow)</a></li>
<li><a href="./%5Brevision%5D">$(_ Revisions)</a></li>
<li><a href="./%5Brename%5D">$(_ Rename)</a></li>
<li><a href="./%5Bmove%5D">$(_ Move)</a></li>
background-image: repeating-linear-gradient( to bottom right, #AAA, #999 8px);
}
+body > .pagemenu {
+ position: fixed;
+ top: 0; left: 0; right: 0; z-index: 1;
+ margin: 0;
+ padding: .25em 2em;
+ background-color: #666;
+ list-style: none;
+ box-shadow: 0 0 .5em;
+}
+body > .pagemenu li {
+ display: inline-block;
+ margin-right: 1em;
+}
+body > .pagemenu li a { color: #FFF; }
+
section.slide
{ background-color: #FFF;
background-image: repeating-linear-gradient( #FFF, #EEE 4px);
body {
font-family: sans-serif;
- padding: 2em 1em 6em 1em;
+ padding: 2.5em 1em 6em 1em;
#background-color: #555;
text-align: center;
overflow-x: hidden;
bottom: 0; left: 8em;
width: 2ex; overflow: hidden;
font-size: .875em;
- padding-bottom: .25em;
+ -padding-bottom: .25em;
color: transparent;
z-index: 5;
+ word-break: normal;
}
body a.toplevel:before {
#color: #888;
position: fixed;
bottom: 0; left: 6.25em;
font-size: .875em;
- padding-bottom: .125em;
+ line-height: 1.5em;
+ -padding-bottom: .125em;
#color: #888;
z-index: 5;
}