-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
112 lines (90 loc) · 1.72 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
body {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
width: 100vw;
height: 100vh;
background-color: rgb(192, 230, 255);
}
.calculator {
background: #C2185B;
background-image: linear-gradient(to right, rgb(255, 0, 191) , yellow);
height: 70vh;
padding-top: 30px;
border-radius: 10px;;
width: 25vw;
/*padding-right: 25px;*/
padding-left: 25px;
box-shadow: 0 10px 10px rgba(17, 1, 241, 0.2);
}
.btn {
height: 75px;
width: 75px;
margin: 15px;
font-size: 40px;
}
.number {
border: 4px solid rgb(0, 189, 0);
border-radius: 10px;
}
.number:hover {
background-color: palegreen;
}
.operator {
border: 4px solid steelblue;
border-radius: 10px;
}
.operator:hover {
background-color: paleturquoise;
}
.decimal {
border: 4px solid gold;
border-radius: 10px;
}
.decimal:hover {
background-color: palegoldenrod;
}
.equal {
border: 4px solid pink;
border-radius: 10px;
}
.equal:hover {
background-color: plum;
}
#clear-btn {
border: 4px solid violet;
border-radius: 10px;
}
#clear-btn:hover {
background-color: palevioletred;
}
.first-row{
display: flex;
justify-content: center;
align-items: center;
flex-direction: row;
padding-right: 23px;
}
.first-row .other-rows {
display: flex;
gap: 5px;
}
#screen {
width: 300px;
border: 1px solid lightblue;
height: 75px;
margin: 15px;
padding-right: 15px;
background-color: lightblue;
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: flex-end;
}
.previous {
font-size: 20px;
}
.current {
font-size: 30px;
}