From fc6fd4a3c53fc53eac23aa0fcdfe0d695f100ada Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Thu, 24 Oct 2019 13:07:28 -0300 Subject: [PATCH] Putting a things a bit more tidy --- sass/buttons.scss | 2 +- sass/footnote.scss | 11 +++++++++++ sass/header.scss | 2 +- sass/main.scss | 8 ++++---- sass/post.scss | 18 +++++++++--------- sass/style.scss | 1 + templates/index.html | 2 +- 7 files changed, 28 insertions(+), 16 deletions(-) create mode 100644 sass/footnote.scss diff --git a/sass/buttons.scss b/sass/buttons.scss index 7a864b0..e37ac06 100644 --- a/sass/buttons.scss +++ b/sass/buttons.scss @@ -66,7 +66,7 @@ a.read-more:active { background: none; box-shadow: none; padding: 0; - margin: 20px 0; + // margin: 8px 0; max-width: 100%; } diff --git a/sass/footnote.scss b/sass/footnote.scss new file mode 100644 index 0000000..03fc9bc --- /dev/null +++ b/sass/footnote.scss @@ -0,0 +1,11 @@ +@import "variables"; + +.footnote { + &-definition { + margin-bottom: 8px; + + p { + display: inline; + } + } +} diff --git a/sass/header.scss b/sass/header.scss index 703bbec..9933151 100644 --- a/sass/header.scss +++ b/sass/header.scss @@ -42,7 +42,7 @@ } .menu { - margin: 20px 0; + margin: 20px 0 0; &__inner { display: flex; diff --git a/sass/main.scss b/sass/main.scss index ec2aec0..7addec9 100644 --- a/sass/main.scss +++ b/sass/main.scss @@ -147,10 +147,10 @@ pre { } blockquote { - border-top: 1px solid var(--accent); - border-bottom: 1px solid var(--accent); - margin: 40px 0; - padding: 25px; + // border-top: 1px solid var(--accent); + // border-bottom: 1px solid var(--accent); + margin: 8px 50px; + padding: 8px; @media (max-width: $phone-max-width) { padding-right: 0; diff --git a/sass/post.scss b/sass/post.scss index e85e480..2423f89 100644 --- a/sass/post.scss +++ b/sass/post.scss @@ -7,16 +7,16 @@ .post { width: 100%; text-align: left; - margin: 20px auto; + margin: 8px auto; padding: 20px 0; @media (max-width: $tablet-max-width) { max-width: 660px; } - &:not(:last-of-type) { - border-bottom: 1px solid var(--border-color); - } + // &:not(:last-of-type) { + // border-bottom: 1px solid var(--border-color); + // } %meta { font-size: 1rem; @@ -35,11 +35,11 @@ } &-title { - --border: 2px dashed var(--accent); + // --border: 2px dashed var(--accent); position: relative; color: var(--accent); - margin: 0 0 15px; - padding-bottom: 15px; + margin: 0 0 8px; + // padding-bottom: 15px; border-bottom: var(--border); font-weight: normal; @@ -71,7 +71,7 @@ } &-content { - margin-top: 30px; + margin-top: 8px; } &-cover { @@ -131,4 +131,4 @@ .post-tag { text-decoration: underline; } -} \ No newline at end of file +} diff --git a/sass/style.scss b/sass/style.scss index 3a289d7..a63de68 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -6,3 +6,4 @@ @import 'post'; @import 'pagination'; @import 'footer'; +@import 'footnote'; diff --git a/templates/index.html b/templates/index.html index 3d87910..dd8a5d2 100644 --- a/templates/index.html +++ b/templates/index.html @@ -103,7 +103,7 @@ :: - Theme: Terminimal by pawroman + Theme: Terminimal-Minimal by Julio Biason {% endif -%}