]> git.wh0rd.org - chrome-ext/web-power-switch.git/blobdiff - popup.html
options: improve field handling
[chrome-ext/web-power-switch.git] / popup.html
index fa89f3ebd0bd16c6e62b29c79e94a561650eb698..37ea2a8f9af520789e770ccb017b1c18c2433af9 100644 (file)
@@ -13,8 +13,10 @@ table#buttons {
        border-collapse: collapse;
 }
 body {
-       margin: 0px;
+       margin: 1px;
        padding: 0px;
+       font-family: Arial, sans-serif;
+       font-size: smaller;
 }
 td {
        white-space: nowrap;
@@ -23,6 +25,12 @@ div#status {
        white-space: nowrap;
 }
 </style>
+<style media='(prefers-color-scheme: dark)'>
+html {
+       background-color: black;
+       filter: invert(1);
+}
+</style>
 </head>
 
 <body>