Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
website
提交
d7fb4fe1
W
website
项目概览
openeuler
/
website
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
W
website
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
d7fb4fe1
编写于
9月 11, 2019
作者:
E
edisonxiang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
avoid the conflict with styles
上级
af078099
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
21 addition
and
32 deletion
+21
-32
themes/project/layouts/partials/docs/html-head.html
themes/project/layouts/partials/docs/html-head.html
+2
-2
themes/project/layouts/partials/head.html
themes/project/layouts/partials/head.html
+0
-3
themes/project/layouts/partials/nav.html
themes/project/layouts/partials/nav.html
+0
-26
themes/project/layouts/partials/scripts.html
themes/project/layouts/partials/scripts.html
+2
-1
themes/project/static/css/custom.css
themes/project/static/css/custom.css
+17
-0
未找到文件。
themes/project/layouts/partials/docs/html-head.html
浏览文件 @
d7fb4fe1
...
...
@@ -3,9 +3,9 @@
<meta
http-equiv=
"X-UA-Compatible"
content=
"ie=edge"
>
<title>
{{ partial "docs/title" . }} | {{ .Site.Title -}}
</title>
<!-- Theme stylesheet, you can customize scss by creating `assets/custom.scss` in your website
-->
<!-- Theme stylesheet, you can customize scss by creating `assets/custom.scss` in your website
{{- $styles := resources.Get "book.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }}
<link
rel=
"stylesheet"
href=
"{{ $styles.RelPermalink }}"
>
<link rel="stylesheet" href="{{ $styles.RelPermalink }}">
-->
{{ if default true .Site.Params.BookSearch }}
{{- $searchJS := resources.Get "search.js" | resources.ExecuteAsTemplate "search.js" . | resources.Minify | resources.Fingerprint }}
...
...
themes/project/layouts/partials/head.html
浏览文件 @
d7fb4fe1
...
...
@@ -73,7 +73,4 @@
<meta
property=
"og:type"
content=
"website"
/>
<meta
property=
"og:url"
content=
"{{ .Permalink }}/"
/>
<meta
property=
"og:image"
content=
"{{ .Site.Params.logo }}"
/>
<script
src=
"{{ .Site.BaseURL }}js/flexible.js"
></script>
</head>
themes/project/layouts/partials/nav.html
浏览文件 @
d7fb4fe1
<!-- 新增div盒子
<div class="isPc pc_box">
<header>
<h2>openEuler</h2>
<ul>
<li class='on'>Home</li>
<li>Contribution</li>
<li>Get Start</li>
<li>Cooperation</li>
<li>Application Development</li>
<li>Docs</li>
<li>Download</li>
<li class="flex">
<img src="./images/search.svg" alt="搜索">
</li>
<li class="search">
<img src="./images/earth.svg">
<span>English</span>
<i></i>
</li>
</ul>
</header>
</div>-->
<div
class=
"isPc navbar-affixed-top"
data-spy=
"affix"
data-offset-top=
"200"
>
<div
class=
"navbar navbar-default yamm"
role=
"navigation"
id=
"navbar"
>
...
...
themes/project/layouts/partials/scripts.html
浏览文件 @
d7fb4fe1
...
...
@@ -23,8 +23,9 @@
<script
src=
"{{ .Site.BaseURL }}js/owl.carousel.min.js"
></script>
<!-- used to for mobile -->
<
div
id=
"mask"
onclick=
"hideNav()"
></div
>
<
script
src=
"{{ .Site.BaseURL }}js/flexible.js"
></script
>
<script
src=
"{{ .Site.BaseURL }}js/common.js"
></script>
<div
id=
"mask"
onclick=
"hideNav()"
></div>
<script
type=
"text/javascript"
>
$
(
document
).
ready
(
function
()
{
...
...
themes/project/static/css/custom.css
浏览文件 @
d7fb4fe1
...
...
@@ -480,6 +480,23 @@ footer .notice span {
max-width: 1920px;
}*/
.container
.book-menu
{
font-size
:
inherit
;
flex
:
0
0
5rem
;
}
.container
div
.book-page
{
margin-left
:
30px
;
}
.container
div
.book-page
>
header
{
display
:
block
;
}
.container
aside
.book-toc
{
display
:
none
;
}
html
,
body
{
position
:
relative
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录