-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
74 lines (65 loc) · 1.44 KB
/
style.css
File metadata and controls
74 lines (65 loc) · 1.44 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
/* body.css */
body {
font-family: sans-serif;
margin: 50px;
background-color: #f5f5f5; /* Light gray background */
justify-content: center;
align-items: center;
min-height: 100vh;
}
h1 {
font-size: 2em;
margin-bottom: 20px;
color: #333; /* Black heading */
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}
.calculator {
background-color: #eee; /* Lighter gray for calculator */
border: 1px solid #ccc;
padding: 20px;
border-radius: 5px;
width: 400px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle box shadow */
}
.input-fields {
display: flex;
flex-direction: column;
gap: 10px;
}
label {
font-weight: bold;
color: #333; /* Black labels */
margin-bottom: 5px;
}
input {
width: 300px;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
background-color: #fff; /* White input fields */
}
#result {
width: 390px;
margin-top: 20px;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
font-weight: bold;
text-align: center;
background-color: #f8f8f8; /* Very light gray for result area */
}
button {
background-color: #9b59b6; /* Purple buttons */
color: white;
padding: 12px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
margin-top: 20px;
margin-right: 10px;
transition: background-color 0.2s ease-in-out; /* Smooth hover effect */
}
button:hover {
background-color: #8e4b9c; /* Darken button on hover */
}