-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
78 lines (73 loc) · 1.27 KB
/
style.css
File metadata and controls
78 lines (73 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
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.calculator {
width: 16rem;
height: 30rem;
border-radius: 1.6rem;
border: 8px solid black;
}
.screen {
height: 10rem;
background: linear-gradient(to right, rgb(181, 103, 83), rgb(214, 88, 56));
color: white;
display: flex;
flex-direction: column;
justify-content: center;
margin: 1.8rem auto;
}
.screen .ans {
align-self: end;
padding-right: 1rem;
font-size: 1.4rem;
height: 2rem;
}
.screen .quest {
padding-left: 1rem;
font-size: 1.8rem;
}
#equal, #ac {
color:rgb(214, 88, 56);
}
.row,
.keys,
.operators {
display: flex;
width: 100%;
}
.numbers {
width: 100%;
}
.operators {
flex: 0 0 4rem;
display: flex;
flex-direction: column;
}
.row button {
flex: 1 0 2.4rem;
font-size: 1rem;
margin: .2rem;
padding: .6rem;
background-color: transparent;
}
button {
border-radius: .2rem;
border: .1rem solid rgba(72, 72, 72, 0.471);
box-shadow: 0 0 2px rgba(0, 0, 0, 0.52);
margin: .2rem;
}
.operators button {
flex: 1;
}
button:hover {
color: white !important;
background-color:rgb(214, 88, 56);
}