]> git.mxchange.org Git - fba.git/blob - templates/base.html
6648dbdf34f834ec362a37fb7073053ca1d263b5
[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         }
36
37         th {
38             padding-top: 4px;
39             padding-bottom: 4px;
40         }
41
42         table tr:nth-of-type(2n), thead {
43             background-color: #f0f0f0;
44         }
45
46         table td {
47             padding: 4px;
48         }
49
50         .block_level {
51             width: 100%;
52             margin: auto;
53             margin-top: 10px;
54         }
55         .block_level table td:nth-of-type(1), .block_level table td:nth-of-type(2),
56         .block_level table td:nth-of-type(4), .block_level table td:nth-of-type(5) {
57             white-space: nowrap;
58         }
59         .block {
60             padding: 5px;
61             margin: 5px;
62         }
63
64         a {
65             color: #000000;
66         }
67         a.listlink {
68             text-decoration: none;
69             font-size: 0.8em;
70         }
71         a:hover {
72             color: #f00000;
73         }
74
75         input[type="text"], input[type="submit"] {
76             padding: 5px;
77             border-radius: 5px;
78             font-size: 16px;
79         }
80         input[type="text"]:hover {
81             border-color: #f00000;
82         }
83         input[type="submit"] {
84             cursor: pointer;
85         }
86         input[type="submit"]:hover {
87             border-color: #f08;
88         }
89
90         span[title] {
91             text-decoration: underline dotted;
92         }
93
94         .scoreboard {
95             margin-left: auto;
96             margin-right: auto;
97             min-width: 50%;
98             width: 50em;
99         }
100     </style>
101 </head>
102
103 <body>
104     <div id="header">
105         {% block header %}<h1>Page has no header</h1>{% endblock %}
106     </div>
107
108     <div id="content">
109         {% block content %}{% endblock %}
110     </div>
111
112     <div id="footer">
113         {% block footer %}
114             source code:
115             <a href="https://git.mxchange.org/?p=fba.git;a=summary" rel="source" target="_blank">git.mxchange.org</a><br /><br />
116             {% if info %}
117                 {{info.slogan}}
118             {% elif slogan %}
119                 {{slogan}}
120             {% else %}
121                 NO SLOGAN WAS FOUND!!!
122             {% endif %}
123         {% endblock %}
124     </p>
125 </body>
126 </html>