From 4775574d6ab7e0de0352c70ba53aa5c8e012e76a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Wed, 20 Jan 2021 18:30:36 +0100 Subject: Reduce font-size for title and block --- sass/style/cgit.sass | 4 ++-- sass/style/style.sass | 30 +++++++++++++----------------- 2 files changed, 15 insertions(+), 19 deletions(-) (limited to 'sass') diff --git a/sass/style/cgit.sass b/sass/style/cgit.sass index c79117e..3ef2fd8 100644 --- a/sass/style/cgit.sass +++ b/sass/style/cgit.sass @@ -51,7 +51,7 @@ a table border-collapse: collapse &.tabs - border-bottom: solid 3px $grey_2 + border-bottom: solid 3px $grey_1 border-collapse: collapse margin-top: 2em margin-bottom: 0px @@ -65,7 +65,7 @@ table font-size: 110% &.active color: $black - background-color: $grey_2 + background-color: $grey_1 &.form text-align: right form diff --git a/sass/style/style.sass b/sass/style/style.sass index e0afc79..1d60794 100644 --- a/sass/style/style.sass +++ b/sass/style/style.sass @@ -12,14 +12,18 @@ body background-color: $bg - font-family: "monospace" margin: 0 1em 0 1em padding: 0 width: 80ch -header nav - border-bottom: solid 2px $grey_1 - margin-bottom: 1em +header + & div * + display: inline-block + vertical-align: middle + + & nav + border-bottom: solid 2px $grey_1 + margin-bottom: 1em footer margin: 2em 0 2em 0 @@ -29,24 +33,16 @@ footer text-align: center max-width: none -h1 - font-size: 3em - -h2 - font-size: 2em - margin: 1.2em 0 .6em 0 - -h3 - font-size: 1.3em +h1, h2, h3, h4, h5 + font-weight: normal a background-color: $grey_1 padding: .1em color: $fg -a[href^="http"] - background: url(/images/external.svg) center right no-repeat $grey; - padding-right: 1em +hr + border-bottom: solid .1em $grey article background-color: $grey @@ -57,7 +53,6 @@ p overflow: hidden blockquote - min-width: 100% margin: 1em 0 1em 0 padding: .4em font-weight: 100 @@ -82,6 +77,7 @@ table border-collapse: collapse min-width: 100% display: table + font-size: 10pt th, td border: 0 $grey_1 solid padding: .4em 1em .4em 1em -- cgit v1.2.3