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)}
|
${this.renderBody(active, current)}
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
<footer class="footer">
|
|
||||||
<span>${SITE_NAME} · 文档由「平台管理 → 文档管理」维护</span>
|
|
||||||
</footer>
|
|
||||||
${this.tocScript()}
|
${this.tocScript()}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@ -455,9 +452,7 @@ a:hover { text-decoration: underline; }
|
|||||||
grid-template-columns: 248px minmax(0, 1fr);
|
grid-template-columns: 248px minmax(0, 1fr);
|
||||||
grid-template-rows: minmax(0, 1fr);
|
grid-template-rows: minmax(0, 1fr);
|
||||||
flex: 1 1 auto;
|
flex: 1 1 auto;
|
||||||
max-width: 1440px;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0 auto;
|
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
@ -581,15 +576,6 @@ a:hover { text-decoration: underline; }
|
|||||||
.empty h1 { font-size: 26px; }
|
.empty h1 { font-size: 26px; }
|
||||||
.empty p { color: var(--text-muted); }
|
.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) {
|
@media (max-width: 900px) {
|
||||||
.layout {
|
.layout {
|
||||||
grid-template-columns: minmax(0, 1fr);
|
grid-template-columns: minmax(0, 1fr);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user