-
Notifications
You must be signed in to change notification settings - Fork 7
/
style.css
105 lines (89 loc) · 1.35 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
:root {
--background-dark: #7c3aed;
--black: #000;
}
html {
background-color: var(--background-dark);
color: var(--black);
height: 100%;
}
* {
font-family: "Lato", sans-serif;
}
.header {
text-align: center;
margin-top: 100px;
}
.container {
width: 300px;
margin: auto auto;
}
label,
input {
display: block;
margin-top: 0.5rem;
width: 100%;
}
label {
font-weight: 500;
font-size: 1.3rem;
}
input {
border-radius: 5px;
padding: 0.5rem;
border: transparent;
font-size: large;
margin: 1rem 0;
}
#calculate-number {
margin: 0.5rem auto;
display: block;
}
#calculate-number {
background-color: var(--background-dark);
border: 2px solid var(--black);
color: var(--black);
padding: 0.4rem 1rem;
border-radius: 0.5rem;
font-size: large;
cursor: pointer;
outline: var(--black);
margin: auto;
display: block;
}
#output-container {
display: block;
margin: auto;
margin-top: 1rem;
width: 100%;
text-align: center;
padding: 0.5rem;
font-size: x-large;
border-color: var(--black);
border-width: medium;
border-radius: 5px;
}
/* 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;
}