commit 2bd5e018eae5521498049c3cf340a06994495b68
parent 9a1866b2dec32be967d82dff52f362dd8e3df92b
Author: mcol <mcol@posteo.net>
Date: Thu, 1 Oct 2020 14:08:54 +0100
update some formatting of header
Diffstat:
2 files changed, 17 insertions(+), 13 deletions(-)
diff --git a/static/css/main.css b/static/css/main.css
@@ -109,8 +109,12 @@ table thead td {
}
#content table td {
- vertical-align: top;
- white-space: nowrap;
+ vertical-align: top;
+ white-space: nowrap;
+}
+
+#head {
+ width: 100%;
}
#branches tr:hover td,
@@ -118,46 +122,46 @@ table thead td {
#index tr:hover td,
#log tr:hover td,
#files tr:hover td {
- background-color: #eee;
+ background-color: #eee;
}
#index tr td:nth-child(2),
#tags tr td:nth-child(3),
#branches tr td:nth-child(3),
#log tr td:nth-child(2) {
- white-space: normal;
+ white-space: normal;
}
td.num {
- text-align: right;
+ text-align: right;
}
hr {
- border: 0;
- border-top: 1px solid #777;
- height: 1px;
+ border: 0;
+ border-top: 1px solid #777;
+ height: 1px;
}
pre a.h {
- color: #00a;
+ color: #00a;
}
.A,
span.i,
pre a.i {
- color: #070;
+ color: #070;
}
.D,
span.d,
pre a.d {
- color: #e00;
+ color: #e00;
}
pre a.h:hover,
pre a.i:hover,
pre a.d:hover {
- text-decoration: none;
+ text-decoration: none;
}
.highlight {
diff --git a/templates/base.html b/templates/base.html
@@ -17,7 +17,7 @@
<body>
{% if output_file != "index.html" %}
- <table width="100%">
+ <table id="head">
<tr>
<td width="32px" rowspan="2"><a href="/"><img id=avatar src="{{ AVATAR }}"/></a></td>
<td rowspan="2">{% block header %}{% endblock header %}</td>