aboutsummaryrefslogtreecommitdiff
path: root/templates/web/base.html
blob: 018d66a741fbe3e684b9ec38d43439ab0e052546 (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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<!DOCTYPE html>
<html>
    <head>
        <meta name="referrer" content="origin">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <!-- <link rel="stylesheet" type="text/css" href="links.css"> -->
        <link rel="shortcut icon" href="favicon.ico">
        <link rel="alternate" type="application/rss+xml" title="RSS" href="/rss">
        <title>{% block title %}Linkopedia{% endblock %}</title>
        <style>
         html { width: 100%; }
         body {
             width: 100%; max-width: 80ch; margin: 1em auto;
             font-family: Verdana, Geneva, sans-serif;
             font-size: 12pt;
             color: #828282;
         }

         a:link { color: #000; text-decoration: none; }
         a:hover { text-decoration: underline; }

         header > h1 {
             font-size: 1em;
             margin:0;
             display: inline-block;
         }

         body > header {
             color: #000;
             background-color: #82a9d2;
             padding: 0 1em;
             line-height: 2em;
             display: flex;
             flex-direction: row;
             justify-content: space-between;
         }
         body > header > h1 > a { color: #000; }


         body > section,
         body > article {
             padding: 1em;
             background-color: #f2f2f2;
             border-bottom: 2px solid #82a9d2;
         }
         
         body > article header h1 { font-size: 1.5em; }
         body > article header aside { font-size: 0.8em; }
         
         #linkslist { margin: 0; }
         #linkslist dd {
             margin: 0.2em 0 1em 0;
         }
         body > article footer,
         #linkslist dd > footer {
             font-size: 0.8em;
             margin-top: 0.2em;
         }

         #linkslist a:link { color: #000; }

         a.tag {
             line-height: 1.2em;
             padding: 0 0.2em;
             border: 1px solid #828282;
             background-color: #E2E2E2;
             border-radius: 3px;
             color: #828282;
             text-decoration: none;
         }
         a.tag:hover { color: #000; }


         #nextpage { color: #828282; }

         .placeholder { text-align: center; }

         body > footer {
             margin-top: 2em;
             text-align: center;
         }

         /* -----
            SVG Icons - svgicons.sparkk.fr
            ----- */

         .svg-icon {
             width: 1em;
             height: 1em;
             vertical-align:middle;
         }

         .svg-icon path,
         .svg-icon polygon,
         .svg-icon rect {
             fill: #828282;
         }

         .svg-icon circle {
             stroke: #828282;
             stroke-width: 1;
         }

        </style>
        
        {% block extrahead %}{% endblock %}
    </head>
    <body>
        <header>
            <h1><a href="{{ url_for('index') }}">Linkopedia</a></h1>
            <span>i Bookmark del <a href="https://gl-como.it/">GL-Como</a></span>
        </header>
        {% block content %}{% endblock %}
        <footer>
            <form method="get" action="{{ url_for('search') }}"><input name="q" placeholder="cerca..." value="{% if q %}{{ q }}{% endif %}"></form>
        </footer>
        <footer>
            <small>
               <svg xmlns="http://www.w3.org/2000/svg" class="svg-icon" viewBox="0 0 194 194"><path d="M3.7 88.4L88.4 3.7c4.9-4.9 12.8-4.9 17.7 0l17.6 17.6-22.3 22.3c-5.3-1.8-11.2-.6-15.4 3.5-4.2 4.2-5.3 10.2-3.5 15.4L61 84c-5.2-1.8-11.2-.6-15.4 3.5-5.8 5.8-5.8 15.2 0 21 5.8 5.8 15.2 5.8 21 0 4.4-4.4 5.4-10.8 3.2-16.2l20.2-20v52.8c-1.4.7-2.8 1.6-3.9 2.8-5.8 5.8-5.8 15.2 0 21 5.8 5.8 15.2 5.8 21 0 5.8-5.8 5.8-15.2 0-21-1.4-1.4-3.1-2.5-4.9-3.2V71.4c1.8-.7 3.4-1.8 4.9-3.2 4.4-4.4 5.5-10.9 3.2-16.3l22-22 58 58.1c4.9 4.9 4.9 12.8 0 17.7l-84.7 84.7c-4.9 4.9-12.8 4.9-17.7 0L3.7 106c-4.9-4.8-4.9-12.8 0-17.6" fill="#f03c2e"/></svg>
                <a href="http://git.trueelena.org/bookmarks/gl-como/about/">collection</a>
                - <a href="https://lesana.trueelena.org/">lesana</a>
                - <a href="https://git.sr.ht/~fabrixxm/lesanaweb">lesanaweb</a>
            </small>
        </footer>
    </body>
</html>