This commit is contained in:
1 parent
33c0c53dfd
commit
3f00e0c0ce
1 file changed
+18
+18
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user