From ca2686959fafe75d98823e552b133ac964e1b303 Mon Sep 17 00:00:00 2001 From: Bangara Raju Kottedi Date: Sun, 27 Aug 2023 22:28:47 +0530 Subject: [PATCH] remark42 custom style changes - not working --- _includes/comments/remark42.html | 83 ++++++++++++++++++++++++-------- _includes/head.html | 1 + assets/css/remark42.css | 15 ++++++ 3 files changed, 78 insertions(+), 21 deletions(-) create mode 100644 assets/css/remark42.css diff --git a/_includes/comments/remark42.html b/_includes/comments/remark42.html index 9c50ac0..296e5a8 100644 --- a/_includes/comments/remark42.html +++ b/_includes/comments/remark42.html @@ -1,35 +1,76 @@ + +
\ No newline at end of file diff --git a/_includes/head.html b/_includes/head.html index f017f59..f663fa0 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -89,6 +89,7 @@ var siteId = "{{site.id}}"; var postId = "{{page.title}}"; var remark42Host = "{{ site.comments.remark42.host }}"; + var remark42Style = "{{ '/assets/css/remark42.css' | relative_url }}" function ajax(url) { return new Promise(function (resolve, reject) { diff --git a/assets/css/remark42.css b/assets/css/remark42.css new file mode 100644 index 0000000..a522f9c --- /dev/null +++ b/assets/css/remark42.css @@ -0,0 +1,15 @@ +.comment-form__markdown-link { + color: rgba(117, 117, 117, .9); +} + +.E_A { + background-color: rgba(117, 117, 117, .9) !important; +} + +.E_A:focus { + background-color: rgba(117, 117, 117, .9); +} + +.E_A:hover { + background-color: #1d1d1d; +} \ No newline at end of file