feat: handle new GitHub layout

This commit is contained in:
EnixCoda 2020-06-18 23:49:06 +08:00
parent b9be46b337
commit 0a957c97da
No known key found for this signature in database
GPG key ID: 0C1A07377913A1DD

View file

@ -27,8 +27,24 @@ $minimal-z-index: max($github-header-z-index, $github-pull-request-float-header-
background: $gray-dark;
}
.Header {
max-width: 1012px;
max-width: 1280px;
margin: 0 auto;
@media (min-width: 1280px) {
padding: 0 32px !important;
}
}
.pagehead.repohead {
box-shadow: inset 0 -1px 0 #e1e4e8;
& > * {
max-width: 1280px;
margin: auto;
&.UnderlineNav {
position: relative;
overflow: visible !important;
}
}
}
// gitee