-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
80 lines (70 loc) · 1.54 KB
/
styles.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
/* Global styling */
body {
background-color: #ececed;
font-family: "SF Pro Text", "Helvetica Neue", sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
/* Calculator styling */
.calculator {
width: 320px;
border-radius: 20px;
overflow: hidden;
background-color: #04206e;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
padding: 10px;
}
/* Display styling */
.display {
background-color: #676771;
color: white;
border-radius: 10px;
font-size: 28px;
text-align: right;
padding: 10px;
margin-bottom: 20px;
min-height: 50px;
}
/* Button row */
.button-row {
display: flex;
justify-content: space-between;
margin-bottom: 10px;
}
/* General button styling */
.button {
width: 70px; /* Increased width */
height: 70px;
border: none;
border-radius: 35px;
color: rgb(255, 255, 255);
font-size: 24px;
background-color: #caab3a;
transition: background-color 0.2s;
cursor: pointer;
}
.button:hover {
background-color: #666;
}
/* Function button styling */
.function {
background-color: #ba3d3d;
}
/* Operator button styling */
.operator {
background-color: #21a7bf;
}
/* Equals button styling */
.equals {
background-color: #29a235;
}
/* Styling for zero button */
.zero {
width: 145px; /* Width twice the other buttons */
}
/* Styling for decimal button */
.button[data-value="."] {
background-color: #21a7bf;
}