-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
65 lines (58 loc) · 1.2 KB
/
index.css
File metadata and controls
65 lines (58 loc) · 1.2 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
body {
background: linear-gradient(120deg, #f8fafc 0%, #e2e8f0 100%);
font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
/* Main container for the calculator form*/
.form-container {
background: #fff;
padding: 2.5rem 2rem;
border-radius: 1.2rem;
/*Subtle shadow for depth effect */
box-shadow: 0 6px 32px rgba(0,0,0,0.12);
display: flex;
flex-direction: column;
gap: 1.2rem;
min-width: 320px;
max-width: 360px;
}
/*Label styling for form inputs*/
label {
font-size: 1.05rem;
color: #334155;
margin-bottom: 0.3rem;
font-weight: 500;
}
input[type="number"] {
padding: 0.7rem 0.9rem;
border: 1px solid #cbd5e1;
border-radius: 0.6rem;
font-size: 1rem;
background: #f1f5f9;
color: #1e293b;
transition: border 0.2s;
outline: none;
margin-bottom: 0.5rem;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type="number"] {
-moz-appearance: textfield;
appearance: textfield;
}
input[type="number"]:focus {
border-color: #3b82f6;
background: #e0e7ef;
}
button{
width:50px;
}
py-script {
display: none;
}