-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
100 lines (87 loc) · 1.86 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
.container{
/* background: rgb(238,174,202);
background: radial-gradient(circle, rgba(238,174,202,1) 0%, rgba(148,187,233,1) 100%); */
background-color: #e3f9ff;
height: 100vh;
width: 100vw;
display: flex;
justify-content: center;
align-items: center;
}
.calculator{
background-color: black;
height: 350px;
width: 230px;
display: flex;
flex-direction: column;
border-radius: 15px;
}
.screen{
height:90px ;
width: 100%;
border-radius: 15px;
background-color: black;
display: flex;
justify-content: center;
align-items: center;
}
.content-area{
background: rgb(158,148,152);
background: radial-gradient(circle, rgba(158,148,152,1) 0%, rgba(145,155,152,1) 100%);
height: 90%;
width: 95%;
border: 2px solid black;
border-radius: 15px;
overflow: none;
display: flex;
justify-content: end;
align-items: end;
}
.content-area span{
color: white;
font-size: 30px;
padding: 5px 10px;
}
.keypad{
display: flex;
flex-direction: column;
color: white;
height: 260px;
width: 230px;
border: 1px solid white;
align-items: center;
justify-content: space-evenly;
padding: 10px 0;
}
.key-rows{
display: flex;
height: 18%;
width: 100%;
justify-content: space-evenly;
}
.key{
border: 1px solid white;
height: 75%;
width: 15%;
border-radius: 50%;
display:flex ;
justify-content: center;
align-items: center;
background-color: gray;
font-size: 20px;
}
#equal{
background-color: chocolate;
width:38%;
height: 80%;
border-radius: 15%;
}
.key:hover{
background-color: darkgray;
cursor: pointer;
}