-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
87 lines (76 loc) · 1.61 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
/* Reset default margins and padding */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #121212; /* Dark background */
font-family: 'Arial', sans-serif;
}
div {
width: 320px;
padding: 20px;
border-radius: 15px;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.5);
background-color: #1e1e1e; /* Slightly lighter background for the calculator */
}
input[type="text"] {
width: 100%;
padding: 20px;
font-size: 28px;
color: #ffffff; /* White text color */
background-color: #424242; /* Input background */
border: none;
border-radius: 10px;
margin-bottom: 10px;
text-align: right;
outline: none;
}
h5 {
color: #ff9800; /* Orange color for the answer text */
text-align: center;
margin: 10px 0;
}
table {
width: 100%;
border-collapse: collapse;
}
input[type="button"] {
width: 100%;
padding: 20px;
font-size: 20px;
color: #ffffff;
background-color: #ff5722;
border: none;
border-radius: 10px;
cursor: pointer;
transition: background-color 0.3s, transform 0.2s;
}
input[type="button"]:hover {
background-color: #e64a19;
transform: scale(1.05);
}
input[value="AC"],
input[value="+/-"],
input[value="%"] {
background-color: #ff9800;
}
input[value="/"],
input[value="x"],
input[value="-"],
input[value="+"] {
background-color: #f57c00;
}
input[value="="] {
background-color: #ffb74d;
}
input[value="00"],
input[value="0"],
input[value="."] {
background-color: #ff5722;
}