-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
94 lines (81 loc) · 1.71 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
body{
font-family: Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
background-color: rgba(255, 255, 255, 0.885);
background-image: url(img1.avif);
margin: 0;
}
.main-navbar {
background-color: rgba(14, 198, 158, 0.8);
height: 70px;
padding-left: 10px;
text-align: left;
overflow: hidden;
color: white;
width: 100%;
font-size: 18px;
}
.Calculator{
display: flex;
justify-content: center;
flex-direction: column;
border: 2px solid rgba(0, 0, 0, 0.8);
border-radius: 10px;
padding: 20px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
background: rgba(0, 0, 0, 0.7);
}
.display{
height: 80px;
text-align: right;
padding: 10px;
font-size: 2.5em;
border: 2px solid rgba(255, 255, 255, 0.849);
margin-bottom: 10px;
}
.buttons{
display: grid;
grid-template-columns: repeat(6, 10fr);
gap: 12px;
}
.button{
padding: 20px;
font-size: 1.2em;
cursor: pointer;
background: #eee;
border: none;
border-radius: 5px;
box-shadow: 0 2px #ddd;
}
.button:active{
box-shadow: none;
position: relative;
top: 2px;
}
.button.special{
background: #dfe6e9;
}
#b1, #b2, #b3{
background: rgb(251, 165, 7);
}
#o1, #o2, #o3, #o4, #o5, #b1{
font-size: 30px;
}
.button:hover{
background-color: rgb(117, 209, 245);
}
#b1:hover, #b2:hover, #b3:hover{
background-color: rgb(251, 89, 30);
}
.footer{
left: 0;
bottom: 0;
width: 100%;
background-color: #333;
color: white;
text-align: center;
overflow: hidden;
}