Skip to content

Commit fb77ccd

Browse files
authored
Update style.css
1 parent 9d3be7d commit fb77ccd

1 file changed

Lines changed: 35 additions & 9 deletions

File tree

Lines changed: 35 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,72 @@
1+
* {
2+
box-sizing: border-box;
3+
}
4+
15
body {
26
text-align: center;
3-
padding: 100px;
7+
padding: 80px 15px;
48
background-color: blueviolet;
59
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
610
}
711

812
.container {
913
background-color: white;
1014
padding: 20px;
11-
width: 30%;
15+
width: 100%;
16+
max-width: 500px;
1217
margin: auto;
1318
border: none;
14-
border-radius: 50px;
19+
border-radius: 30px;
20+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
21+
}
22+
23+
.input-section {
24+
display: flex;
25+
flex-wrap: wrap;
26+
gap: 10px;
27+
justify-content: center;
28+
margin-bottom: 20px;
1529
}
1630

1731
input {
18-
width: 60%;
32+
flex: 1 1 200px;
1933
padding: 10px;
2034
border: 3px solid grey;
2135
border-radius: 15px;
36+
font-size: 15px;
37+
min-width: 0;
2238
}
2339

2440
button {
2541
font-size: 15px;
26-
padding: 10px;
42+
padding: 10px 20px;
2743
border: 3px solid greenyellow;
2844
border-radius: 15px;
2945
background-color: greenyellow;
3046
font-weight: 600;
3147
cursor: pointer;
48+
white-space: nowrap;
3249
}
3350

51+
ul {
52+
padding: 0;
53+
margin: 20px 0 0 0;
54+
display: flex;
55+
flex-direction: column;
56+
align-items: center;
57+
}
3458
li {
3559
list-style: none;
3660
background-color: #e3dede;
37-
padding: 6px 6px 6px 10px;
61+
padding: 10px 16px;
3862
margin-bottom: 10px;
3963
border-radius: 10px;
40-
text-align: start;
41-
width: 85%;
64+
width: 100%;
65+
max-width: 90%;
66+
text-align: left;
67+
box-sizing: border-box;
4268
}
4369

4470
li:hover {
4571
background-color: #bdbdbd;
46-
}
72+
}

0 commit comments

Comments
 (0)