-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
69 lines (53 loc) · 1.05 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
/* General body styling */
body {
font-family: Arial, sans-serif;
margin: 20px;
background-color: #f9f9f9;
color: #333;
line-height: 1.6;
}
h1 {
text-align: center;
color: #444;
}
/* Styling for the user list */
#user-list {
list-style: none;
margin: 20px auto;
padding: 0;
max-width: 600px;
background: #fff;
border: 1px solid #ddd;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
overflow: hidden;
}
#user-list li {
padding: 15px 20px;
border-bottom: 1px solid #ddd;
display: flex;
justify-content: space-between;
align-items: center;
}
h2 {
text-align: center;
margin-top: 20px;
color: #444;
}
#user-list li:last-child {
border-bottom: none;
}
#user-list li:hover {
background-color: #f0f8ff;
}
#user-list li p {
margin: 0;
}
#user-list li .user-name {
font-weight: bold;
color: #0073e6;
}
#user-list li .user-email {
font-style: italic;
color: #555;
}