-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
105 lines (90 loc) · 1.94 KB
/
Copy pathstyles.css
File metadata and controls
105 lines (90 loc) · 1.94 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
97
98
99
100
101
102
103
104
105
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
margin: 0;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
padding: 20px;
box-sizing: border-box;
}
.utility-container {
background: #ffffff;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
padding: 20px;
/* FIX 3: Make width responsive.
Use max-width so it shrinks on phones, but stays 400px on desktop */
width: 100%;
max-width: 400px;
text-align: center;
}
h1, h2 {
margin-bottom: 20px;
color: #333;
}
.input-section input {
width: calc(50% - 10px);
padding: 10px;
margin: 5px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 1rem;
}
.buttons button {
padding: 10px;
margin: 5px;
font-size: 1.2rem;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
}
#add { background: #4caf50; }
#subtract { background: #ff9800; }
#multiply { background: #2196f3; }
#divide { background: #f44336; }
/* Style for Clear Buttons (shared by all clear actions) */
.clear-button {
background: #d32f2f;
color: white;
padding: 10px;
font-size: 1rem;
border: none;
border-radius: 5px;
cursor: pointer;
margin: 10px 5px 0;
}
.clear-button:hover {
background: #b71c1c;
}
.result-section {
width: 90%;
padding: 10px;
margin-top: 10px;
border: none;
border-radius: 5px;
background-color: #f9f9f9;
text-align: center;
font-size: 1.2rem;
color: #333;
min-height: 40px;
}
#natoResult {
background: #e8f5e9;
color: #333;
}
#history {
list-style: none;
padding: 0;
}
#history li {
background: #f9f9f9;
margin: 5px 0;
padding: 10px;
border-radius: 5px;
font-size: 0.9rem;
color: #333;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}