-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
102 lines (87 loc) · 1.53 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Mons', sans-serif;
background-image: url("img/bg.svg");
background-size: cover;
display: flex;
justify-content: center;
align-items: center;
background-color: #e8e9fc;
min-height: 100vh;
}
.calculator-container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
backdrop-filter: blur(5px);
background-color: #e8e9fc47;
width: 300px;
padding: 30px;
gap: 20px;
}
.buttons-container {
display: flex;
flex-direction: column;
gap: 10px;
width: 100%;
}
.row {
display: flex;
justify-content: space-between;
gap: 10px;
}
.col {
flex-basis: 25%;
}
/* Display */
.display-container {
display: flex;
flex-direction: column;
gap: 5px;
padding: 10px;
background-color: #e8e9fc;
width: 100%;
color: #333;
text-align: right;
}
#display {
height: 28px;
width: 100%;
font-size: 1.5rem;
font-weight: bold;
}
#display-history {
height: 20px;
width: 100%;
font-size: 1rem;
font-weight: bold;
color: #666;
}
/* Buttons */
.col button {
width: 100%;
background-color: #b280ef;
border: none;
padding: 10px;
border-radius: 5px;
}
.col button:hover {
background-color: #a16ee8;
}
.col button:active {
background-color: #8f5de0;
}
.special {
background-color: #ea80ef;
}
.double-size {
flex-basis: 50%;
}
.border-radius {
border-radius: 10px;
}