From 12669e73a175196598023284523301af97887a0d Mon Sep 17 00:00:00 2001 From: panr Date: Tue, 24 Jul 2018 23:35:46 +0200 Subject: [PATCH] Add minor fixes (buttons, headers) --- source/css/buttons.css | 9 ++++++++- source/css/list.css | 2 +- source/css/main.css | 1 + 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/source/css/buttons.css b/source/css/buttons.css index 690f372..afdc85b 100644 --- a/source/css/buttons.css +++ b/source/css/buttons.css @@ -4,6 +4,7 @@ margin-right: auto; } +button, .button, a.button { position: relative; @@ -24,16 +25,22 @@ a.button { .dark-theme & { background: var(--dark-background-secondary); + color: inherit; } /* variants */ &.outline { background: transparent; - border-color: rgba(0, 0, 0, .2); + border-color: var(--light-background-secondary); box-shadow: none; padding: 8px 18px; + .dark-theme & { + border-color: var(--dark-background-secondary); + color: inherit; + } + :hover { transform: none; box-shadow: none; diff --git a/source/css/list.css b/source/css/list.css index 509f843..e96da64 100644 --- a/source/css/list.css +++ b/source/css/list.css @@ -34,7 +34,7 @@ &-title { font-size: 2.625rem; - margin: 0; + margin: 0 0 20px; @media (--phone) { font-size: 2rem; diff --git a/source/css/main.css b/source/css/main.css index 5cb4ebf..fff3bb6 100644 --- a/source/css/main.css +++ b/source/css/main.css @@ -35,6 +35,7 @@ body { h1, h2, h3, h4, h5, h6 { display: flex; align-items: center; + line-height: 1.43; } h1 {