summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstuebinm2021-02-25 15:19:39 +0100
committerstuebinm2021-02-25 15:19:39 +0100
commit9b143206c8d4e31b406a7d062c52bd419c42c0b2 (patch)
treec8b741dc43730d4a0aac482d717baf605240eddd
parent9f62d929e842143958af883f5564e7bb8d1d0fcd (diff)
fonts
-rw-r--r--ShareTech-Regular.ttfbin0 -> 29536 bytes
-rw-r--r--cgit.css22
2 files changed, 14 insertions, 8 deletions
diff --git a/ShareTech-Regular.ttf b/ShareTech-Regular.ttf
new file mode 100644
index 0000000..787ba83
--- /dev/null
+++ b/ShareTech-Regular.ttf
Binary files 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;