From a6a0a341752bdca8f7afe6a5d8492a343345d804 Mon Sep 17 00:00:00 2001 From: danix Date: Sun, 26 Feb 2023 07:00:42 +0100 Subject: [PATCH] Adding custom fonts modified: gitweb-danixland/gitweb.css --- gitweb-danixland/gitweb.css | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/gitweb-danixland/gitweb.css b/gitweb-danixland/gitweb.css index a7dd0aa..a157fdc 100644 --- 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 ------------------------------------------------------------------------- */ @@ -61,7 +65,7 @@ a { outline: none; } } -/* General - light theme +/* General ---------------------------------------------------------------------------- */ html { @@ -70,7 +74,7 @@ html { } 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); @@ -79,7 +83,7 @@ body { /* 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 { @@ -793,7 +797,7 @@ div.site-header { } div.site-header h1 { text-transform: uppercase; - font-size: 3em; + font-size: 2em; } div.site-header h1 span.evident { background-color: var(--accent); -- 2.20.1