File size: 1,637 Bytes
273f76c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c7615ac
273f76c
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Achievement Log Viewer</title>
<style>
    body {
        font-family: Arial, sans-serif;
        background-size: cover;
        padding: 120px 20px 20px 20px;
        color: #333333;
    }
    #log-container {
        background-color: rgba(255, 255, 255, 0.001);
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0,0,0,0.3);
        padding: 20px;
        margin: auto;
        backdrop-filter: blur(10px); 
        height: 300px;  /* Set a fixed height to ensure scrollbar appears */
        overflow-y: auto;  /* Enable vertical scrolling */
    }
    .title {
        font-size: 24px;
        margin-bottom: 10px;
        font-weight: bold;
        color: #333333;
    }
    .achievement {
        border-bottom: 0.5px solid rgba(236, 240, 241, 0.5);
        padding: 10px;
        transition: background-color 0.3s;
    }
    .achievement:last-child {
        border-bottom: none;
    }
    .achievement:hover {
        background-color: rgba(255, 255, 255, 0.05);  
    }
    .achievement p {
        margin: 0;
        color: #333333;
    }
    /* Scrollbar styles */
    ::-webkit-scrollbar {
        width: 12px;
    }
    ::-webkit-scrollbar-track {
        background-color: rgba(0, 0, 0, 0.1);
        border-radius: 10px;
    }
    ::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, 0.5);
        border-radius: 10px;
    }
</style>
</head>
<body>

<div id="log-container">
    <div class="title">冒險週記</div>
    {logs}
</div>

</body>
</html>