-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
94 lines (83 loc) · 1.93 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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body {
width: 100%;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background-size: cover;
background-position: center;
background-blend-mode: overlay;
background-color: rgba(0, 0, 0, 0.5); /* Dark overlay to ensure text readability */
background: url('img/bg.jpg');
}
.calculator {
border: 1px solid #94c312;
padding: 20px;
border-radius: 16px;
background: transparent;
background-image: url('img/bg1.jpg'); /* Replace URL_TO_YOUR_IMAGE_HERE with your image link */
box-shadow: 0px 3px 15px rgba(44, 221, 56, 0.5);
}
input {
width: 320px;
border: none;
padding: 24px;
margin: 10px;
background: transparent;
box-shadow: 0px 18px 20px rgba(84, 84, 84, 0.1);
font-size: 40px;
text-align: right;
cursor: pointer;
color: #ffffff;
}
input::placeholder {
color: #ffffff;
}
button {
border: none;
width: 60px;
height: 60px;
margin: 10px;
border-radius: 50%;
background: transparent;
color: #ffffff;
font-size: 20px;
box-shadow: -8px -8px 15px rgba(219, 216, 216, 0.1);
cursor: pointer;
}
.equalBtn {
border: none;
width: 50px;
height: 50px;
margin: 10px;
border-radius: 15px;
background-color: #fb7c14;
font-size: 30px;
}
.numberBtn {
border: none;
width: 140px;
height: 60px;
margin: 10px;
border-radius: 25px;
background-color: #fb7c14;
color: #ffffff;
font-size: 30px;
cursor: pointer;
}
.operator {
color: #6dee0a;
}
h1, h2 {
font-family: 'Poppins', sans-serif;
font-weight: 400;
color: #d0e10b;
line-height: 1.25em;
}