about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--cgit.css14
-rw-r--r--ui-repolist.c7
2 files changed, 12 insertions, 9 deletions
diff --git a/cgit.css b/cgit.css
index 85815c1..459dca7 100644
--- a/cgit.css
+++ b/cgit.css
@@ -8,7 +8,7 @@ body {
 
 
 h2 {
-	font-size: normal;
+	font-size: 100%;
 	font-weight: bold;
 	margin-bottom: 0.1em;
 }
@@ -31,10 +31,10 @@ table.list tr {
 	background: white;
 }
 table.list tr:hover {
-	background: #eee;
+	background: #eeb;
 }
 table.list th {
-	font-weight: bold;
+	font-weight: normal;
 	background: #ddd;
 	border-bottom: solid 1px #aaa;
 	padding: 0.1em 0.5em 0.1em 0.5em;
@@ -50,12 +50,13 @@ img {
 
 
 div#header {
-	background-color: #eee;
+	background-color: #ddd;
 	padding: 0.25em 0.25em 0.25em 0.5em;
 	font-size: 150%;
 	font-weight: bold;
-	border: solid 1px #ccc;
+	border: solid 1px #aaa;
 	vertical-align: middle;
+	margin-bottom: 2em;
 }
 div#header img#logo {
 	float: right;
@@ -95,8 +96,7 @@ td.filemode {
 
 td.blob {
 	white-space: pre;
-	font-family: courier;
-	font-size: 100%;
+	font-family: monospace;
 	background-color: white;
 }
 
diff --git a/ui-repolist.c b/ui-repolist.c
index 1fe7059..7090c12 100644
--- a/ui-repolist.c
+++ b/ui-repolist.c
@@ -27,8 +27,11 @@ void cgit_print_repolist(struct cacheitem *item)
 	}
 
 	html("<h2>Repositories</h2>\n");
-	html("<table class='list'>");
-	html("<tr><th>Name</th><th>Description</th><th>Owner</th></tr>\n");
+	html("<table class='list nowrap'>");
+	html("<tr>"
+	     "<th class='left'>Name</th>"
+	     "<th class='left'>Description</th>"
+	     "<th class='left'>Owner</th></tr>\n");
 	while ((de = readdir(d)) != NULL) {
 		if (de->d_name[0] == '.')
 			continue;
'logmsg'> 2021-01-12Don't output a pre in hilex by defaultJune McEnroe 2021-01-12Move hilex out of hilex directoryJune McEnroe 2021-01-12Consolidate hilex formatters into hilex.cJune McEnroe 2021-01-12Remove hacky tagging from hilexJune McEnroe God that makes the lexers so much simpler. 2021-01-12Add htagml -iJune McEnroe 2021-01-12Render tag index in HTMLJune McEnroe 2021-01-12Add htagml -xJune McEnroe 2021-01-12Prevent matching the same tag twiceJune McEnroe 2021-01-12Process htagml file line by lineJune McEnroe This simplifies some things, adds support for line number tag definitions, and should enable combining htagml with other preprocessors in the future. 2021-01-12Split fields by tab onlyJune McEnroe Also don't fail hard on non-forward-search definitions. 2021-01-12List both Makefile and html.sh under README.7June McEnroe 2021-01-12Add htagml exampleJune McEnroe 2021-01-12Use mandoc and htagml for bin htmlJune McEnroe 2021-01-12Add htagmlJune McEnroe 2021-01-12Replace causal.agency with a simple mdoc pageJune McEnroe 2021-01-11Publish "Using vi"June McEnroe 2021-01-11Enable diff.colorMovedJune McEnroe 2021-01-10Set less search case-insensitiveJune McEnroe 2021-01-10Set EXINITJune McEnroe neovim is laggy as hell in my OpenBSD VM, so I switched to vi so I could type without getting frustrated. 2021-01-09Add c -t flag to print expression typeJune McEnroe Also add missing float case. 2021-01-05Update taglineJune McEnroe