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