-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
87 lines (74 loc) · 1.27 KB
/
styles.css
File metadata and controls
87 lines (74 loc) · 1.27 KB
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
body {
margin: 3rem;
font-family: sans-serif;
background-color: rgb(32, 32, 29);
}
h1 {
text-align: center;
color: rgb(236, 202, 8);
}
section {
margin: 2rem auto;
width: 95%;
max-width: 50rem;
padding: 1rem 2rem;
border-radius: 6px;
background-color: rgb(253, 251, 216);
}
button {
font: inherit;
cursor: pointer;
background-color: rgb(236, 202, 8);
border: 1px solid rgb(236, 202, 8);
color: rgb(29, 28, 26);
padding: 0.5rem 1.5rem;
border-radius: 4px;
}
button:hover {
background-color: rgb(236, 183, 8);
border-color: rgb(236, 183, 8);
}
.control {
margin: 1rem 0;
}
label,
input {
display: block;
}
label {
font-weight: bold;
margin-bottom: 0.5rem;
}
input {
font: inherit;
font-size: 1.5rem;
border-radius: 4px;
border: 1px solid rgb(156, 153, 136);
width: 3rem;
max-width: 100%;
padding: 0.5rem;
color: rgb(66, 63, 44);
}
input:focus {
background-color: rgb(248, 239, 187);
}
a {
text-decoration: none;
color: rgb(236, 145, 8);
}
.output {
font-weight: bold;
background-color: rgb(233, 191, 55);
padding: 0.25rem;
border-radius: 4px;
}
a.highlight {
background-color: rgb(63, 4, 141);
padding: 0.25rem;
}
#calculated-sum {
padding: 1rem;
text-align: center;
font-size: 3rem;
display: none;
}