Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
website
提交
83729201
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,发现更多精彩内容 >>
提交
83729201
编写于
9月 02, 2019
作者:
E
edisonxiang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add partner styles
上级
132e3fc6
变更
3
显示空白变更内容
内联
并排
Showing
3 changed file
with
40 addition
and
14 deletion
+40
-14
themes/project/layouts/partials/scripts.html
themes/project/layouts/partials/scripts.html
+17
-12
themes/project/static/css/custom.css
themes/project/static/css/custom.css
+21
-0
themes/project/static/js/front.js
themes/project/static/js/front.js
+2
-2
未找到文件。
themes/project/layouts/partials/scripts.html
浏览文件 @
83729201
{{ template "_internal/google_analytics.html" . }}
<script
src=
"//code.jquery.com/jquery-3.1.1.min.js"
integrity=
"sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="
crossorigin=
"anonymous"
></script>
<script
src=
"//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"
integrity=
"sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"
crossorigin=
"anonymous"
></script>
<script
src=
"//code.jquery.com/jquery-3.1.1.min.js"
integrity=
"sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="
crossorigin=
"anonymous"
></script>
<script
src=
"//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"
integrity=
"sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"
crossorigin=
"anonymous"
></script>
<script
src=
"//cdnjs.cloudflare.com/ajax/libs/jstree/3.3.4/jstree.min.js"
></script>
<script
src=
"//cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.min.js"
></script>
...
...
@@ -20,13 +23,15 @@
<script
src=
"{{ .Site.BaseURL }}js/owl.carousel.min.js"
></script>
<script
type=
"text/javascript"
>
$
(
document
).
ready
(
function
(){
$
(
document
).
ready
(
function
()
{
if
(
$
(
'
docstreeview
'
).
length
)
{
$
(
'
#docstreeview
'
).
jstree
();
$
(
'
#docstreeview
'
).
jstree
().
open_all
();
$
(
'
#docstreeview
'
).
jstree
().
hide_dots
();
$
(
'
#docstreeview
'
).
jstree
().
hide_icons
();
$
(
'
#docstreeview
'
).
on
(
"
changed.jstree
"
,
function
(
e
,
data
)
{
location
.
href
=
data
.
node
.
a_attr
.
href
;
$
(
'
#docstreeview
'
).
on
(
"
changed.jstree
"
,
function
(
e
,
data
)
{
location
.
href
=
data
.
node
.
a_attr
.
href
;
});
}
});
</script>
\ No newline at end of file
themes/project/static/css/custom.css
浏览文件 @
83729201
...
...
@@ -290,6 +290,27 @@ footer .notice span {
align-items
:
center
;
}
.owl-carousel.customers
{
display
:
block
;
}
.owl-carousel.customers
.item
{
display
:
inline
;
}
.owl-carousel.customers
.item
img
{
filter
:
none
;
-webkit-filter
:
none
;
}
.owl-carousel.customers
.item
a
:hover
{
text-decoration
:
none
;
}
.owl-carousel.customers
.item
a
:focus
{
text-decoration
:
none
;
}
.search_v
{
padding-top
:
30px
;
width
:
260px
;
...
...
themes/project/static/js/front.js
浏览文件 @
83729201
...
...
@@ -94,12 +94,12 @@ function sliderHomepage () {
/* sliders */
function
sliders
()
{
if
(
$
(
'
.owl-carousel
'
).
length
)
{
$
(
'
.customers
'
).
owlCarousel
({
/*
$('.customers').owlCarousel({
items: 6,
itemsDesktopSmall: [990, 4],
itemsTablet: [768, 2],
itemsMobile: [480, 1]
})
})
*/
$
(
'
.testimonials
'
).
owlCarousel
({
items
:
4
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录