-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
93 lines (82 loc) · 1.69 KB
/
Copy pathstyle.css
File metadata and controls
93 lines (82 loc) · 1.69 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
body {
width: 100%;
height: 100vh;
margin: 0;
display: grid;
place-content: center;
background: linear-gradient(to right, hsla(272, 93%, 17%, 0.915), #6441A5);
font-family: Arial, sans-serif;
color: #fff;
}
.box {
border: 2px solid #00b4d8;
background: rgba(0, 0, 0, 0.7);
color: #fff;
width: 100%;
max-width: 350px;
display: flex;
flex-direction: column;
align-items: center;
gap: 15px;
padding: 20px;
border-radius: 10px;
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}
.box h3 {
margin: 0;
font-size: 1.5rem;
text-align: center;
}
.box div {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}
.box label {
font-size: 0.9rem;
}
.box input[type="number"],
.box input[type="checkbox"] {
margin-left: 10px;
}
button {
border: none;
padding: 10px 20px;
border-radius: 25px;
font-size: 1rem;
font-weight: bold;
cursor: pointer;
background-image: linear-gradient(to top, #fbc2eb 0%, #a6c1ee 100%);
color: #333;
transition: background-image 0.3s ease-in-out, transform 0.2s;
}
button:hover {
background-image: linear-gradient(to top, #c73b9f 0%, #5e8ddf 100%);
transform: scale(1.05);
}
#result {
margin-top: 10px;
font-size: 1rem;
color: #ff9e00;
font-weight: bold;
text-align: center;
border: 2px solid #ff9e00;
padding: 5%;
width: 70%;
}
input[type="number"] {
width: 60px;
padding: 5px;
border: 1px solid #ddd;
border-radius: 5px;
outline: none;
}
input[type="checkbox"] {
transform: scale(1.2);
}
.error {
color: #ff0000;
font-size: 0.9rem;
text-align: center;
}