]> git.mxchange.org Git - fba.git/blob - templates/base.html
Continued:
[fba.git] / templates / base.html
1 <!DOCTYPE html>
2 <head>
3     <title>fedi-block-api - {% block title %}{% endblock %}</title>
4     {% block rss %}
5         <link rel="alternate" type="application/rss+xml" title="RSS Feed for latest blocked instances" href="{{base_url}}/rss" />
6     {% endblock %}
7     <style>
8         body {
9             background-color: #ffffff;
10             color: #000022;
11             text-align: center;
12             font-family: sans;
13         }
14
15         #header {
16             margin-bottom: 20px;
17         }
18
19         h1 {
20             background-color: #f0f0f0;
21             border-radius: 5px;
22             padding-left: 5px;
23             padding-right: 5px;
24             width: auto;
25         }
26
27         #content {
28             margin-bottom: 20px;
29         }
30
31         table {
32             width: 100%;
33             border: 2px solid #f0f0f0;
34             border-spacing: 0px;
35             border-radius: 5px;
36         }
37
38         th {
39             padding-top: 4px;
40             padding-bottom: 4px;
41         }
42
43         table tr:nth-of-type(2n), thead {
44             background-color: #f0f0f0;
45         }
46
47         table td {
48             padding: 4px;
49             text-align: left;
50         }
51
52         .block_level {
53             width: 100%;
54             margin: auto;
55             margin-top: 10px;
56         }
57         .block {
58             padding: 5px;
59             margin: 5px;
60         }
61
62         a {
63             color: #000000;
64         }
65         a.listlink {
66             text-decoration: none;
67             font-size: 0.8em;
68         }
69         a:hover {
70             color: #f00000;
71         }
72
73         input:hover {
74             border-color: #f00000;
75         }
76         input[type="text"], input[type="submit"] {
77             padding: 5px;
78             border-radius: 5px;
79             font-size: 16px;
80         }
81         input[type="submit"] {
82             cursor: pointer;
83         }
84
85         span[title] {
86             text-decoration: underline dotted;
87         }
88
89         .scoreboard {
90             margin-left: auto;
91             margin-right: auto;
92             min-width: 50%;
93             width: 50em;
94         }
95     </style>
96 </head>
97
98 <body>
99     <div id="header">
100         {% block header %}<h1>Page has no header</h1>{% endblock %}
101     </div>
102
103     <div id="content">
104         {% block content %}{% endblock %}
105     </div>
106
107     <div id="footer">
108         {% block footer %}
109             source code:
110             <a href="https://git.mxchange.org/?p=fba.git;a=summary" rel="source" target="_blank">git.mxchange.org</a><br /><br />
111             {% if info %}
112                 {{info.slogan}}
113             {% elif slogan %}
114                 {{slogan}}
115             {% else %}
116                 NO SLOGAN WAS FOUND!!!
117             {% endif %}
118         {% endblock %}
119     </p>
120 </body>
121 </html>