-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
62 lines (55 loc) · 1015 Bytes
/
styles.css
File metadata and controls
62 lines (55 loc) · 1015 Bytes
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
body {
font-family: Arial, sans-serif;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background: url("bg.jpeg") no-repeat center center fixed;
background-size: cover;
text-align: center;
}
header h1 {
font-size: 2rem;
color: #4a148c;
margin-bottom: 10px;
}
header p {
font-size: 1rem;
color: #283593;
margin-bottom: 20px;
}
.calculator {
background: #fff;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
width: 300px;
}
.display {
background: #222;
color: #0f0;
font-size: 2rem;
padding: 20px;
text-align: right;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}
.buttons {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 10px;
padding: 20px;
}
.btn {
background: #e0e0e0;
border: none;
border-radius: 5px;
font-size: 1.5rem;
padding: 15px;
cursor: pointer;
transition: background 0.3s;
}
.btn:hover {
background: #d0d0d0;
}