-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
96 lines (86 loc) · 1.7 KB
/
Copy pathstyles.css
File metadata and controls
96 lines (86 loc) · 1.7 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
95
96
/* General Styles */
body {
font-family: Arial, sans-serif;
background-color: #dad7cd;
color: #333;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
}
/* Calculator Container */
.calculator {
width: 350px;
height: 450px;
background-color: #a3b18a;
border-radius: 15px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
}
/* Heading */
h1 {
color: white;
font-size: 20px;
margin-bottom: 10px;
}
/* Display */
#display {
color: #0077b6;
width: 90%;
height: 50px;
background-color: #fff;
border-radius: 5px;
text-align: right;
padding: 10px;
font-size: 24px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
margin-bottom: 20px;
}
/* Button Container */
.buttons {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 10px;
width: 90%;
}
/* Buttons */
button {
width: 100%;
height: 60px;
font-size: 20px;
border: none;
border-radius: 5px;
background-color: #dad7cd;
color: #0077b6;
cursor: pointer;
transition: background-color 0.3s;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
button:hover {
background-color: #a3b18a;
}
/* Clearing Buttons */
#clearing button {
background-color: #dc3545;
}
/*
#AC{
display: flex;
} */
#clearing button:hover {
background-color: #c82333;
}
/* Responsive Styles */
@media (max-width: 400px) {
.calculator {
width: 90%;
}
button {
height: 50px;
font-size: 18px;
}
}