danix
's git repository
home
/
my projects
/
gitweb-theme-danix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding custom fonts
[gitweb-theme-danix.git]
/
gitweb-danixland
/
gitweb.css
diff --git
a/gitweb-danixland/gitweb.css
b/gitweb-danixland/gitweb.css
index
543b37b
..
a157fdc
100644
(file)
--- a/
gitweb-danixland/gitweb.css
+++ b/
gitweb-danixland/gitweb.css
@@
-1,3
+1,7
@@
+/* Fonts
+------------------------------------------------------------------------- */
+@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,200;0,400;0,600;1,400;1,600&family=Red+Hat+Mono&display=swap');
+
/* Reset
------------------------------------------------------------------------- */
/* Reset
------------------------------------------------------------------------- */
@@
-61,7
+65,7
@@
a { outline: none; }
}
}
-/* General
- light theme
+/* General
---------------------------------------------------------------------------- */
html {
---------------------------------------------------------------------------- */
html {
@@
-70,7
+74,7
@@
html {
}
body {
}
body {
- font: 13px Helvetica,arial,freesans,clean,sans-serif;
+ font: 13px
'Montserrat',
Helvetica,arial,freesans,clean,sans-serif;
line-height: 1.4;
margin: 0 0 105px;
background-color: var(--bg);
line-height: 1.4;
margin: 0 0 105px;
background-color: var(--bg);
@@
-79,7
+83,7
@@
body {
/* Monospaced Fonts */
.sha1, .mode, .diff_tree .list, .pre, .diff, .patchset {
/* Monospaced Fonts */
.sha1, .mode, .diff_tree .list, .pre, .diff, .patchset {
- font-family: 'Consolas','Bitstream Vera Sans Mono',monospace;
+ font-family: '
Red Hat Mono','
Consolas','Bitstream Vera Sans Mono',monospace;
}
a:link, a:visited {
}
a:link, a:visited {
@@
-789,9
+793,11
@@
td.pre, div.pre, div.diff {
div.site-header {
background-color: var(--bg-alt);
color: var(--fg);
div.site-header {
background-color: var(--bg-alt);
color: var(--fg);
+ padding: 1em;
}
div.site-header h1 {
text-transform: uppercase;
}
div.site-header h1 {
text-transform: uppercase;
+ font-size: 2em;
}
div.site-header h1 span.evident {
background-color: var(--accent);
}
div.site-header h1 span.evident {
background-color: var(--accent);