Spaces:
Runtime error
Runtime error
<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> | |
</div> | |
</body> | |
</html> | |