-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathstyles.css
More file actions
79 lines (79 loc) · 1.57 KB
/
Copy pathstyles.css
File metadata and controls
79 lines (79 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
:root {
--canvas: #eee;
--body: #f8f8f8;
--text: #000;
--shadow: #666;
--h1: green;
--separator: #999;
--link: #369;
--bookmarkbg: #369;
--bookmarkcolour: #fff;
--buttonhover: #69c;
--buttonhovertext: #333;
--footercolour: #999;
--footerbg: #666;
}
@media (prefers-color-scheme: dark) {
:root {
--canvas: #111;
--body: #222;
--text: #ccc;
--h1: orange;
--shadow: #000;
--separator: #999;
--link: #369;
--bookmarkbg: #369;
--buttonhover: #69c;
--buttonhovertext: #333;
--bookmarkcolour: #fff;
--footercolour: #999;
--footerbg: #666;
}
}
html {
background: var(--canvas);
padding: 1em;
}
body {
font-family: Segoe UI, Arial, Helvetica, sans-serif;
color: var(--text);
font-size: 2vh;
margin: 0 auto;
max-width: 30em;
padding: .5em 1em;
background: var(--body);
box-shadow: 2px 2px 10px var(--shadow);
}
h1 {
border-bottom: 1px solid var(--separator);
font-weight: normal;
color: var(--h1);
}
a {
color: var(--link);
}
.bookmarklet {
display: flex;
align-items: center;
}
.bookmarklet a:not([href]) {display: none}
.bookmarklet a[href] {
border-radius: 10px;
display: inline-block;
padding: .5em;
text-decoration: none;
font-weight: bold;
margin: 1em auto;
background-color: var(--bookmarkbg);
color: var(--bookmarkcolour);
}
.bookmarklet a:hover {
background: var(--buttonhover);
color: var(--buttonhovertext);
}
footer {
color: var(--footercolour);
}
footer a {
color: var(--footerbg);
}