-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
94 lines (88 loc) · 1.81 KB
/
style.css
File metadata and controls
94 lines (88 loc) · 1.81 KB
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
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
body {
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: #e0e3eb;
}
.container {
position: relative;
max-width: 300px;
width: 100%;
border-radius: 12px;
padding: 10px 20px 20px;
background: #fff;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}
.display {
height: 80px;
width: 100%;
border: 2px solid #4CAF50;
background-color: #f2f2f2;
text-align: right;
margin-bottom: 10px;
font-size: 28px;
color: #333;
padding: 15px;
border-radius: 8px;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
}
.display:hover {
transform: translateY(-3px);
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}
.display:focus {
outline: none;
border-color: #007bff;
}
.buttons {
display: grid;
grid-gap: 10px;
grid-template-columns: repeat(4, 1fr);
}
.buttons button {
padding: 10px;
border-radius: 6px;
border: none;
font-size: 20px;
cursor: pointer;
background-color: #eee;
}
.buttons button:active {
transform: scale(0.99);
}
.buttons button:hover {
transform: translateY(-3px);
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}
.operator {
color: #2f9fff;
}
.operator:hover {
transform: translateY(-3px);
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}
footer {
background-color: #f0f0f0;
padding: 20px;
text-align: center;
margin-top: 10px;
}
footer p {
margin: 0;
}
footer a {
color: #007bff;
text-decoration: none;
}
footer a:hover {
text-decoration: underline;
}