aboutsummaryrefslogtreecommitdiff
path: root/templates/assets/site.css
diff options
context:
space:
mode:
Diffstat (limited to 'templates/assets/site.css')
-rw-r--r--templates/assets/site.css62
1 files changed, 62 insertions, 0 deletions
diff --git a/templates/assets/site.css b/templates/assets/site.css
new file mode 100644
index 0000000..65fb4ce
--- /dev/null
+++ b/templates/assets/site.css
@@ -0,0 +1,62 @@
1html {
2 display: grid;
3 grid-template-columns: [left] 10% [main] auto [right] 10%;
4 grid-template-rows: [main] auto;
5}
6body {
7 grid-column: main;
8 grid-row: main;
9}
10table {
11 width: 100%;
12 border: 1px solid black;
13 border-collapse: collapse;
14}
15td, th {
16 border: 1px solid black;
17 padding: 0.5em;
18}
19th {
20 background-color: #CCCCCC;
21}
22textarea {
23 height: 10em;
24 width: 100%;
25 resize: none;
26}
27a, a:visited {
28 color: blue;
29}
30h1 {
31 text-align: center;
32}
33tt {
34 background-color: #CCC;
35 border: 1px solid #999;
36 padding: 0.25em;
37}
38#api-key {
39 margin: auto;
40}
41#api-key textarea {
42 height: 100%;
43}
44#api-error {
45 border: 0.25em solid red;
46 color: white;
47 font-size: 2em;
48 background-color: #ff8080;
49 padding: 1em;
50 text-align: center;
51 display: none;
52}
53#account-table tr td:nth-child(2),
54#account-table tr td:nth-child(3) {
55 text-align: center;
56}
57.admin {
58 display: none;
59}
60body.isAdmin .admin {
61 display: initial;
62}