2
0
mirror of https://git.zx2c4.com/cgit/ synced 2024-11-13 19:12:05 +00:00

css: switch monospace fonts

This commit is contained in:
Jason A. Donenfeld 2016-08-02 04:15:01 +02:00
parent 0c27ce4aef
commit 6a29695be1
101 changed files with 187 additions and 13 deletions

View File

@ -91,6 +91,8 @@ install: all
$(INSTALL) -m 0644 cgit.png $(DESTDIR)$(CGIT_DATA_PATH)/cgit.png $(INSTALL) -m 0644 cgit.png $(DESTDIR)$(CGIT_DATA_PATH)/cgit.png
$(INSTALL) -m 0644 favicon.ico $(DESTDIR)$(CGIT_DATA_PATH)/favicon.ico $(INSTALL) -m 0644 favicon.ico $(DESTDIR)$(CGIT_DATA_PATH)/favicon.ico
$(INSTALL) -m 0644 robots.txt $(DESTDIR)$(CGIT_DATA_PATH)/robots.txt $(INSTALL) -m 0644 robots.txt $(DESTDIR)$(CGIT_DATA_PATH)/robots.txt
$(INSTALL) -m 0755 -d $(DESTDIR)$(CGIT_DATA_PATH)/source-code-pro
$(COPYTREE) source-code-pro/* $(DESTDIR)$(CGIT_DATA_PATH)/source-code-pro
$(INSTALL) -m 0755 -d $(DESTDIR)$(filterdir) $(INSTALL) -m 0755 -d $(DESTDIR)$(filterdir)
$(COPYTREE) filters/* $(DESTDIR)$(filterdir) $(COPYTREE) filters/* $(DESTDIR)$(filterdir)

View File

@ -1,3 +1,5 @@
@import url(source-code-pro/source-code-pro.css);
div#cgit { div#cgit {
padding: 0em; padding: 0em;
margin: 0em; margin: 0em;
@ -178,9 +180,12 @@ div#cgit table.list td {
} }
div#cgit table.list td.commitgraph { div#cgit table.list td.commitgraph {
font-family: monospace; font-family: "Source Code Pro", "Courier New", monospace;
white-space: pre; white-space: pre;
} }
div#cgit pre {
font-family: "Source Code Pro", "Courier New", monospace;
}
div#cgit table.list td.commitgraph .column1 { div#cgit table.list td.commitgraph .column1 {
color: #a00; color: #a00;
@ -207,12 +212,12 @@ div#cgit table.list td.commitgraph .column6 {
} }
div#cgit table.list td.logsubject { div#cgit table.list td.logsubject {
font-family: monospace; font-family: "Source Code Pro", "Courier New", monospace;
font-weight: bold; font-weight: bold;
} }
div#cgit table.list td.logmsg { div#cgit table.list td.logmsg {
font-family: monospace; font-family: "Source Code Pro", "Courier New", monospace;
white-space: pre; white-space: pre;
padding: 0 0.5em; padding: 0 0.5em;
} }
@ -281,17 +286,17 @@ div#cgit div.error {
} }
div#cgit a.ls-blob, div#cgit a.ls-dir, div#cgit .ls-mod { div#cgit a.ls-blob, div#cgit a.ls-dir, div#cgit .ls-mod {
font-family: monospace; font-family: "Source Code Pro", "Courier New", monospace;
} }
div#cgit td.ls-size { div#cgit td.ls-size {
text-align: right; text-align: right;
font-family: monospace; font-family: "Source Code Pro", "Courier New", monospace;
width: 10em; width: 10em;
} }
div#cgit td.ls-mode { div#cgit td.ls-mode {
font-family: monospace; font-family: "Source Code Pro", "Courier New", monospace;
width: 10em; width: 10em;
} }
@ -373,14 +378,14 @@ div#cgit table.bin-blob {
} }
div#cgit table.bin-blob th { div#cgit table.bin-blob th {
font-family: monospace; font-family: "Source Code Pro", "Courier New", monospace;
white-space: pre; white-space: pre;
border: solid 1px #777; border: solid 1px #777;
padding: 0.5em 1em; padding: 0.5em 1em;
} }
div#cgit table.bin-blob td { div#cgit table.bin-blob td {
font-family: monospace; font-family: "Source Code Pro", "Courier New", monospace;
white-space: pre; white-space: pre;
border-left: solid 1px #777; border-left: solid 1px #777;
padding: 0em 1em; padding: 0em 1em;
@ -443,7 +448,7 @@ div#cgit div.commit-subject {
div#cgit div.commit-msg { div#cgit div.commit-msg {
white-space: pre; white-space: pre;
font-family: monospace; font-family: "Source Code Pro", "Courier New", monospace;
} }
div#cgit div.notes-header { div#cgit div.notes-header {
@ -453,7 +458,7 @@ div#cgit div.notes-header {
div#cgit div.notes { div#cgit div.notes {
white-space: pre; white-space: pre;
font-family: monospace; font-family: "Source Code Pro", "Courier New", monospace;
border: solid 1px #ee9; border: solid 1px #ee9;
background-color: #ffd; background-color: #ffd;
padding: 0.3em 2em 0.3em 1em; padding: 0.3em 2em 0.3em 1em;
@ -543,7 +548,7 @@ div#cgit table.diff {
} }
div#cgit table.diff td { div#cgit table.diff td {
font-family: monospace; font-family: "Source Code Pro", "Courier New", monospace;
white-space: pre; white-space: pre;
} }
@ -566,7 +571,7 @@ div#cgit table.diff td div.del {
} }
div#cgit .oid { div#cgit .oid {
font-family: monospace; font-family: "Source Code Pro", "Courier New", monospace;
font-size: 90%; font-size: 90%;
} }
@ -805,7 +810,7 @@ div#cgit table.ssdiff {
div#cgit table.ssdiff td { div#cgit table.ssdiff td {
font-size: 75%; font-size: 75%;
font-family: monospace; font-family: "Source Code Pro", "Courier New", monospace;
white-space: pre; white-space: pre;
padding: 1px 4px 1px 4px; padding: 1px 4px 1px 4px;
border-left: solid 1px #aaa; border-left: solid 1px #aaa;

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More