diff --git a/src/app.css b/src/app.css index e703504..23e33f6 100644 --- a/src/app.css +++ b/src/app.css @@ -1559,4 +1559,22 @@ footer section p:first-child { .code-header-actions { display: none !important; } + + /* 让顶栏不再悬浮,仅在第一页显示 */ + .header { + position: static !important; + } + + /* 在顶栏的站点名称后追加版权声明 */ + .header .brand::after { + content: ' - 本站所有内容仅用于教学,未经作者允许,不得以任何其他形式使用'; + font-size: 14px; + font-weight: normal; + margin-left: 10px; + } + + /* 移除主容器为了悬浮顶栏而预留的顶部内边距 */ + main { + padding-top: 0 !important; + } }