/
style.css
100 lines (82 loc) · 1.22 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
@import url("https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap");
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
:root {
--primary-color: #7c3aed;
}
body {
font-family: "Work Sans", sans-serif;
}
a {
text-decoration: none;
}
li {
list-style: none;
}
/* main */
main {
text-align: center;
margin: 3rem;
}
h2 {
font-size: xx-large;
margin: 2rem;
}
.input-label {
display: block;
font-size: large;
font-weight: 600;
}
.input {
font-size: 14px;
outline: #fff;
padding: 0.6rem 1rem;
margin: 1rem;
border: 2px solid var(--primary-color);
border-radius: 0.5rem;
width: 100%;
max-width: 258px;
}
#show-btn {
background: var(--primary-color);
border: none;
color: #fff;
padding: 0.7rem 1rem;
border-radius: 0.5rem;
font-size: large;
cursor: pointer;
outline: #fff;
margin: auto;
display: block;
}
#result {
font-size: x-large;
margin: 2rem 0;
}
/* footer */
footer {
text-align: center;
position: absolute;
bottom: 0;
left: 0;
right: 0;
}
footer p {
font-size: large;
text-align: center;
}
.footer-list {
margin: 1rem;
}
a,
img,
li {
display: inline;
}
img {
width: 40px;
padding: 0.2rem;
}