-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
102 lines (98 loc) · 1.93 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
.calculator{
margin-top:100px;
border-radius: 10px;
margin-right: auto;
margin-left: auto;
width: 235px;
min-height: auto;
background-color: black;
/* position:relative; */
left: 35%;
padding: 10px;
}
.display{
background-color: black;
color: white;
min-height:50px;
margin-bottom: 10px;
padding: 8px;
font-size: 30px;
text-align: right;
font-family: Arial, Helvetica, sans-serif;
/* position: relative; */
/* top: 60px; */
word-wrap: break-word;
word-break: break-all;
/* text-align-last: right; */
}
.button{
/* margin: 1px; */
margin-top: 5px;
/* margin-bottom: 10px; */
display: grid;
row-gap: 3px;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(4, 1fr);
/* position: absolute; */
/* bottom: 20px; */
}
button{
margin: 3px;
border-radius: 50%;
width: 50px;
height: 50px;
border-style: none;
font-size: 20px;
position: relative;
left: 3px;
}
#zero{
grid-column-start: 1;
grid-column-end: 3;
width: 109px;
/* border-radius: 50%; */
border-top-left-radius: 30px;
border-top-right-radius: 30px;
border-bottom-left-radius: 30px;
border-bottom-right-radius: 30px;
text-align: left;
padding-left: 20px;
}
.num{
background-color: #333333;
color: white;
font-size: 23px;
position: relative;
}
.operator, .equal{
transition: color 0.3s, background-color 0.3s;
background-color: #FE9505;
color: white;
font-size: 23px;
}
.other{
background-color: #A5A5A5;
color: #0C0C0C;
}
button:hover{
border-color: azure;
border-style: solid;
}
.operatorClicked{
transition: color 0.3s, background-color 0.3s;
background-color: white;
color: #FE9505;
}
.num:active, .other:active{
background-color: #46475a;
}
.footer{
position: fixed;
bottom: 5px;
}
.left{
left: 10px;
}
.right{
right: 10px;
}