summaryrefslogtreecommitdiff
path: root/share/templates/default/header.tmpl
blob: c0f81fb3ac4e4c9c0c4854c6e07e26a5f7117b19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
if [ "${is_subalbum}" = yes ]; then
    GOTO_OVERVIEW="<a href='${backhref}/index.html'>Go to Album overview</a>"
fi

cat <<END
<html>
<head>
    <title>${TITLE}</title>
    <style type="text/css">
        body {
            background-color: #ffffff;
            background-image: url('${backhref}/${blurs_dir}/${background_image}');
            background-size: cover;
            background-repeat: no-repeat;
            text-align: center;

            color: #000000;
            font-family: verdana, sans-serif;
            width: 100%;
        }

        a {
            color: #000000;
        }

        div.text, div.footer, div.navigator {
            background-color: #ffffff;
            width: 1024px;
            border: 15px solid #000000;
            padding: 10px;
            margin-left: auto;
            margin-right: auto;
            margin-top: 10;
            margin-bottom: 10;
        }

        img {
            padding: 5px;
        }

        img.thumb:hover {
            -webkit-transform: scaleX(-1);
            transform: scaleX(-1);
        }

        .animate-none{}
        .animate-fading{animation:fading 10s}@keyframes fading{0%{opacity:0}50%{opacity:1}100%{opacity:0}}
        .animate-opacity{animation:opac 0.4s}@keyframes opac{from{opacity:0} to{opacity:1}}
        .animate-top{position:relative;animation:animatetop 0.4s}@keyframes animatetop{from{top:-300px;opacity:0} to{top:0;opacity:1}}
        .animate-left{position:relative;animation:animateleft 0.4s}@keyframes animateleft{from{left:-300px;opacity:0} to{left:0;opacity:1}}
        .animate-right{position:relative;animation:animateright 0.4s}@keyframes animateright{from{right:-300px;opacity:0} to{right:0;opacity:1}}
        .animate-bottom{position:relative;animation:animatebottom 0.4s}@keyframes animatebottom{from{bottom:-300px;opacity:0} to{bottom:0;opacity:1}}
        .animate-zoom {animation:animatezoom 0.4s}@keyframes animatezoom{from{transform:scale(0)} to{transform:scale(1)}}
    </style>
</head>

<body>
  <p>${GOTO_OVERVIEW}</p>
END