-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
110 lines (103 loc) · 2.04 KB
/
main.css
File metadata and controls
110 lines (103 loc) · 2.04 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
*{
margin:0px;
padding:0px;
box-sizing:border-box
}
body{
background-color: #223133;
}
.bg{
background-color:rgb(85, 175, 189,0.8);
height:100vh;
width:100%;
clip-path:polygon(0% 0%,100% 50%, 0% 100%);
}
.calci{
height:90vh;
width:28%;
margin: 20px 35% 20px 35%;
top:20px;
bottom:20px;
background-color: rgb(245,245,245);
position:absolute;
border-radius: 5px;
box-shadow: 2px 2px 3px 3px rgb(85, 175, 189);
}
#result{
height:30%;
text-align: right;
font-size: xx-large;
padding:20px;
margin:8px;
}
#history{
margin-top:20px;
font-weight: lighter;
color:#808080;
vertical-align: bottom;
padding:5px;
height:50px;
border-color:1px solid red;
}
#output{
height:500px;
border-color:1px solid red;
font-weight: bold;
font-size: 125%;
margin:5px;
padding:5px;
}
#keyboard{
margin:5px 40px 5px 50px;
display:flex;
flex-wrap: wrap;
font-weight: bold;
}
button{
border:none;
background-color:rgb(245,245,245);
height:50px;
width:50px;
margin:10px;
padding:10px;
border-radius: 50%;
font-size: larger;
}
.numbers, .operators{
cursor:pointer;
}
#clear, #backspace{
background-color: lightgray;
}
.operators:active, .numbers:active,#clear:active , #backspace:active{
background-color: lightslategrey;
}
.operators:focus, .numbers:focus{
outline: none;
}
button:nth-child(3){
background-color:#c2f542;
}
button:nth-child(4){
font-size: x-large;
background-color: mediumorchid;
}
button:nth-child(8){
font-size: x-large;
background-color: cyan;
}
button:nth-child(12){
font-size: x-large;
background-color: orange;
}
button:nth-child(16){
font-size: x-large;
background-color: pink;
}
button:nth-child(18){
background-color: lightgray;
}
button:nth-child(20){
font-size: x-large;
background-color:lightgreen;
}