Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
计算机应用开发
前端
Vuepress
提交
4a4f8ed0
V
Vuepress
项目概览
计算机应用开发
/
前端
/
Vuepress
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
Vuepress
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
4a4f8ed0
编写于
6月 15, 2018
作者:
U
ULIVZ
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
style: change ".content" to "#content"
上级
d210ec03
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
9 addition
and
9 deletion
+9
-9
lib/default-theme/NotFound.vue
lib/default-theme/NotFound.vue
+1
-1
lib/default-theme/styles/code.styl
lib/default-theme/styles/code.styl
+2
-2
lib/default-theme/styles/mobile.styl
lib/default-theme/styles/mobile.styl
+1
-1
lib/default-theme/styles/theme.styl
lib/default-theme/styles/theme.styl
+4
-4
lib/webpack/markdownLoader.js
lib/webpack/markdownLoader.js
+1
-1
未找到文件。
lib/default-theme/NotFound.vue
浏览文件 @
4a4f8ed0
<
template
>
<div
class=
"theme-container"
>
<div
class
=
"content"
>
<div
id
=
"content"
>
<h1>
404
</h1>
<blockquote>
{{
getMsg
()
}}
</blockquote>
<router-link
to=
"/"
>
Take me home.
</router-link>
...
...
lib/default-theme/styles/code.styl
浏览文件 @
4a4f8ed0
@require './config'
.
content
#
content
code
color lighten($textColor, 20%)
padding 0.25rem 0.5rem
...
...
@@ -9,7 +9,7 @@
background-color rgba(27,31,35,0.05)
border-radius 3px
.
content
#
content
pre, pre[class*="language-"]
line-height 1.4
padding 1.25rem 1.5rem
...
...
lib/default-theme/styles/mobile.styl
浏览文件 @
4a4f8ed0
...
...
@@ -31,7 +31,7 @@ $mobileSidebarWidth = $sidebarWidth * 0.82
@media (max-width: $MQMobileNarrow)
h1
font-size 1.9rem
.
content
#
content
div[class*="language-"]
margin 0.85rem -1.5rem
border-radius 0
lib/default-theme/styles/theme.styl
浏览文件 @
4a4f8ed0
...
...
@@ -54,7 +54,7 @@ body
border-right 1px solid $borderColor
overflow-y auto
.
content:not(.custom)
#
content:not(.custom)
@extend $wrapper
> *:first-child
margin-top $navbarHeight
...
...
@@ -67,7 +67,7 @@ body
img
max-width 100%
.
content.custom
#
content.custom
padding 0
margin 0
img
...
...
@@ -105,7 +105,7 @@ strong
h1, h2, h3, h4, h5, h6
font-weight 600
line-height 1.25
.
content:not(.custom) > &
#
content:not(.custom) > &
margin-top (0.5rem - $navbarHeight)
padding-top ($navbarHeight + 1rem)
margin-bottom 0
...
...
@@ -171,7 +171,7 @@ th, td
.sidebar-mask
display: block
&.no-navbar
.
content:not(.custom) > h1, h2, h3, h4, h5, h6
#
content:not(.custom) > h1, h2, h3, h4, h5, h6
margin-top 1.5rem
padding-top 0
.sidebar
...
...
lib/webpack/markdownLoader.js
浏览文件 @
4a4f8ed0
...
...
@@ -82,7 +82,7 @@ module.exports = function (src) {
const
res
=
(
`<template>\n`
+
`<div
class
="content">
${
html
}
</div>\n`
+
`<div
id
="content">
${
html
}
</div>\n`
+
`</template>\n`
+
(
hoistedTags
||
[]).
join
(
'
\n
'
)
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录