-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
77 lines (74 loc) · 1.41 KB
/
style.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
/* basic */
:root {
--c-background: #0D1117;
--c-background-accent: #21262D;
--c-border: #30363d;
--c-text: #C9D1D9;
--c-text-gray: #484f57;
--c-hack: #adff2f;
--c-font-stack: 'Fira Mono', Consolas, 'Courier New', Courier, monospace, 'Times New Roman';
}
/* layout */
body {
background: var(--c-background);
color: var(--c-text);
max-width: 560px;
display: flex;
flex-direction: column;
margin: 0 auto;
padding: 0 1rem;
gap: 1rem;
font-family: var(--c-font-stack);
font-size: 16px;
}
header, footer {
margin-top: 3rem;
text-align: center;
}
main {
display: flex;
flex-direction: column;
gap: .5rem;
}
/* page elements */
select, textarea, button {
font-family: var(--c-font-stack);
font-size: 16px;
background: var(--c-background-accent);
color: var(--c-text);
padding: 1rem;
border: 1px solid var(--c-border);
transition: all .1s ease-in-out;
}
select:hover, textarea:hover, button:hover {
border-color: var(--c-hack);
}
select:focus, textarea:focus, button:focus {
box-shadow: 0 0 0 .25rem rgba(173, 255, 47,.3);
}
button {
cursor: pointer;
}
button:hover {
background: var(--c-hack);
color: black;
}
a {
color: var(--c-hack);
transition: color .1s ease-in-out;
}
a:hover {
color: white;
}
.content {
word-break: break-all;
padding: 1rem;
border: 1px solid var(--c-border);
color: var(--c-hack);
cursor: pointer;
}
/* utilities */
.text-gray,
.text-gray a {
color: var(--c-text-gray) !important;
}