From 83df06bc1b71ddbb896c04d3984213790a1cbf52 Mon Sep 17 00:00:00 2001 From: Yash Mehrotra Date: Thu, 8 Jul 2021 18:20:57 +0530 Subject: [PATCH 1/4] Change tag colors --- themes/gokarna/static/css/dark.css | 11 +++++++++++ themes/gokarna/static/css/main.css | 15 +++++++-------- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/themes/gokarna/static/css/dark.css b/themes/gokarna/static/css/dark.css index e1484ff..588b8a1 100644 --- a/themes/gokarna/static/css/dark.css +++ b/themes/gokarna/static/css/dark.css @@ -17,6 +17,17 @@ a { color: #484848; !important } + +.post-tags .post-tag { + border: 1px solid white; + color: white; +} + +.post-tags .post-tag:hover { + background-color: white; + color: black; +} + .footer { border-top-color: #333 !important; } diff --git a/themes/gokarna/static/css/main.css b/themes/gokarna/static/css/main.css index 143d503..28bf5b9 100644 --- a/themes/gokarna/static/css/main.css +++ b/themes/gokarna/static/css/main.css @@ -22,7 +22,7 @@ a { } a:hover { - color: var(--accent-color) !important; + color: var(--accent-color); } main#content { @@ -50,7 +50,7 @@ img { } .header a { - color: inherit; + /* color: inherit; */ text-decoration: none; } .header .header-nav { @@ -153,18 +153,17 @@ img { padding: 0; } .post-tags .post-tag { - background-color: var(--accent-color); - border: 1px solid var(--accent-color); + border: 1px solid black; border-radius: 4px; box-sizing: border-box; - color: white; + color: black; display: inline-block; font-size: 14px; - padding: 4px 12px; + padding: 6px 12px; } .post-tags .post-tag:hover { - background-color: #3d86d2; - border: 1px solid #3d86d2; + background-color: black; + color: white; } .post-tag a { color: inherit; From b44e3cb126b430a67e9528c041c352a084641742 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Avijit=20=F0=9F=9A=80?= <526avijit@gmail.com> Date: Thu, 8 Jul 2021 15:45:11 +0200 Subject: [PATCH 2/4] Minor css fixes --- themes/gokarna/static/css/main.css | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/themes/gokarna/static/css/main.css b/themes/gokarna/static/css/main.css index 28bf5b9..888dfa7 100644 --- a/themes/gokarna/static/css/main.css +++ b/themes/gokarna/static/css/main.css @@ -19,6 +19,7 @@ body { a { color: black; + text-decoration: none; } a:hover { @@ -48,16 +49,10 @@ img { top: 0; width: 100%; } - -.header a { - /* color: inherit; */ - text-decoration: none; -} .header .header-nav { height: 50px; margin-top: 0; } - .header-nav .avatar { border-radius: 18px; float: left; From cbbff75c4338271642672fd8323e760bc2aaa5cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Avijit=20=F0=9F=9A=80?= <526avijit@gmail.com> Date: Sat, 10 Jul 2021 05:03:38 +0200 Subject: [PATCH 3/4] Revert "Minor css fixes" This reverts commit e521bd38404c580a105c1458427170403a5ca33d. --- themes/gokarna/static/css/main.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/themes/gokarna/static/css/main.css b/themes/gokarna/static/css/main.css index 888dfa7..28bf5b9 100644 --- a/themes/gokarna/static/css/main.css +++ b/themes/gokarna/static/css/main.css @@ -19,7 +19,6 @@ body { a { color: black; - text-decoration: none; } a:hover { @@ -49,10 +48,16 @@ img { top: 0; width: 100%; } + +.header a { + /* color: inherit; */ + text-decoration: none; +} .header .header-nav { height: 50px; margin-top: 0; } + .header-nav .avatar { border-radius: 18px; float: left; From d5de17d87a87872b58bfcf6b479cf85d4bbe4c7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Avijit=20=F0=9F=9A=80?= <526avijit@gmail.com> Date: Sat, 10 Jul 2021 05:36:39 +0200 Subject: [PATCH 4/4] Fixes --- themes/gokarna/static/css/dark.css | 12 ++++++++++-- themes/gokarna/static/css/main.css | 11 +++++++++-- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/themes/gokarna/static/css/dark.css b/themes/gokarna/static/css/dark.css index 588b8a1..f01aa88 100644 --- a/themes/gokarna/static/css/dark.css +++ b/themes/gokarna/static/css/dark.css @@ -14,10 +14,9 @@ a { } .nav-links .nav-icons-divider { - color: #484848; !important + color: #484848; } - .post-tags .post-tag { border: 1px solid white; color: white; @@ -28,6 +27,15 @@ a { color: black; } +.tags-list .post-tags .post-tag a .tag-posts-count { + background-color: #1f1f1f; +} + +.tags-list .post-tags .post-tag:hover a .tag-posts-count { + background-color: white; + color: black; +} + .footer { border-top-color: #333 !important; } diff --git a/themes/gokarna/static/css/main.css b/themes/gokarna/static/css/main.css index 28bf5b9..b5cc989 100644 --- a/themes/gokarna/static/css/main.css +++ b/themes/gokarna/static/css/main.css @@ -50,7 +50,6 @@ img { } .header a { - /* color: inherit; */ text-decoration: none; } .header .header-nav { @@ -159,7 +158,6 @@ img { color: black; display: inline-block; font-size: 14px; - padding: 6px 12px; } .post-tags .post-tag:hover { background-color: black; @@ -167,6 +165,8 @@ img { } .post-tag a { color: inherit; + display: block; + padding: 6px 12px; text-decoration: none; } @@ -269,11 +269,18 @@ blockquote { margin: 0 5px; padding: 0; } +.tags-list .post-tags .post-tag a { + padding: 0; +} + .tags-list .post-tags .post-tag a div { display: inline-block; +} +.tags-list .post-tags .post-tag a .tag-name { padding: 5px 8px; } .tags-list .post-tags .post-tag a .tag-posts-count { background: rgba(0, 0, 0, 0.1); opacity: 0.8; + padding: 6px; }