commit 0d9887931deae0cc089b6af572543c368ea004bc
parent 1a4d248c71dc2ae7fbd04b607df74ef7f28f8ab3
Author: mcol <mcol@posteo.net>
Date: Wed, 26 Aug 2020 23:17:45 +0100
make css not disrupt cgit
Diffstat:
2 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/static/css/main.css b/static/css/main.css
@@ -148,7 +148,7 @@ a:hover {
/* PAGES */
-body {
+#body {
display: grid;
grid-template-columns: 35% 20%;
justify-content: center;
@@ -1038,6 +1038,18 @@ table {
#cgit table.blob .kwc { color:#000000; font-weight:bold; }
#cgit table.blob .kwd { color:#010181; }
+#cgit .logo img {
+ border: solid 2px #fff;
+}
+
+#cgit .logo img:hover {
+ border-color: #000;
+}
+
+#cgit .logo a {
+ border: none;
+}
+
.highlight {
white-space: pre-wrap;
word-wrap: break-word;
@@ -1149,7 +1161,7 @@ table {
}
@media (max-width: 1180px) {
- body {
+ #body {
display: flex;
flex-direction: column;
}
diff --git a/templates/base.html b/templates/base.html
@@ -17,8 +17,10 @@
</head>
<body>
- {% block body %}
- {% endblock %}
+ <div id=body>
+ {% block body %}
+ {% endblock %}
+ </div>
{{ EXTRATAIL }}
</body>
</html>