-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
109 lines (100 loc) · 2.37 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-weight: bold;
}
body {
background-image: linear-gradient( 180.4deg, rgba(188,120,236,1) -2.2%, rgba(29,133,163,1) 83.5% );
height: 100vh;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.claculator{
padding: 20px;
border: 1px solid rgb(0, 0, 0);
border-radius: 20px;
box-shadow: 0 5px 25px #212121;
background-color: rgba(0, 0, 0, 0.5);
}
input {
width: 305px;
margin: 10px;
padding: 24px;
text-align: right;
background: rgba(255, 255, 255, 0.4);
box-shadow:inset 0px 0px 8px rgba(0, 0, 0, 0.4);
font-size: 2rem;
color: #fff;
text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.2);
font-size: 2rem;
border: 2px solid rgba(0, 0, 0, 0.3);
border-radius: 15px;
}
input::placeholder {
color: #fff;
}
button {
width: 50px;
height: 50px;
margin: 14px;
font-size: 15px;
background: rgba(0, 0, 0, 0.7);
color: #dad7d7;
border-radius: 25px;
border: 2px solid rgba(0, 0, 0, 0.7);
box-shadow: inset 0px 2px 10px rgba(0, 0, 0, 0.2);
cursor: pointer;
}
.ac, .del {
font-size: 1rem;
}
button:hover {
color: #000000;
background-color: #0ddf0a;
}
.equalBtn {
color: #000000;
background-color: #0ddf0a;
}
.operator {
color: #0ddf0a;
font-size: 20px;
}
@media (max-width: 400px) {
input {
width: 235px;
margin: px;
padding: 24px;
text-align: right;
/* background: rgba(255, 255, 255, 0.4); */
background: rgba(71, 144, 60, 0.4);
box-shadow:inset 0px 0px 8px rgba(0, 0, 0, 0.4);
font-size: 2rem;
color: #fff;
text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.2);
font-size: 2rem;
border: 2px solid rgba(0, 0, 0, 0.3);
border-radius: 15px;
}
input::placeholder {
color: #fff;
}
button {
width: 50px;
height: 50px;
margin: 5px;
font-size: 18px;
background: rgba(0, 0, 0, 0.7);
color: #c2c0c0;
border-radius: 25px;
border: 2px solid rgba(0, 0, 0, 0.7);
box-shadow: inset 0px 2px 10px rgba(0, 0, 0, 0.2);
cursor: pointer;
}
.ac, .del {
font-size: 1rem;
}
}