-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
69 lines (61 loc) · 1.04 KB
/
style.css
File metadata and controls
69 lines (61 loc) · 1.04 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
body {
min-height: 100vh;
font-size: 2em;
text-align: center;
}
#calculator {
border: 4px solid black;
margin: 2vh 25vw;
display: flex;
flex-direction: column;
}
#output {
display: flex;
flex-direction: row;
align-items: center;
border: 4px solid black;
padding: 1vh 2vw;
height: 4rem;
font-size: 3.5rem;
}
#dial {
display: grid;
grid-template-columns: 1fr 2fr 2fr 2fr;
grid-template-rows: 1fr 1fr 1fr 1fr;
}
button{
border-radius: 0px;
color: white;
font-size: 3rem;
background-color: black;
border: 1px solid red;
padding-top: 2rem;
padding-bottom: 2rem;
}
button:hover {
background-color: rgb(0, 0, 0, 0.8);
}
button:active {
box-shadow: inset 0 0 0.5em white;
}
.opButtons{
color: black;
background-color: red;
border: 1px solid black;
margin-right: -1px;
}
.opButtons:hover,
.equal:hover{
background-color: rgb(255, 0, 0, 0.6);
}
.opButtons:active,
.equal:active{
box-shadow: inset 0 0 0.5em black;
}
.equal{
color: black;
background-color: red;
}
#result{
margin-left: auto;
}