From 677a3cad6932dcbea142198c3bcf97ca263c6087 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Colombaro?= Date: Sun, 3 Mar 2019 21:39:07 +0100 Subject: [PATCH] Add styles Fix #5 --- source/content.css | 33 ++++++++++++++++++++------------- source/popup.css | 9 +++++++++ 2 files changed, 29 insertions(+), 13 deletions(-) diff --git a/source/content.css b/source/content.css index 5c1a15a..2f8d8eb 100644 --- a/source/content.css +++ b/source/content.css @@ -3,15 +3,14 @@ z-index: 9999999999; top: 0; right: 0; - width: auto; - padding: 2rem; - margin: 2rem; - background: black; - color: white; - font-family: Arial, Helvetica, sans-serif; - font-size: 14px; - opacity: 0.9; - text-align: right; + width: 250px !important; + padding: 2em !important; + margin: 2em !important; + background: rgba(0, 0, 0, 0.8) !important; + color: white !important; + font-family: Arial, Helvetica, sans-serif !important; + font-size: 14px !important; + text-align: left !important; border-radius: 0.2em; box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.27); } @@ -21,12 +20,20 @@ .qui-possede-les-medias-box a:visited, .qui-possede-les-medias-box a:active, .qui-possede-les-medias-box a:focus { - text-decoration: underline; - color: #edb200; + text-decoration: underline !important; + color: #edb200 !important; } /* mouse over link */ .qui-possede-les-medias-box a:hover { - text-decoration: none; - color: #edb200; + text-decoration: none !important; + color: #edb200 !important; +} + +.qui-possede-les-medias-button { + background: none !important; + color: white !important; + border: none !important; + float: right !important; + margin: -1.5em !important; } diff --git a/source/popup.css b/source/popup.css index f4335ee..843c0c7 100644 --- a/source/popup.css +++ b/source/popup.css @@ -1,3 +1,12 @@ +:root { + width: 250px; + padding: 1em; + background: black; + color: white; + font-family: Arial, Helvetica, sans-serif; + font-size: 20px; +} + /* link */ .qui-possede-les-medias-box a:link, .qui-possede-les-medias-box a:visited,