-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstylesheet.css
More file actions
125 lines (104 loc) · 1.88 KB
/
stylesheet.css
File metadata and controls
125 lines (104 loc) · 1.88 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
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
120
121
122
123
124
125
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
flex-direction: column;
height: 100vh;
justify-content: center;
align-items: center;
background: linear-gradient(#CBCE91FF, #EA738DFF);
font-family: 'Ubuntu', sans-serif;
gap: 20px;
}
.calculator {
width: 375px;
height: 600px;
border: 5px solid white;
border-radius: 40px;
display: flex;
flex-direction:column;
box-shadow: 0px 5px 10px 3px rgba(0, 0, 0, 0.5);
}
.value-area {
width: 100%;
height: 25%;
background-color: white;
border-bottom: #DBDBDB solid 0.5px;
border-top-left-radius: 30px;
border-top-right-radius: 30px;
display: flex;
flex-direction: column;
align-items: flex-end;
justify-content: end;
}
.value {
padding: 7px 40px;
color: #505050;
font-size: 40px;
}
.computation {
padding: 0px 40px;
font-size: 15px;
color:#BDBDBD;
font-weight: bolder;
}
.operators-numbers{
border-bottom-left-radius: 30px;
border-bottom-right-radius: 30px;
display:flex;
flex-direction: column;
flex:auto;
background-color:white;
padding: 15px;
}
.operators {
flex:1;
display:flex;
align-items: center;
justify-content: space-evenly;
}
.first {
font-size: 14px;
}
.second {
gap: 4px;
}
.operator-button {
padding: 7px 15px;
border-radius: 50%;
border: white solid;
background-color: white;
font-size: larger;
}
.last {
border-bottom-left-radius: 30px;
border-bottom-right-radius: 30px;
}
.gray-color {
color:#BDBDBD;
}
.black-color {
color:#4C4C4C;
}
.pink-color {
color:#EA738DFF;
}
#equals {
background-color: #EA738DFF;
color:white;
font-size: 30px;
font-weight:bold;
}
#minus {
font-size: 30px;
}
#zero {
width: 130px;
}
span {
font-weight: bolder;
font-size: 22px;
}