A mini theme for the pelican static site generator
git clone https://github.com/m-col/mini-theme
Files | Refs | Readme

Commit 2bd5e018eae5521498049c3cf340a06994495b68
Parent: 9a1866b2dec32be967d82dff52f362dd8e3df92b
Author: mcol <mcol@posteo.net>
Date: 2020-10-01 14:08:54 +0100
Committer: mcol <mcol@posteo.net>
Committed: 2020-10-01 14:08:54 +0100

update some formatting of header

templates/base.html Modified

@@ -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>

static/css/main.css Modified

@@ -109,8 +109,12 @@
 }
 
 #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 @@
 #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 {