]> git.mxchange.org Git - fba.git/blobdiff - templates/base.html
Continued:
[fba.git] / templates / base.html
index 6933f3e744d5c825193fba5405998f7c52ce74a7..8648c026955f8977843f6d70aaa82974431b9b76 100644 (file)
@@ -2,80 +2,90 @@
 <head>
     <title>fedi-block-api - {% block title %}{% endblock %}</title>
     {% block rss %}
-    <link rel="alternate" type="application/rss+xml" title="RSS Feed for latest blocked instances" href="{{base_url}}/rss" />
+        <link rel="alternate" type="application/rss+xml" title="RSS Feed for latest blocked instances" href="{{base_url}}/rss" />
     {% endblock %}
     <style>
         body {
-            background-color: #000022;
-            color: #ffffff;
+            background-color: #ffffff;
+            color: #000022;
             text-align: center;
             font-family: sans;
         }
-        .block_level {
-            background-color: #1c1c3c;
-            width: 100%;
-            margin: auto;
-            margin-top: 10px;
+
+        #header {
+            margin-bottom: 20px;
+        }
+
+        h1 {
+            background-color: #f0f0f0;
+            border-radius: 5px;
+            padding-left: 5px;
+            padding-right: 5px;
+            width: auto;
+        }
+
+        #content {
+            margin-bottom: 20px;
         }
+
         table {
             width: 100%;
-            background-color: #2d2d4d;
+            border: 2px solid #f0f0f0;
             border-spacing: 0px;
+            border-radius: 5px;
         }
-        table tr:nth-of-type(2n) {
-            background-color: #1c1c3c;
+
+        th {
+            padding-top: 4px;
+            padding-bottom: 4px;
         }
+
+        table tr:nth-of-type(2n), thead {
+            background-color: #f0f0f0;
+        }
+
         table td {
             padding: 4px;
+            text-align: left;
         }
-        .block_level table td:nth-of-type(1), .block_level table td:nth-of-type(2),
-        .block_level table td:nth-of-type(4), .block_level table td:nth-of-type(5) {
-            white-space: nowrap;
+
+        .block_level {
+            width: 100%;
+            margin: auto;
+            margin-top: 10px;
         }
         .block {
-            background-color: #2d2d4d;
             padding: 5px;
             margin: 5px;
         }
+
         a {
-            color: #ffffff;
+            color: #000000;
         }
         a.listlink {
             text-decoration: none;
             font-size: 0.8em;
         }
+        a:hover {
+            color: #f00000;
+        }
+
+        input:hover {
+            border-color: #f00000;
+        }
         input[type="text"], input[type="submit"] {
             padding: 5px;
             border-radius: 5px;
-            color: white;
-            background: #445;
             font-size: 16px;
         }
-
-        input[type="text"]:hover {
-            border-color: #f08;
-        }
-
         input[type="submit"] {
             cursor: pointer;
         }
 
-        input[type="submit"]:hover {
-            border-color: #f08;
-        }
-
         span[title] {
             text-decoration: underline dotted;
         }
 
-        #content {
-            margin-bottom: 20px;
-        }
-
-        #header {
-            margin-bottom: 20px;
-        }
-
         .scoreboard {
             margin-left: auto;
             margin-right: auto;
@@ -84,6 +94,7 @@
         }
     </style>
 </head>
+
 <body>
     <div id="header">
         {% block header %}<h1>Page has no header</h1>{% endblock %}
 
     <div id="footer">
         {% block footer %}
-            source code: <a href="https://git.mxchange.org/?p=fba.git;a=summary" rel="source" target="_blank">git.mxchange.org</a><br /><br />
+            source code:
+            <a href="https://git.mxchange.org/?p=fba.git;a=summary" rel="source" target="_blank">git.mxchange.org</a><br /><br />
             {% if info %}
                 {{info.slogan}}
             {% elif slogan %}