-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
124 lines (102 loc) · 1.81 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
:root {
--fonts: 'Roboto', system-ui, sans-serif;
--mono-fonts: 'Inconsolata', monospace, system-ui;
--text-color: #efefd7;
--background-color: #29292e;
--txt-background-color: #424244;
--border-color: #363639;
--spacing: 1.5rem;
}
* {
font-family: var(--fonts);
font-weight: 300;
text-align: center;
font-size: 1em;
color: var(--text-color);
}
html,
body {
margin: 0;
padding: 0;
height: 100%;
}
body {
background-color: var(--background-color);
display: flex;
flex-direction: column;
}
main {
width: min(100ch, calc(100% - 4rem));
margin-inline: auto;
padding: var(--spacing);
flex: 1;
}
h1 {
font-weight: 900;
font-size: 2em;
}
h2 {
font-weight: 700;
font-size: 1.75em;
}
input,
footer,
select,
button {
background-color: var(--txt-background-color);
border-color: var(--border-color);
border-radius: .5em;
}
input {
width: 10%;
font-family: var(--mono-fonts);
font-weight: 400;
}
button {
margin-top: var(--spacing);
margin-bottom: .5rem;
}
footer {
text-align: center;
padding: var(--spacing);
font-size: 0.875em;
background-color: #1414177f;
}
a {
color: #efefd7;
text-decoration: underline;
transition: color 200ms ease-in-out;
}
a:hover {
text-decoration: underline;
color: hsl(205, 70%, 60%);
}
p {
text-align: justify;
}
strong {
font-weight: 500;
}
.palette {
display: inline-block;
vertical-align: middle;
width: 1.75em;
height: 1.75em;
}
.palette input[type="text"] {
display: inline-block;
vertical-align: middle;
margin-right: var(--spacing);
}
.output {
display: flex;
}
::selection {
background-color: #09090b7f;
}
@media screen and (max-width: 660px) {
input[type="text"], input {
width: 5em;
}
}