-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
105 lines (89 loc) · 1.72 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
body {
background: linear-gradient(180deg, #fce0f8, #f4a3dd);
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
color: #c2b7b7;
}
.container {
text-align: center;
}
.title {
font-size: 36px;
font-weight: bold;
color: #333;
margin-bottom: 20px;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}
.calci {
background-color: #ffffffcc;
padding: 25px;
border-radius: 15px;
box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
backdrop-filter: blur(10px);
}
#display {
width: 100%;
height: 60px;
text-align: right;
font-size: 28px;
border: 2px solid #ddd;
border-radius: 10px;
padding: 10px;
margin-bottom: 15px;
box-sizing: border-box;
background-color: #f8f8f8;
color: #0e0d0d;
}
.button, .operator {
width: 22%;
height: 50px;
margin: 5px 1%;
font-size: 20px;
border: none;
border-radius: 10px;
cursor: pointer;
transition: transform 0.2s ease, background-color 0.3s ease;
}
.button {
background-color: #f0f0f0;
}
.operator {
background-color: #f672af;
color: #fff;
}
.button:hover, .operator:hover {
background-color: #d85d5d;
transform: translateY(-3px);
}
.operator:hover {
background-color: #e08900;
}
.clear {
background-color: #ff3b3b;
color: rgb(238, 157, 157);
}
.clear:hover {
background-color: #e03333;
}
.backspace {
background-color: #ffcc00;
}
.backspace:hover {
background-color: #e6b800;
}
#zero {
width: 48%;
}
.calci {
max-width: 400px;
margin: 0 auto;
}
form {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}