From 9fdb47c7ea50165cee797d2aad4614f2db157c97 Mon Sep 17 00:00:00 2001 From: EkaterinaVu Date: Thu, 17 Sep 2020 13:37:57 +0200 Subject: [PATCH 1/2] Add common CSS styles --- src/assets/css/common.css | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/assets/css/common.css b/src/assets/css/common.css index 128449a4..80e2489d 100644 --- a/src/assets/css/common.css +++ b/src/assets/css/common.css @@ -47,6 +47,8 @@ body { a { cursor: pointer; + color: inherit; + border: 1px solid; } a, @@ -57,6 +59,11 @@ a:focus { text-decoration: none; } +a:hover, +a:active { + border: none; +} + *, *:before, *:after { @@ -71,6 +78,16 @@ ul { margin-bottom: 22px; } +img { + max-width: 100%; + height: auto; + margin-bottom: 22px; +} + +table { + margin-bottom: 22px; +} + /*utils*/ .text-thin { font-weight: 300; From 31724c2d2fa1381066002cc9fdd0e365f6443dab Mon Sep 17 00:00:00 2001 From: Nikola P Date: Thu, 17 Sep 2020 13:58:31 +0200 Subject: [PATCH 2/2] Link styles fix --- src/assets/css/common.css | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/src/assets/css/common.css b/src/assets/css/common.css index 80e2489d..9506694f 100644 --- a/src/assets/css/common.css +++ b/src/assets/css/common.css @@ -47,8 +47,6 @@ body { a { cursor: pointer; - color: inherit; - border: 1px solid; } a, @@ -59,11 +57,6 @@ a:focus { text-decoration: none; } -a:hover, -a:active { - border: none; -} - *, *:before, *:after { @@ -73,7 +66,8 @@ a:active { } ol, -ul { +ul, +table { margin-top: 0; margin-bottom: 22px; } @@ -84,10 +78,6 @@ img { margin-bottom: 22px; } -table { - margin-bottom: 22px; -} - /*utils*/ .text-thin { font-weight: 300;