优化txt译文显示效果

This commit is contained in:
xunbu
2025-10-10 11:18:32 +08:00
parent 6fb3bae5a5
commit 4780a2b19a
2 changed files with 17 additions and 9 deletions

View File

@@ -3,15 +3,26 @@
<head>
<meta charset="UTF-8">
<title>{{ title }}</title>
{{pico}}
<style>
html {
padding: 2vh 10vw;
font-size: 15px;
body{
padding: 0;
margin: 0;
}
pre {
width: 100%;
height: 95%;
border: none;
margin: 0;
padding: 0;
overflow: auto;
background-color: var(--bs-body-bg);
display: block;
font-size: 14px;
line-height: 21px;
}
</style>
</head>
<body>
{{ body }}
<pre>{{ body }}</pre>
</body>
</html>