-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
74 lines (62 loc) · 1.21 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
* {box-sizing: border-box}
:root {
/* --accent: rgb(14, 67, 117); */
/* --lightBack: rgb(244, 247, 250); */
--accent: rgb(41, 150, 123);
--lightBack: rgb(241, 252, 250);
/* --accent: rgb(206, 30, 30); */
/* --lightBack: rgb(253, 246, 246); */
}
body {
max-width: 40rem;
margin: auto;
font-family: arial, helvetica, sans-serif;
padding: 0 5px;
line-height: 1.6rem;
}
h2 {
border-bottom: 2px solid var(--accent);
padding-bottom: 4px;
}
code, pre, textarea {
color: var(--accent);
background-color: var(--lightBack);
font-size: 1rem;
padding: 2px;
border-radius: 4px;
font-weight: bold;
}
pre {padding: 0 5px}
textarea {
width: 100%;
min-height: 12rem;
resize: none;
outline: none;
font-family: monospace;
border: none;
border-left: 5px solid var(--accent);
padding-left: 10px;
}
button, input {
font-size: 1rem;
outline: none;
background-color: var(--lightBack);
border: none;
padding: 8px;
border-radius: 4px;
display: block;
margin: 5px auto;
color: var(--accent);
}
button:hover {
font-style: italic;
background-color: var(--lightBack);
cursor: pointer;
}
a {
color: var(--accent);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}