From 0a957c97da3a3b53f899af72744f5e98151591e3 Mon Sep 17 00:00:00 2001 From: EnixCoda Date: Thu, 18 Jun 2020 23:49:06 +0800 Subject: [PATCH] feat: handle new GitHub layout --- src/content.scss | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/content.scss b/src/content.scss index 96e72d3..09c8df6 100644 --- a/src/content.scss +++ b/src/content.scss @@ -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