Skip to content

Commit 18d630d

Browse files
authored
Update style.css
1 parent d0cc805 commit 18d630d

1 file changed

Lines changed: 39 additions & 22 deletions

File tree

Lines changed: 39 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,47 @@
1-
/* Base styles */
21
body {
3-
font-family: cursive;
4-
padding: 60px 20px;
5-
background-color: cornflowerblue;
6-
text-align: center;
2+
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
3+
padding: 60px 20px;
4+
text-align: center;
5+
background: linear-gradient(to right, lightgreen, lightblue);
6+
box-sizing: border-box;
7+
margin: 0;
78
}
89

910
.container {
10-
background-color: white;
11-
padding: 30px 20px;
12-
border: none;
13-
border-radius: 30px;
14-
box-shadow: 0 0 30px rgba(0, 0, 0, 0.9);
15-
width: 90%;
16-
max-width: 300px;
17-
margin: auto;
11+
padding: 30px;
12+
border: none;
13+
border-radius: 30px;
14+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
15+
width: 90%;
16+
max-width: 400px;
17+
margin: auto;
18+
background-color: white;
1819
}
1920

2021
button {
21-
font-size: 1.2rem;
22-
padding: 10px 30px;
23-
border: 2px solid grey;
24-
border-radius: 50px;
25-
font-weight: 600;
26-
cursor: pointer;
27-
background-color: coral;
28-
color: white;
29-
transition: background-color 0.3s ease;
22+
font-size: 2rem;
23+
padding: 12px 30px;
24+
border: 3px solid grey;
25+
border-radius: 40px;
26+
cursor: pointer;
27+
background-color: cornflowerblue;
28+
width: 100%;
29+
box-sizing: border-box;
30+
transition: transform 0.2s ease;
31+
color: white;
32+
}
33+
34+
button:active {
35+
transform: scale(1.3);
36+
}
37+
38+
@media (max-width: 750px) {
39+
button {
40+
font-size: 2rem;
41+
padding: 12px 20px;
42+
}
43+
44+
.container {
45+
width: 60%;
46+
}
3047
}

0 commit comments

Comments
 (0)