Skip to content

Commit 5f68bab

Browse files
authored
Update style.css
1 parent 97644bf commit 5f68bab

1 file changed

Lines changed: 52 additions & 20 deletions

File tree

Lines changed: 52 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,62 @@
1+
* {
2+
box-sizing: border-box;
3+
margin: 0;
4+
padding: 0;
5+
}
6+
17
body {
2-
font-family: cursive;
3-
background: linear-gradient(to right, #975034, #745284);
4-
padding: 100px;
5-
text-align: center;
8+
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
9+
padding: 100px 20px;
10+
text-align: center;
11+
background: linear-gradient(to right, lightgreen, lightblue);
612
}
713

814
.container {
9-
padding: 30px 20px 50px 20px;
10-
background-color: white;
11-
border: none;
12-
border-radius: 50px;
13-
box-shadow: 0 0 30px rgba(0, 0, 0, 0.9);
14-
width: 30%;
15-
margin: auto;
15+
background-color: white;
16+
width: 90%;
17+
max-width: 400px;
18+
margin: auto;
19+
padding: 30px 20px 40px;
20+
border-radius: 40px;
21+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
1622
}
1723

1824
p {
19-
font-size: 20px;
25+
font-size: 1.3rem;
26+
word-wrap: break-word;
27+
}
28+
29+
.input {
30+
display: flex;
31+
flex-wrap: wrap;
32+
justify-content: center;
33+
gap: 15px;
34+
margin-top: 30px;
2035
}
2136

2237
button {
23-
padding: 8px 40px;
24-
cursor: pointer;
25-
font-size: 20px;
26-
font-weight: 600;
27-
border: none;
28-
border-radius: 50px;
29-
background-color: cornflowerblue;
30-
}
38+
background-color: cornflowerblue;
39+
font-size: 1rem;
40+
border: none;
41+
border-radius: 20px;
42+
padding: 10px 20px;
43+
color: white;
44+
cursor: pointer;
45+
transition: transform 0.15s ease-in-out;
46+
flex: 1 1 150px;
47+
}
48+
49+
button:active {
50+
transform: scale(1.1);
51+
}
52+
53+
@media (max-width: 400px) {
54+
button {
55+
font-size: 0.9rem;
56+
padding: 8px 15px;
57+
}
58+
59+
p {
60+
font-size: 1.1rem;
61+
}
62+
}

0 commit comments

Comments
 (0)