-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
70 lines (59 loc) · 1006 Bytes
/
style.css
File metadata and controls
70 lines (59 loc) · 1006 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
63
64
65
66
67
68
69
70
body {
font-family: sans-serif;
margin: 2em;
display: flex;
flex-direction: column;
align-items: center;
}
h1 {
text-align: center;
}
h1 span {
font-weight: bold;
}
h1 span:first-child {
color: #4CAF50; /* Green */
}
h1 span:last-child {
color: #008CBA; /* Blue */
}
.input-group {
display: flex;
margin-bottom: 15px;
}
input[type="text"],
input[type="number"],
button {
padding: 12px;
margin: 5px;
border: none;
border-radius: 25px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
font-size: 16px;
}
input[type="text"]:focus,
input[type="number"]:focus {
outline: none;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
button {
background-color: #008CBA;
color: white;
cursor: pointer;
padding: 15px 30px;
font-size: 18px;
transition: background-color 0.3s;
}
button:hover {
background-color: #007095;
}
h3 {
margin-top: 20px;
text-align: center;
}
#output {
border: 1px solid #ddd;
padding: 15px;
margin-top: 10px;
border-radius: 8px;
}