-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
89 lines (79 loc) · 1.77 KB
/
styles.css
File metadata and controls
89 lines (79 loc) · 1.77 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
/* General body styles */
body {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #f7f7f7;
font-family: 'Arial', sans-serif;
transition: background-color 0.3s;
}
/* Dark theme body styles */
body.dark-theme {
background-color: #333;
color: #fff;
}
/* Calculator container styles */
.calculator {
border: 1px solid #ccc;
border-radius: 10px;
padding: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
background-color: #fff;
transition: background-color 0.3s, color 0.3s;
}
/* Dark theme calculator styles */
body.dark-theme .calculator {
background-color: #444;
color: #fff;
}
/* Display screen styles */
#display {
width: 100%;
height: 50px;
margin-bottom: 10px;
text-align: right;
font-size: 24px;
border: none;
border-bottom: 2px solid #ccc;
background-color: #fff;
color: #000;
transition: background-color 0.3s, color 0.3s;
}
/* Dark theme display styles */
body.dark-theme #display {
background-color: #555;
color: #fff;
}
/* Buttons container styles */
.buttons {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 10px;
}
/* Individual button styles */
button {
width: 100%;
height: 50px;
font-size: 18px;
border: none;
background-color: #f2f2f2;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s, color 0.3s, transform 0.2s;
}
/* Dark theme button styles */
body.dark-theme button {
background-color: #666;
color: #fff;
}
/* Button hover effects */
button:hover {
background-color: #e0e0e0;
transform: scale(1.05);
}
/* Dark theme button hover effects */
body.dark-theme button:hover {
background-color: #777;
}