-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
101 lines (90 loc) · 2.16 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
body {
font-family: 'Poppins', sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background: radial-gradient(circle, #0f0f0f, #1b1b1b, #2e2e2e);
overflow: hidden;
}
.calculator {
background: linear-gradient(145deg, #1a1a1a, #2b2b2b);
border-radius: 25px;
padding: 20px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), inset 0 5px 15px rgba(255, 255, 255, 0.1);
width: 100%;
max-width: 500px;
animation: slideIn 1s ease-out;
}
.display-container {
margin-bottom: 20px;
background: linear-gradient(145deg, #232323, #2d2d2d);
border-radius: 15px;
box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.5);
padding: 10px;
}
.display {
width: 100%;
height: 50px;
background: none;
border: none;
border-radius: 15px;
color: #00f9ff;
font-size: 2rem;
padding: 10px 15px;
text-align: right;
box-shadow: inset 0 3px 6px rgba(255, 255, 255, 0.1);
}
.secondary-display {
width: 100%;
height: 20px;
background: none;
border: none;
color: #aaaaaa;
font-size: 1rem;
text-align: right;
}
.button {
background: linear-gradient(145deg, #3b3b3b, #4e4e4e);
border: none;
border-radius: 15px;
color: white;
font-size: 1.2rem;
padding: 20px;
margin: 5px;
flex: 1;
text-align: center;
cursor: pointer;
transition: all 0.3s ease-in-out;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.6);
background: linear-gradient(145deg, #3b3b3b, #575757);
}
.button:hover {
transform: scale(1.1);
background: linear-gradient(145deg, #575757, #717171);
color: #00f9ff;
box-shadow: 0 7px 15px rgba(0, 0, 0, 0.8);
}
.row {
display: flex;
justify-content: space-between;
margin-bottom: 10px;
}
.operator {
background: linear-gradient(145deg, #ff0080, #ff4d94);
box-shadow: 0 5px 15px rgba(255, 0, 128, 0.6);
}
.equal {
background: linear-gradient(145deg, #00bcd4, #0099ff);
box-shadow: 0 5px 15px rgba(0, 188, 212, 0.6);
}
@media (max-width: 600px) {
.button {
font-size: 1rem;
padding: 12px;
}
.display {
font-size: 1.6rem;
}
}