-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
96 lines (78 loc) · 1.32 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
*{
margin: 0px;
padding: 0px;
}
body{
background-color:rgb(166, 137, 100);
height: 100vh;
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.calculator{
height: 524px;
width: 424px;
background-color:black;
display: flex;
flex-direction: column;
padding:15px;
padding-top: 20px;
border-radius: 20px;
}
.display{
background-color:rgb(118, 116, 116);
width: 424px;
height: 110px;
border-radius: 5px;
font-size: 80px;
font-family: monospace;
text-align: right;
}
.buttons{
display: flex;
width: 424px;
margin-top: 10px;
flex-direction: column;
}
.row1,.row2,.row3,.row4,.row5{
display: flex;
flex-direction: row;
}
button{
height: 80px;
font-size: 26px;
font-family: monospace;
border-radius: 5px;
width: 100px;
flex-grow: 1;
border: 1px solid black;
}
.AC,.zero{
flex-grow: 18;
}
.digit{
background-color: #238082;
}
.digit:active{
background-color: #6c8f8f;
}
.equalto{
background-color:#be6812;
}
.equalto:active{
background-color: #ffc183;
}
.spl{
background-color:#175594;
}
.spl:active{
background-color:#6d8dae;
}
.operator {
background-color: #be6812;
}
.operator:focus {
background-color:#ffc183;
}