[epiphany/gnome-3-30] Reader mode: Add styling for <mark> elements



commit 98bb5fc46c31b9917412b1bde658dccd59c5f3fa
Author: Adrian Perez de Castro <aperez igalia com>
Date:   Tue Sep 11 19:05:38 2018 +0000

    Reader mode: Add styling for <mark> elements
    
    Fixes #46
    
    
    (cherry picked from commit 0beb9b4c711a44e882d8eab1a7f8202fcbb84180)

 src/resources/reader.css | 12 ++++++++++++
 1 file changed, 12 insertions(+)
---
diff --git a/src/resources/reader.css b/src/resources/reader.css
index 878e66070..21c0939e3 100644
--- a/src/resources/reader.css
+++ b/src/resources/reader.css
@@ -134,3 +134,15 @@ article {
   font-size: 18px;
   word-wrap:break-word;
 }
+
+mark {
+  padding: 2px;
+  margin: -2px;
+  border-radius: 3px;
+  background: #d7d7d8;
+}
+
+body.dark mark {
+  background: #282828;
+  color: #efefef;
+}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]