summaryrefslogtreecommitdiff
path: root/tests/driver.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/driver.html')
-rw-r--r--tests/driver.html12
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/driver.html b/tests/driver.html
index e4508ec..687d704 100644
--- a/tests/driver.html
+++ b/tests/driver.html
@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="shortcut icon" type="image/svg+xml" href="../src/content/img/favicon.svg" />
- <title>Papo | webapp tests</title>
+ <title>Papo | chat.papo.im test suite</title>
<style>
:root {
--color-fg: black;
@@ -12,15 +12,17 @@
--color-red: red;
--color-green: green;
--color-yellow: goldenrod;
+ --color-pre-bg: #eee;
}
- @media(prefers-color-scheme: dark) {
+ @media (prefers-color-scheme: dark) {
:root {
--color-fg: white;
--color-bg: black;
--color-red: orangered;
--color-green: lightgreen;
--color-yellow: yellow;
+ --color-pre-bg: #111;
}
}
@@ -42,6 +44,12 @@
.yellow {
color: var(--color-yellow);
}
+
+ pre, code {
+ background-color: var(--color-pre-bg);
+ border-radius: 5px;
+ padding: 5px;
+ }
</style>
<script type="module">
import { main } from "./browser-driver.js";