From ea8a576f7edaeff401df753243142aa484ee5561 Mon Sep 17 00:00:00 2001
From: symant233 <symant233@gmail.com>
Date: Wed, 11 Dec 2019 18:52:27 +0800
Subject: [PATCH] remove webkit tap color and outline

---
 nhentai/viewer/main.css   |  9 ++++++++-
 nhentai/viewer/styles.css | 10 ++++++++++
 2 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/nhentai/viewer/main.css b/nhentai/viewer/main.css
index 60494e3..5ddd17e 100644
--- a/nhentai/viewer/main.css
+++ b/nhentai/viewer/main.css
@@ -64,7 +64,8 @@ sup {
 }
 
 img {
-    border-style: none
+    border-style: none;
+    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
 }
 
 label {
@@ -252,4 +253,10 @@ html.theme-black code {
     color: #ed2553;
     border: none;
     background-color: #292929
+}
+
+:focus {
+    outline: 0;
+    border:none;
+    color: rgba(0, 0, 0, 0);
 }
\ No newline at end of file
diff --git a/nhentai/viewer/styles.css b/nhentai/viewer/styles.css
index 2a3d16c..ac3dc47 100644
--- a/nhentai/viewer/styles.css
+++ b/nhentai/viewer/styles.css
@@ -78,4 +78,14 @@ html, body {
     nav {
         display: none;
     }
+}
+
+div {
+    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
+}
+
+:focus {
+    outline: 0;
+    border:none;
+    color: rgba(0, 0, 0, 0);
 }
\ No newline at end of file