summaryrefslogtreecommitdiff
path: root/share/templates/default/header.tmpl
blob: 4364dddd5228795bebb9826930bb3ac3a4ca468e (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
60
61
62
63
64
65
66
67
68
69
70
71
cat <<END
<html>
<head>
    <title>${TITLE}</title>
    <style type="text/css">
        body {
            background-color: #000000;
            background-image: url('${backhref}/${blurs_dir}/${background_image}');
            background-size: cover;
            background-repeat: no-repeat;
            text-align: center;
            font-family: verdana, sans-serif;
        }

        a {
            color: #000000;
        }

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

        img {
            padding: 5px;
        }

        img.thumb { 
            height: ${THUMBHEIGHT}px;
            width: ${THUMBHEIGHT}px;
            object-fit: cover;
        }

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

        img.view { 
            max-height: ${HEIGHT}px;
            width: 95%;
            height: 80%;
            object-fit: contain;
        }

        .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>
<div class="header">
    <div>
        Site generated at $(date) with <a href="https://codeberg.org/foozone/photoalbum">codeberg.org/foozone/photoalbum</a>
        -
        &copy; by Paul Buetow
    </div>
    <div>${GOTO_OVERVIEW}</div>
</div>
END