-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
125 lines (103 loc) · 1.73 KB
/
styles.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
125
html {
font-size: 17px;
line-height: 1.5;
font-family: sans-serif;
}
body {
margin: 0 auto;
padding: 20px;
max-width: 1000px;
}
.mt-0 {
margin-top: 0;
}
header {
display: flex;
align-items: center;
justify-content: space-between;
margin: 2rem auto;
}
header h1 {
margin: 0;
}
header nav {
display: flex;
align-items: center;
}
header nav a {
margin-left: 0.75rem;
}
a {
text-underline-offset: 0.17em;
}
h1,h2,h3,h4,h5,h6 {
line-height: 1.2;
letter-spacing: -0.02em;
margin-block-start: 1em;
margin-block-end: 0.5em;
}
#output {
border: 1px solid;
padding: 1rem;
margin: 2rem auto;
}
#results {
list-style: none;
padding: 0;
margin: 2rem auto;
}
#results li {
margin-bottom: 1rem;
}
#results p {
margin: 0.2em auto;
}
#results mark {
font-weight: 700;
}
#results span {
color: rgba(0,0,0,0.6);
}
#results strong {
font-weight: 400;
color: rgba(0,0,0,1);
}
input, button {
appearance: none;
border-radius: 0.35em;
font-size: 1rem;
padding: 0.25em 0.65em;
line-height: 1;
box-shadow: 0 0.05em 0.15em #0000001a, 0 0.15em 0.9em #00000005;
}
input[type="search"] {
width: 100%;
max-width: 420px;
}
input[type="number"] {
width: 3em;
}
input[type="search"], input[type="number"] {
background-color: white;
border: 1px solid #d5d5d5;
border-top-color: #00000017;
border-bottom-color: #00000036;
}
button {
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
background-color: rgba(0,0,0,0.8);
border: 1px solid black;
color: white;
cursor: pointer;
font-weight: 700;
padding-left: 0.55em;
padding-right: 0.55em;
}
button:hover, button:active {
background-color: black;
}
form input {
margin-left: 7px;
margin-right: 17px;
}