summaryrefslogtreecommitdiffstats
path: root/sass
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2021-01-20 18:30:36 +0100
committerRomain Gonçalves <me@rgoncalves.se>2021-01-20 18:30:36 +0100
commit4775574d6ab7e0de0352c70ba53aa5c8e012e76a (patch)
tree0790f1fe03ea1afbc81689f4c4be747beacaba6e /sass
parentbc8f94bc5e77e32b59adb1d61b62123027ddd491 (diff)
downloadwebsite-4775574d6ab7e0de0352c70ba53aa5c8e012e76a.tar.gz
Reduce font-size for title and block
Diffstat (limited to 'sass')
-rw-r--r--sass/style/cgit.sass4
-rw-r--r--sass/style/style.sass30
2 files changed, 15 insertions, 19 deletions
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
remember that computers suck.