Skip to content

Commit 4b7ce6e

Browse files
ltuikovJunio C Hamano
authored andcommitted
gitweb.css: Use monospace fonts for commits and tree-diff.
Use monospace fonts for the commit header, commit message, and tree-diff. This helps viewing commit logs with ASCII art. Signed-off-by: Luben Tuikov <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 3dffd2c commit 4b7ce6e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

gitweb/gitweb.css

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ div.page_footer_text {
6060

6161
div.page_body {
6262
padding: 8px;
63+
font-family: monospace;
6364
}
6465

6566
div.title, a.title {
@@ -79,6 +80,7 @@ div.title_text {
7980
padding: 6px 0px;
8081
border: solid #d9d8d1;
8182
border-width: 0px 0px 1px;
83+
font-family: monospace;
8284
}
8385

8486
div.log_body {
@@ -142,8 +144,13 @@ table {
142144
padding: 8px 4px;
143145
}
144146

145-
table.project_list, table.diff_tree {
147+
table.project_list {
148+
border-spacing: 0;
149+
}
150+
151+
table.diff_tree {
146152
border-spacing: 0;
153+
font-family: monospace;
147154
}
148155

149156
table.blame {

0 commit comments

Comments
 (0)