From 9b143206c8d4e31b406a7d062c52bd419c42c0b2 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Thu, 25 Feb 2021 15:19:39 +0100 Subject: fonts --- ShareTech-Regular.ttf | Bin 0 -> 29536 bytes cgit.css | 22 ++++++++++++++-------- 2 files changed, 14 insertions(+), 8 deletions(-) create mode 100644 ShareTech-Regular.ttf diff --git a/ShareTech-Regular.ttf b/ShareTech-Regular.ttf new file mode 100644 index 0000000..787ba83 Binary files /dev/null and b/ShareTech-Regular.ttf differ diff --git a/cgit.css b/cgit.css index f737af4..b7f2026 100644 --- a/cgit.css +++ b/cgit.css @@ -1,4 +1,10 @@ + +@font-face { + font-family: sharetech; + src: url(./ShareTech-Regular.ttf); +} + body { max-width:70em; margin: auto; @@ -188,7 +194,7 @@ div#cgit table.list td { div#cgit table.list td.commitgraph { font-family: monospace; - white-space: pre; + white-space: pre-wrap; } div#cgit table.list td.commitgraph .column1 { @@ -222,7 +228,7 @@ div#cgit table.list td.logsubject { div#cgit table.list td.logmsg { font-family: monospace; - white-space: pre; + white-space: pre-wrap; padding: 0 0.5em; } @@ -379,14 +385,14 @@ div#cgit table.bin-blob { div#cgit table.bin-blob th { font-family: monospace; - white-space: pre; + white-space: pre-wrap; border: solid 1px #777; padding: 0.5em 1em; } div#cgit table.bin-blob td { font-family: monospace; - white-space: pre; + white-space: pre-wrap; border-left: solid 1px #777; padding: 0em 1em; } @@ -450,7 +456,7 @@ div#cgit div.commit-subject { } div#cgit div.commit-msg { - white-space: pre; + white-space: pre-wrap; font-family: monospace; } @@ -460,7 +466,7 @@ div#cgit div.notes-header { } div#cgit div.notes { - white-space: pre; + white-space: pre-wrap; font-family: monospace; border: solid 1px #ee9; background-color: #ffd; @@ -552,7 +558,7 @@ div#cgit table.diff { div#cgit table.diff td { font-family: monospace; - white-space: pre; + white-space: pre-wrap; /*! background-color: #222; */ } @@ -815,7 +821,7 @@ div#cgit table.ssdiff { div#cgit table.ssdiff td { font-size: 75%; font-family: monospace; - white-space: pre; + white-space: pre-wrap; padding: 1px 4px 1px 4px; border-left: solid 3px darkmagenta; border-right: solid 3px darkmagenta; -- cgit v1.2.3