-
Notifications
You must be signed in to change notification settings - Fork 11
/
xess-base.css
97 lines (82 loc) · 2.28 KB
/
xess-base.css
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
:root {
--selection: hsla(var(--accent-color), 80%, 30%, 100%);
--selection-light: hsla(var(--accent-color), 50%, 80%, 100%);
--background: hsla(var(--background-color), 100%, 10%, 100%);
--background-light: hsla(var(--background-color), 10%, 95%, 100%);
--text: hsla(var(--text-color), 0%, 90%, 100%);
--text-light: hsla(var(--text-color), 90%, 5%, 100%);
--pre-background: hsla(var(--background-color), 90%, 5%, 100%);
--pre-background-light: hsla(var(--background-color), 10%, 80%, 100%);
--a-background: hsla(var(--background-color), 90%, 5%, 100%);
--a-background-light: hsla(var(--background-color), 30%, 90%, 100%);
--a-color: hsla(var(--accent-color), 70%, 85%, 100%);
--a-color-light: hsla(var(--accent-color), 80%, 10%, 100%);
--blockquote-border: 0.5ch solid hsla(var(--accent-color), 80%, 80%, 100%);
--blockquote-border-light: 0.5ch solid hsla(var(--accent-color), 50%, 30%, 100%);
}
main {
font-family: var(--font-family);
max-width: var(--width);
padding: var(--padding);
margin: auto;
}
@media only screen and (max-device-width: 736px) {
main {
padding: 0rem;
}
}
::selection {
background: var(--selection);
}
body {
background: var(--background);
color: var(--text);
}
pre {
font-family: var(--pre-font-family);
background-color: var(--pre-background);
padding: 1em;
border: 0;
}
a, a:active, a:visited {
color: var(--selection);
background-color: var(--a-background);
}
h1, h2, h3, h4, h5, h6 {
font-family: var(--header-font-family);
margin-bottom: .1rem;
}
blockquote {
border-left: var(--blockquote-border);
margin: 0.5em 10px;
padding: 0.5em 10px;
}
footer {
align: center;
}
@media (prefers-color-scheme: light) {
::selection {
background: var(--selection-light);
}
body {
background: var(--background-light);
color: var(--text-light);
}
pre {
background-color: var(--pre-background-light);
padding: 1em;
border: 0;
}
a, a:active, a:visited {
color: var(--a-color-light);
background-color: var(--a-background-light);
}
h1, h2, h3, h4, h5 {
margin-bottom: .1rem;
}
blockquote {
border-left: var(--blockquote-border-light);
margin: 0.5em 10px;
padding: 0.5em 10px;
}
}