diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-05-01 14:16:56 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-05-01 14:16:56 +0530 |
commit | 609397d95a73bdae55de41c47b19932e810d0320 (patch) | |
tree | 34fb9168eb25567c2d14daa5f69301d6932d58c1 /webextension/static/style/wallet.css | |
parent | 3f52d293be88f19e8e68aaa8ee6a80cd6c7cc47a (diff) | |
download | wallet-core-609397d95a73bdae55de41c47b19932e810d0320.tar.xz |
drastically reduce permissions for Web integration
The old web integration with more permissions is still available on an
opt-in basis.
Diffstat (limited to 'webextension/static/style/wallet.css')
-rw-r--r-- | webextension/static/style/wallet.css | 35 |
1 files changed, 21 insertions, 14 deletions
diff --git a/webextension/static/style/wallet.css b/webextension/static/style/wallet.css index 16a414b3d..7c06f2386 100644 --- a/webextension/static/style/wallet.css +++ b/webextension/static/style/wallet.css @@ -1,14 +1,15 @@ body { font-size: 100%; overflow-y: scroll; + margin-top: 2em; } #main { - border: solid 1px black; + border: solid 5px black; border-radius: 10px; margin-left: auto; margin-right: auto; - margin-top: 2em; + padding-top: 2em; max-width: 50%; padding: 2em; } @@ -18,16 +19,6 @@ header { height: 100px; margin: 0; padding: 0; - border-bottom: 1px solid black; -} - -header h1 { - font-size: 200%; - margin: 0; - padding: 0 0 0 120px; - position: relative; - top: 50%; - transform: translateY(-50%); } header #logo { @@ -37,7 +28,6 @@ header #logo { padding: 0; margin: 0; text-align: center; - border-right: 1px solid black; background-image: url(/img/logo.png); background-size: 100px; } @@ -50,7 +40,6 @@ aside { section#main { margin: auto; padding: 20px; - border-left: 1px solid black; height: 100%; max-width: 50%; } @@ -61,19 +50,23 @@ section#main h1:first-child { h1 { font-size: 160%; + font-family: "monospace"; } h2 { font-size: 140%; + font-family: "monospace"; } h3 { font-size: 120%; + font-family: "monospace"; } h4, h5, h6 { + font-family: "monospace"; font-size: 100%; } @@ -281,3 +274,17 @@ a.opener { object.svg-icon.svg-baseline { transform: translate(0, 0.125em); } + +.switch { + position: relative; + display: inline-block; + width: 60px; + height: 34px; +} + +/* Hide default HTML checkbox */ +.switch input { + opacity: 0; + width: 0; + height: 0; +}
\ No newline at end of file |