-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate.html
More file actions
151 lines (151 loc) · 3.27 KB
/
template.html
File metadata and controls
151 lines (151 loc) · 3.27 KB
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Transcript</title>
<style>
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
background-color: #323338;
color: #dcddde;
margin: 0;
}
.title {
text-align: left;
margin-top: 20px;
border-bottom: 1px solid #72767d;
}
.title h1 {
margin-left: 20px;
}
.message {
display: flex;
align-items: flex-start;
margin-bottom: 20px;
padding: 10px 20px;
}
.message.no-padding {
margin-top: -30px;
padding-left: 70px;
}
.pfp {
width: 40px;
height: 40px;
border-radius: 50%;
margin-right: 10px;
}
.username {
font-weight: 600;
color: #7289da;
}
.timestamp {
color: #72767d;
font-size: 0.75em;
margin-left: 5px;
}
.content {
display: flex;
flex-direction: column;
}
.message_content {
margin-top: 5px;
color: #dcddde;
}
.message:hover {
background-color: #2f3035;
}
.embed {
border-left: 4px solid #7289da;
background-color: #2c2d30;
padding: 10px;
margin-top: 10px;
border-radius: 5px;
}
.embed-title {
font-weight: 600;
margin-bottom: 5px;
font: bold 16px/20px Arial, sans-serif;
}
.embed-description {
color: #dcddde;
}
.embed-field {
margin-top: 10px;
}
.embed-field-name {
font: bold 14px/18px Arial, sans-serif;
}
.embed-field-value {
color: #dcddde;
}
.embed-fields {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.embed-field {
flex: 1;
min-width: 200px;
}
.embed-footer {
margin-top: 10px;
color: #72767d;
font-size: 0.75em;
}
.reactions {
margin-top: 5px;
}
.reaction {
display: inline-block;
padding: 2px 5px;
margin-right: 5px;
background-color: #2c2d30;
border-radius: 7px;
margin-right: 5px;
border: 1px solid #2c2d30;
}
.reaction:hover {
cursor: pointer;
border: 1px solid #5b5c61;
}
.reaction-count {
color: #72767d;
font-size: 0.75em;
}
.reaction-emoji {
margin-right: 5px;
}
.attachment {
margin-top: 10px;
max-width: 100%;
border-radius: 4px;
overflow: hidden;
}
.attachment img {
max-width: 400px;
max-height: 300px;
border-radius: 4px;
object-fit: contain;
}
.attachment a {
display: inline-block;
padding: 8px 12px;
background-color: #2c2d30;
border-radius: 4px;
color: #dcddde;
text-decoration: none;
margin-top: 5px;
}
.attachment a:hover {
background-color: #3c3d40;
}
</style>
</head>
<body>
<div class="title">
<h1>Transcript</h1>
</div>
{{.Messages}}
</body>
</html>