Skip to main content

max / makenotwork

1.3 KB · 35 lines History Blame Raw
1 <!doctype html>
2 <html lang="en">
3 <head>
4 <meta charset="UTF-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 <title>Support {{ display_name }} — Makenot.work</title>
7 <style>
8 * { margin: 0; padding: 0; box-sizing: border-box; }
9 body {
10 font-family: Lato, -apple-system, sans-serif;
11 background: #ede8e1; color: #3d3530;
12 display: flex; align-items: center;
13 height: 100vh; padding: 8px 12px;
14 }
15 .tip { display: flex; align-items: center; gap: 10px; width: 100%; }
16 .avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
17 .placeholder { background: #f5f0eb; }
18 .label { flex: 1; font-size: 13px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
19 .support-btn {
20 background: #6c5ce7; color: #fff; border: none; border-radius: 4px;
21 padding: 8px 14px; font-size: 12px; font-weight: 600;
22 cursor: pointer; text-decoration: none; white-space: nowrap;
23 }
24 .support-btn:hover { background: #5a4bd6; }
25 </style>
26 </head>
27 <body>
28 <div class="tip">
29 {% if let Some(url) = avatar_url %}<img class="avatar" src="{{ url }}" alt="">{% else %}<div class="avatar placeholder"></div>{% endif %}
30 <span class="label">Support @{{ username }}</span>
31 <a class="support-btn" href="{{ tip_url }}" target="_blank" rel="noopener">Support</a>
32 </div>
33 </body>
34 </html>
35