diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2021-01-20 18:30:36 +0100 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2021-01-20 18:30:36 +0100 |
commit | 4775574d6ab7e0de0352c70ba53aa5c8e012e76a (patch) | |
tree | 0790f1fe03ea1afbc81689f4c4be747beacaba6e | |
parent | bc8f94bc5e77e32b59adb1d61b62123027ddd491 (diff) | |
download | website-4775574d6ab7e0de0352c70ba53aa5c8e012e76a.tar.gz |
Reduce font-size for title and block
-rw-r--r-- | content/services.md | 2 | ||||
-rw-r--r-- | sass/style/cgit.sass | 4 | ||||
-rw-r--r-- | sass/style/style.sass | 30 |
3 files changed, 16 insertions, 20 deletions
diff --git a/content/services.md b/content/services.md index 83a8c87..c389b59 100644 --- a/content/services.md +++ b/content/services.md @@ -12,7 +12,7 @@ openbsd and pf. | ----------- | ------------------------- | ----------- | ----------- | | minecraft | rgoncalves.se[:25565] | yes | yes | | factorio | rgoncalves.se[:34197] | yes | yes | -| git | git.rgoncalves.se | yes | yes | +| cgit | git.rgoncalves.se | yes | yes | | nextcloud | cloud.rgoncalves.se | no | no | | sourcehut | srht.rgoncalves.se | no | no | 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 |