From 5c2ee359b861e308c5493be4e1ae26d9c50833cc Mon Sep 17 00:00:00 2001 From: shenyu <448766534@qq.com> Date: Sun, 15 Dec 2019 09:37:23 +0800 Subject: [PATCH] fix: styles --- layout/_partial/ayer.ejs | 2 +- source/css/_partial/layout.styl | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/layout/_partial/ayer.ejs b/layout/_partial/ayer.ejs index bfa5fc7..2a85c73 100644 --- a/layout/_partial/ayer.ejs +++ b/layout/_partial/ayer.ejs @@ -2,7 +2,7 @@
<% if (theme.github && theme.github.url){ %> <%# "GitHub Ribbons" %> - Fork me on GitHub <% } %> diff --git a/source/css/_partial/layout.styl b/source/css/_partial/layout.styl index c5123fa..b9d02dd 100644 --- a/source/css/_partial/layout.styl +++ b/source/css/_partial/layout.styl @@ -10,6 +10,11 @@ padding 0 margin-bottom 3rem text-align center + .forkMe + position absolute + z-index 999 + top 0 + right 0 .content, .sidebar transition(transition-base) @@ -88,6 +93,9 @@ transform: none @media (max-width: 768px) + .cover + .forkMe + display none .content &.on margin-left -1px !important