-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmessage.html
90 lines (81 loc) · 2.26 KB
/
message.html
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Direct Messages</title>
<style>
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
padding: 0;
background-color: #fafafa;
color: #333;
}
.header {
background-color: #0095f6;
color: white;
padding: 20px;
text-align: center;
font-size: 24px;
}
.content {
max-width: 90%;
margin: auto;
padding: 20px;
background-color: white;
border-radius: 10px;
margin-top: 80px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.message-container {
margin-top: 20px;
}
.message {
display: flex;
justify-content: flex-start;
align-items: center;
margin-bottom: 15px;
}
.message img {
width: 40px;
height: 40px;
border-radius: 50%;
margin-right: 10px;
}
.message-text {
background-color: #dbf4fd;
padding: 10px;
border-radius: 10px;
max-width: 70%;
}
.no-messages {
text-align: center;
margin-top: 20px;
color: #888;
}
</style>
</head>
<body>
<div class="header">
<h1>Direct Messages</h1>
</div>
<div class="content">
<div class="message-container">
<!-- Display messages here -->
<!-- Example: -->
<div class="message">
<img src="user1.jpg" alt="User 1">
<div class="message-text">Hey, how are you?</div>
</div>
<div class="message">
<img src="user2.jpg" alt="User 2">
<div class="message-text">Can we catch up later?</div>
</div>
</div>
<div class="no-messages">
<p>No messages yet.</p>
</div>
</div>
</body>
</html>