diff --git a/assets/css/buttons.scss b/assets/css/buttons.scss index 2adc317..d0b988d 100644 --- a/assets/css/buttons.scss +++ b/assets/css/buttons.scss @@ -12,7 +12,7 @@ a.button { align-items: center; justify-content: center; padding: 8px 18px; - margin-bottom: 5px; + margin: 5px 0; text-decoration: none; text-align: center; border-radius: 8; diff --git a/assets/css/form.scss b/assets/css/form.scss index 5ce8a04..78a1080 100644 --- a/assets/css/form.scss +++ b/assets/css/form.scss @@ -4,6 +4,7 @@ input, textarea, select { border: 1px solid $accent; border-radius: 0; padding: 10px; + margin: 5px 0; font: inherit; appearance: none; @@ -28,3 +29,15 @@ select { ::placeholder { color: transparentize($accent, .5); } + +input { + &[type="checkbox"] { + vertical-align: middle; + padding: 10px; + box-shadow: inset 0 0 0 3px $background; + + &:checked { + background: $accent; + } + } +} diff --git a/assets/css/post.scss b/assets/css/post.scss index 7fea526..0457ef7 100644 --- a/assets/css/post.scss +++ b/assets/css/post.scss @@ -33,6 +33,14 @@ font-size: 1rem; margin-bottom: 10px; color: transparentize($accent, .3); + + & > *:not(:first-child) { + &::before { + content: "::"; + display: inline-block; + margin: 0 8px; + } + } } &-title { @@ -72,16 +80,6 @@ margin-top: 30px; } - input[type="checkbox"] { - vertical-align: middle; - padding: 5px; - margin: 0 .2em .25em -.2em; - } - - input[type="checkbox"]:checked { - background: $accent; - } - &-cover { border: 20px solid $accent; background: transparent; diff --git a/assets/css/style.scss b/assets/css/style.scss index 37bff52..f32f759 100644 --- a/assets/css/style.scss +++ b/assets/css/style.scss @@ -16,5 +16,4 @@ @import "syntax"; @import "code"; @import "terms"; -@import "term"; @import "gist"; diff --git a/assets/css/term.scss b/assets/css/term.scss deleted file mode 100644 index fdc58bb..0000000 --- a/assets/css/term.scss +++ /dev/null @@ -1,3 +0,0 @@ -h1.term { - color: $accent; -} diff --git a/assets/css/terms.scss b/assets/css/terms.scss index 0c9a61b..e2fcec9 100644 --- a/assets/css/terms.scss +++ b/assets/css/terms.scss @@ -1,9 +1,22 @@ .terms { - h1 { - color: $accent; - } - h3 { font-size: initial; } + + ul { + list-style: none; + + li { + a { + color: $accent; + } + } + + li:not(:empty):before { + content: '-'; + position: absolute; + left: -20px; + color: $accent; + } + } } diff --git a/layouts/_default/index.html b/layouts/_default/index.html index 62bbf0e..18bb51e 100644 --- a/layouts/_default/index.html +++ b/layouts/_default/index.html @@ -21,14 +21,14 @@
{{ if .Params.tags }} diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 6dde597..0696b0a 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -11,14 +11,14 @@ {{ .Title | markdownify }} {{ if .Params.tags }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 4485c64..67c9b60 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -4,20 +4,20 @@ {{ .Title | markdownify }} {{ if .Params.tags }} diff --git a/layouts/_default/term.html b/layouts/_default/term.html index d01cc9d..5ce11c2 100644 --- a/layouts/_default/term.html +++ b/layouts/_default/term.html @@ -1,5 +1,5 @@ {{ define "main" }} -