-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
114 lines (113 loc) · 2.15 KB
/
styles.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
*{
font-family: 'Kumbh Sans', sans-serif;
box-sizing: border-box;
}
.container{
display: flex;
align-items: center;
justify-content: center;
width: 90vw;
height: 700px;
background: cornsilk;
background: linear-gradient(to bottom, rgb(171, 193, 206), rgb(188, 248, 235));
background: -webkit-linear-gradient(to bottom, rgb(171, 193, 206), rgb(188, 248, 235));
margin: 20px auto;
}
.calculator{
background-color: rgb(84, 83, 90);
width: 400px;
height: 540px;
border: 1px solid white;
border-radius: 6px;
position: relative;
}
.result{
width: 90%;
height: 120px;
border: 1px solid white;
border-radius: 4px;
margin: 20px auto;
padding: 4px;
display: flex;
flex-direction: column;
flex-wrap: wrap;
background: rgb(235, 246, 248);
}
.compute{
height: 50%;
width: 348px;
overflow: hidden;
;
}
.compute p{
float: right;
font-size: 30px;
margin: 10px auto;
text-align: center;
color: rgb(25, 22, 46);
}
.output{
height: 50%;
width: 348px;
padding: auto 4px;
overflow: hidden;
}
.output p{
float: right;
font-size: 40px;
margin: 8px auto;
text-align: center;
color: rgb(9, 1, 31);
}
.keyboard{
width: 90%;
height: 360px;
border: 1px solid rgb(221, 220, 220);
margin: 20px auto;
display: grid;
grid-template-columns: repeat(4, 1fr);
border-radius: 4px;
}
button{
margin: auto;
width: 60px;
height: 60px;
border-radius: 50px;
border: none;
font-size: 25px;
cursor: pointer;
}
.operator{
background-color: rgb(221, 220, 220);
color: rgb(0, 0, 0);
font-size: 30px;
}
#clear{
background-color: rgb(238, 102, 142);
color: white;
border: 0.25px solid rgb(199, 178, 178);
font-size: 25px;
}
#backspace{
background-color: rgb(170, 167, 5);
color: white;
border: 0.25px solid rgb(199, 178, 178);
font-size: 25px;
}
#percent{
background-color: rgb(80, 143, 119);
color: white;
border: 0.25px solid rgb(199, 178, 178);
font-size: 25px;
}
.number{
background-color: rgb(46, 42, 42);
color: white;
border: 0.25px solid rgb(128, 128, 128);
}
.float-point{
background-color: rgb(46, 42, 42);
color: white;
border: 0.25px solid rgb(128, 128, 128);
font-size: 30px;
}