-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyle.css
127 lines (110 loc) · 2.26 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
@keyframes transitionIn {
from{
opacity: 0;
transform: translateY(-10px);
}
to{
opacity: 1;
transform: rotateX(0);
}
}
body {
background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
animation: gradient 15s ease infinite;
animation: transitionIn 2s;
}
@keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
.container{
width: 400px;
margin: 10vh auto 0 auto;
box-shadow: 0px 0px 43px 17px rgba(153, 153, 153, 1);
border: 8px solid rgb(0, 0, 0) ;
border-radius: 10px;
height: 50%;
background-color:rgb(255, 255, 255);
color: rgb(0, 0, 0);
}
#display{
text-align: right;
height: 70px;
line-height: 90px;
padding: 16px 8px;
font-size: 45px;
background-color: rgb(255, 255, 255);
color: rgb(0, 0, 0);
font-weight:400;
position:-webkit-sticky;
font-synthesis:initial;
}
.buttons{
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr ;
}
.buttons > div{
border-top: 1px solid #999;
border-right: 1px solid #999;
}
.button{
border: 0.5px solid #999;
line-height: 80px;
text-align: center;
font-size: 35px;
font-weight: bold;
cursor: pointer;
border-radius: 65px;
margin: 2%;
font-family: sans-serif;
}
#equal{
background-color: green;
color: white;
}
#equal:hover{
color: white;
background: rgb(14, 100, 15);
}
#clear{
color: orangered;
}
#clear:hover{
color:white;
background-color: rgb(206, 113, 79);
}
.button:hover {
background-color: rgba(164, 164, 164, 0.28);
}
.clear{
color: white;
transition: 0.2s ease-in;
}
.green{
color: green;
}
.green:hover{
color: rgb(255, 0, 0);
background-color: rgba(164, 164, 164, 0.28);
}
h2{
text-align: center;
background: linear-gradient( 90deg, #ff0000, #33ff00, #0033ff,#ff00c4, #ff0000);
color: white;
border: 2px solid rgb(255, 255, 255);
width: 99%;
transition: 1s ease-in;
border-radius: 10px;
height: 50px;
margin-top: 15px;
margin-bottom: 15px;
font-family:Arial, Helvetica, sans-serif;;
font-size:xx-large;
}