novel-plus/templates/green/html/mobile/common/css.html
2025-07-25 12:58:18 +08:00

48 lines
1.0 KiB
Java

<div th:fragment="css">
<link rel="stylesheet" href="/mobile/layui/css/layui.css">
<style type="text/css">
body {
min-height: 100vh;
position: relative;
}
.app {
display: none;
}
@media (max-width: 500px) {
.app {
display: block !important;
}
}
.pc {
display: block;
}
@media (max-width: 500px) {
.pc {
display: none;
}
}
.book_name {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
white-space: pre-wrap;
}
#footer {
position: absolute;
bottom: 0px;
left: 0;
right: 0;
height: 50px;
line-height: 48px;
text-align: center;
}
</style>
</div>