-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
109 lines (103 loc) · 2.01 KB
/
style.css
File metadata and controls
109 lines (103 loc) · 2.01 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
*{
margin: 0;
padding: 0;
height: 100%;
}
.title{
margin-bottom: 10px;
text-align:center;
color:rgb(0, 0, 0);
border-bottom:solid rgb(0, 0, 0) 5px;
font-size: x-large;
padding-top: 15px;
height: 40px;
font-family: fantasy;
}
input[type="button"]
{
background-color:rgb(131, 129, 129);
color: rgb(219, 219, 219);
border: solid black 2px;
border-radius: 7px;
border-style: none;
width: 50px;
height: 50px;
font-size: 20px;
font-weight: bold;
}
input[type="text"]
{
background-color:rgb(36, 36, 36);
border: solid black 2px;
width: 150px;
height: 50px;
border-radius: 5px;
text-align: right;
font-size: 30px;
border-style: none;
color: white;
}
.container{
width: 400px;
background-image: linear-gradient(to right,rgba(41, 41, 41, 0.548),rgba(204, 204, 204, 0.514));
justify-content: center;
position: absolute;
top: 10%;
left: 50%;
transform: translateX(-50%);
height: 500px;
border-radius: 10px;
}
.calculator{
height: max-content;
width: max-content;
background-color: rgba(255, 255, 255, 0.726);
position: absolute;
left: 50%;
top: 15%;
transform: translateX(-50%);
border-radius: 7px;
}
table{
margin: 10px;
padding: 10px;
}
#clear{
background-color: rgb(210, 30, 30);
}
#clear:hover{
background-color: rgb(170, 26, 26) ;
}
#equal{
background-color: rgb(210, 30, 30);
}
#equal:hover{
background-color:rgb(170, 26, 26) ;
}
#divide{
background-color: rgb(255, 123, 0);
}
#divide:hover{
background-color: rgb(201, 98, 2);
}
#subtract{
background-color: rgb(255, 123, 0);
}
#subtract:hover{
background-color: rgb(201, 98, 2);
}
#add{
background-color: rgb(255, 123, 0);
}
#add:hover{
background-color: rgb(201, 98, 2);
}
#multiply{
background-color: rgb(255, 123, 0);
}
#multiply:hover{
background-color: rgb(201, 98, 2);
}
#number:hover{
background-color: rgb(77, 76, 76);
}