-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
72 lines (63 loc) · 1.12 KB
/
style.css
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
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
body{
background: #A1CCA8;
font-family: arial;
height: 100vh;
}
.container{
max-width: 900px;
margin: 0 auto;
padding: 2rem;
box-shadow: 0px 5px 10px rgba(0,0,0,0.7);
background-color: #eee;
border-radius: 10px;
}
h1{
color: #333;
margin: 1rem;
font-size: 2rem;
text-align: center;
}
input{
width: 100%;
outline: none;
margin-bottom: 2rem;
height: 45px;
padding: 0.5rem 2rem;
border: 1px solid #ccc;
border-radius:10px ;
}
.list-items{
list-style: none;
border: 1px solid #ccc;
border-radius: 10px ;
overflow: hidden;
}
.list-item{
background-color: white;
padding: 1rem;
border-bottom: 1px solid #ccc;
transition: all 0.3s;
}
.list-item:last-child{
border-bottom: none;
}
.list-item:hover{
background: #333;
color:#fff;
cursor: pointer;
}
.no-item{
border: 1px solid #ccc;
padding: 1rem;
border-left: 5px solid red;
background-color: pink;
color: red;
text-align: center;
border-radius: 5px;
font-size: 1.2rem;
}