-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
93 lines (77 loc) · 1.09 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
* {
box-sizing: border-box;
}
body {
max-width: 800px;
margin: auto;
background-color: #eee;
}
footer {
padding: 0.5rem;
}
a {
color: DodgerBlue;
}
input {
width: 5em;
font-size: 1em;
border: 1px solid grey;
transition: 150ms box-shadow ease;
}
input:focus {
outline: none;
border-color: DodgerBlue;
box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.5);
}
footer,
h1,
h2 {
text-align: center;
}
.content {
width: 100%;
margin-top: 1rem;
padding: 0.5rem 1rem;
background-color: white;
box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.2);
}
input,
.content,
.history {
border-radius: 4px;
}
#history {
display: none;
}
.eyes {
float: right;
padding-left: 1em;
height: 70px;
}
.description {
min-height: calc(70px + 1em);
}
.inputDiv {
display: flex;
justify-content: center;
align-items: center;
gap: 0.5em;
}
@media (max-width: 800px) {
.content {
margin: 0;
}
}
@media (prefers-color-scheme: dark) {
body {
background-color: #111;
}
.content,
input {
color: white;
background-color: #222;
}
input {
border-color: white;
}
}