Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
大白技术控
yanglr2010
提交
16bfb72a
Y
yanglr2010
项目概览
大白技术控
/
yanglr2010
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Y
yanglr2010
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
16bfb72a
编写于
8月 16, 2019
作者:
EvanOne(文一)
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
refactor: Optimize UI style & not show header by default
上级
bc8c2bd9
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
36 addition
and
35 deletion
+36
-35
layout/_common/header.pug
layout/_common/header.pug
+1
-1
source/css/_common/main.styl
source/css/_common/main.styl
+2
-2
source/css/_common/notification.styl
source/css/_common/notification.styl
+1
-4
source/css/_common/page.styl
source/css/_common/page.styl
+8
-8
source/css/_components/copy.styl
source/css/_components/copy.styl
+1
-0
source/css/_components/external-link.styl
source/css/_components/external-link.styl
+0
-4
source/css/_components/tag-plugin/note.styl
source/css/_components/tag-plugin/note.styl
+4
-4
source/css/_global/base.styl
source/css/_global/base.styl
+1
-1
source/css/_highlight/highlight.styl
source/css/_highlight/highlight.styl
+11
-9
source/css/var.styl
source/css/var.styl
+6
-1
source/js/copy.js
source/js/copy.js
+1
-1
未找到文件。
layout/_common/header.pug
浏览文件 @
16bfb72a
...
...
@@ -5,7 +5,7 @@ header#header(
theme.header.bg_image.url : " "
})`
)
nav.header-nav
nav.header-nav
.slider-up
div.header-nav-inner
div.fa.fa-bars.header-nav-menu-icon
...
...
source/css/_common/main.styl
浏览文件 @
16bfb72a
...
...
@@ -8,7 +8,7 @@ setUlStyle(content, hoverColor)
color: $ul-list-color
transition: color .2s ease
transform: scale(.6)
@extend $font-face
@extend $font-face
-awesome
&:hover
&::before
...
...
@@ -46,7 +46,7 @@ setUlStyle(content, hoverColor)
color: $h-link-logo-color
opacity: 0
transition: opacity .1s ease
@extend $font-face
@extend $font-face
-awesome
&:hover
&::after
...
...
source/css/_common/notification.styl
浏览文件 @
16bfb72a
...
...
@@ -9,6 +9,7 @@
position: relative
border-radius: 3px
padding: 8px 12px
font-size: $font-size-large
line-height: 1rem
color: $black-light
background-color: #fff
...
...
@@ -38,9 +39,5 @@
& ~ i
color: $alert-error
&-icon
font-size: 20px
&-description
margin-left: .5rem
font-size: 18px
source/css/_common/page.styl
浏览文件 @
16bfb72a
...
...
@@ -69,16 +69,16 @@
&::before
color: $categories-list-dot-hover-color
&-count
padding-left: .3em
font-size: $font-size-base
color: $categories-post-count-color
&-count
padding-left: .3em
font-size: $font-size-base
color: $categories-post-count-color
&::before
content: '('
&::before
content: '('
&::after
content: ')'
&::after
content: ')'
// Gallery in post / page.
.gallery-image
...
...
source/css/_components/copy.styl
浏览文件 @
16bfb72a
...
...
@@ -4,6 +4,7 @@
right: 0
width: 1.5rem
height: 1.5rem
line-height: 1.5rem
text-align: center
color: $black-light
cursor: pointer
source/css/_components/external-link.styl
浏览文件 @
16bfb72a
...
...
@@ -11,7 +11,3 @@
.post-title
.external-link i
font-size: .7em
.article-sort-item
.external-link i
font-size: .55em
source/css/_components/tag-plugin/note.styl
浏览文件 @
16bfb72a
...
...
@@ -17,19 +17,19 @@
font-size: $font-size-base + 6px
&.default::before
content:
'\f0a9'
content:
$note-default
color: #777
&.success::before
content:
'\f058'
content:
$note-success
color: #42b983
&.warning::before
content:
'\f06a'
content:
$note-warning
color: #ecc91e
&.danger::before
content:
'\f056'
content:
$note-danger
color: #dc3b3b
&.default
...
...
source/css/_global/base.styl
浏览文件 @
16bfb72a
...
...
@@ -65,7 +65,7 @@ hr
font-size: 24px
color: $hr-icon-color
transform: translateY(-50% - 4px)
@extend $font-face
@extend $font-face
-awesome
blockquote
border-left: 5px solid $quote-left-color
...
...
source/css/_highlight/highlight.styl
浏览文件 @
16bfb72a
...
...
@@ -8,7 +8,7 @@ for lang in languages
.highlight{'.' + lang}
figcaption
span
&::before
&:
first-child:
:before
content: lang
margin: 0 .6rem
color: alpha($highlight-header-color, .5)
...
...
@@ -44,20 +44,22 @@ for lang in languages
background-color: $highlight-header-bg-color
span
float: left
color: $highlight-header-color
&:first-child
float: left
color: $highlight-header-color
a
float: right
margin-right: 2rem
border-bottom: 0
span
&:nth-child(2)
float: right
margin-right: 2rem
figcaption.custom
padding: .1rem 0
min-height: 1.5rem
span
margin: 0 1rem 0 .6rem
.custom-lang
float: left
margin: 0 .6rem
color: alpha($highlight-header-color, .5)
.gutter,
...
...
source/css/var.styl
浏览文件 @
16bfb72a
...
...
@@ -175,7 +175,7 @@ $font-weight-bolder = 700
// Icon content define
// -------------------------------------------
// All icon elements will inherit these attributes.
$font-face
$font-face
-awesome
font: normal normal normal 14px/1 FontAwesome;
font-size: inherit;
text-rendering: auto;
...
...
@@ -190,6 +190,11 @@ $icon-ul-list-3 = '\f0c8'
$icon-hr = '\f0fb'
$note-default = '\f0a9'
$note-success = '\f058'
$note-warning = '\f06a'
$note-danger = '\f056'
// -------------------------------------------
// z-index list
// -------------------------------------------
...
...
source/js/copy.js
浏览文件 @
16bfb72a
...
...
@@ -10,7 +10,7 @@ $(document).ready(function () {
.
filter
(
function
(
e
)
{
return
e
!==
CODEBLOCK_CLASS_NAME
;
});
var
codeHeader
=
$
(
'
<figcaption class="custom">
'
+
'
<
span>
'
+
lang
+
'
</span
>
'
+
'
<
div class="custom-lang">
'
+
lang
+
'
</div
>
'
+
'
</figcaption>
'
)[
0
];
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录