style(doc-site): 文档站去掉页脚与 1440px 限宽
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
c07d5c640b
commit
434b5d38a8
@ -306,9 +306,6 @@ ${this.styles()}
|
||||
${this.renderBody(active, current)}
|
||||
</main>
|
||||
</div>
|
||||
<footer class="footer">
|
||||
<span>${SITE_NAME} · 文档由「平台管理 → 文档管理」维护</span>
|
||||
</footer>
|
||||
${this.tocScript()}
|
||||
</body>
|
||||
</html>
|
||||
@ -455,9 +452,7 @@ a:hover { text-decoration: underline; }
|
||||
grid-template-columns: 248px minmax(0, 1fr);
|
||||
grid-template-rows: minmax(0, 1fr);
|
||||
flex: 1 1 auto;
|
||||
max-width: 1440px;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
@ -581,15 +576,6 @@ a:hover { text-decoration: underline; }
|
||||
.empty h1 { font-size: 26px; }
|
||||
.empty p { color: var(--text-muted); }
|
||||
|
||||
.footer {
|
||||
flex: 0 0 auto;
|
||||
border-top: 1px solid var(--border);
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
font-size: 12.5px;
|
||||
color: #94a3b8;
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.layout {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user