forked from sumn2u/learn-javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
74 lines (64 loc) · 1.16 KB
/
style.css
File metadata and controls
74 lines (64 loc) · 1.16 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 {
font-family: Arial, sans-serif;
background: #f3f4f6;
margin: 0;
padding: 0;
}
.container {
background: #fff;
max-width: 350px;
margin: 50px auto;
padding: 24px 16px;
border-radius: 10px;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}
h1 {
margin-bottom: 20px;
font-size: 1.6em;
text-align: center;
}
label {
display: block;
margin: 12px 0 4px;
}
input[type="number"] {
width: 100%;
padding: 8px;
margin-bottom: 10px;
border-radius: 5px;
border: 1px solid #ddd;
}
.tips {
display: flex;
gap: 8px;
margin-bottom: 10px;
}
.tip-btn {
flex: 1;
padding: 8px 0;
background: #e5e7eb;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background 0.2s;
}
.tip-btn.active,
.tip-btn:hover {
background: #38bdf8;
color: #fff;
}
#customTip {
flex: 1;
padding: 8px;
}
#results {
margin-top: 18px;
background: #f1f5f9;
padding: 12px;
border-radius: 6px;
transition: background 0.4s;
}
#results p {
margin: 8px 0;
font-size: 1.05em;
}