-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
119 lines (92 loc) · 1.56 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
*{
margin: 0%;
padding: 0%;
text-align: center;
}
body{
height: 100vh;
width: 100%;
display: flex;
background-color: #80808050;
align-items: center;
justify-content: center;
}
.container{
background-color: black;
height: 75%;
width: 35%;
display: grid;
grid-template-rows: 1fr 2fr;
gap: 25px;
padding: 5%;
}
.keys{
display: grid;
grid-template-columns: repeat(2,1fr);
gap: 5px;
}
.keypad{
display: grid;
grid-template-columns: repeat(3,1fr);
grid-template-rows: repeat(5,1fr);
gap: 5px;
}
.operations{
display: grid;
grid-template-columns: repeat(3,1fr);
grid-template-rows: repeat(5,1fr);
gap: 5px;
}
.digit{
font-size: 50px;
}
#equal{
grid-row: 4/6;
background-color: orangered;
}
#C,#close,#off{
background-color: purple;
}
#erase{
grid-column: 2/4;
background-color: orangered;
}
#step-up{
grid-column: 2/3;
}
.displaySection{
height: 100%;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.display{
/* border: 2px black solid; */
background-color: gray;
height: 100%;
width: 100%;
font-size: 50px;
color: white;
font-weight: bold;
text-align: right;
}
button{
border-radius: 5%;
border: none;
background-color: gray;
}
button:hover{
cursor: pointer;
}
button:focus{
background-color: black;
border: gray solid 2px;
}
i{
color: white;
font-size: 50px;
}
::-webkit-input-placeholder{
color: white;
}