-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.css
119 lines (107 loc) · 2.7 KB
/
app.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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
body {
margin: auto;
padding: auto;
line-height: 0.5;
background-color: rgb(179,0,255);
background: linear-gradient(-90deg, rgba(179,0,255,1) 5%, rgba(231,0,255,1) 50%, rgba(255,0,254,1) 95%);
background-size: 200% 100%;
animation: color 3s linear infinite;
font-family: sans-serif;
}
@keyframes color {
0% {
background-position: 100% 50%;
}
50% {
background-position: 0 50%;
}
100% {
background-position: 100% 50%;
}
}
.calci {
max-width: 110%; /* Increase the max-width to 110% */
position: absolute;
top: 50%;
left: 50%;
transform: translate(-55%, -55%); /* Increase the translation values to -55% */
}
#zero{
height: 55;
width: 116;
font-size: 20;
font-family: sans-serif;
font-weight: 300;
}
#display {
background: rgb(15, 15, 15);
border: none;
border-radius: 2rem;
width: 245px; /* Added "px" for width and height values */
font-size: 20px; /* Added "px" for font size */
font-family: sans-serif;
font-weight: 300;
height: 60px; /* Added "px" for height value */
margin: auto;
color: rgb(255, 255, 255);
box-shadow: 0 0 7px rgba(0, 0, 0, 0.5);
padding: 15px; /* Adjust the padding as needed */
}
.button{
width: 55;
height: 55;
font-size: 20;
color: rgb(255, 255, 255);
background: rgb(15, 15, 15);
font-family: sans-serif;
font-weight: 300;
border:0;
border-radius: 30px;
margin: 1.5;
box-shadow: 0 0 7px rgba(0,0,0,0.5);
}
.button:active {
transform: scale(1.1); /* Add a scaling effect when the button is pressed */
box-shadow: 0 0 10px rgba(0, 0, 0, 0.7); /* Adjust box shadow for the press effect */
}
h1{
margin-top: 300px;
margin-left: 100px;
font-family: sans-serif;
font-size:50;
text-decoration: underline;
color: white;
text-transform: uppercase;
font-weight: 700;
}
h2{
color: white;
margin-top: -1px;
font-family: sans-serif;
margin-left: 438px;
}
.operator{
width: 55;
height: 55;
font-size: 20;
text-align: center;
color: rgb(255, 255, 255);
border: none;
background: rgb(15, 15, 15);
font-family: sans-serif;
font-weight: 500;
border:0;
border-radius: 30px;
margin: 1.5;
cursor:pointer;
box-shadow: 0 0 7px rgba(0,0,0,0.5);
}
.operator:active {
transform: scale(1.1); /* Add a scaling effect when the button is pressed */
box-shadow: 0 0 10px rgba(0, 0, 0, 0.7); /* Adjust box shadow for the press effect */
}
.operator:hover{
background-color: rgb(179,0,255);
background: linear-gradient(90deg, rgba(179,0,255,1) 5%, rgba(231,0,255,1) 50%, rgba(255,0,254,1) 95%);
box-shadow: 0 0 9px rgba(0,0,0,0.75);
}