Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenDocCN
LoveIt
提交
426e2459
L
LoveIt
项目概览
OpenDocCN
/
LoveIt
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
LoveIt
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
426e2459
编写于
3月 09, 2020
作者:
D
Dillon
提交者:
GitHub
3月 09, 2020
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #127 from dillonzq/feature/improve_style
feat(style): improve style for header and image
上级
9b4f4df6
26727fd1
变更
7
展开全部
隐藏空白更改
内联
并排
Showing
7 changed file
with
22 addition
and
14 deletion
+22
-14
assets/css/_page/_single.scss
assets/css/_page/_single.scss
+1
-6
assets/css/_partial/_header.scss
assets/css/_partial/_header.scss
+5
-1
i18n/en.toml
i18n/en.toml
+3
-0
i18n/fr.toml
i18n/fr.toml
+3
-0
i18n/zh-CN.toml
i18n/zh-CN.toml
+3
-0
layouts/partials/header.html
layouts/partials/header.html
+6
-6
resources/_gen/assets/scss/css/style.template.scss_b8ba9a60a151126bfcde1421dc0b972d.content
...le.template.scss_b8ba9a60a151126bfcde1421dc0b972d.content
+1
-1
未找到文件。
assets/css/_page/_single.scss
浏览文件 @
426e2459
...
...
@@ -168,7 +168,7 @@
}
img
{
max-width
:
96
%
;
max-width
:
100
%
;
min-height
:
1
.2rem
;
}
...
...
@@ -192,11 +192,6 @@
height
:
auto
;
margin
:
0
auto
;
overflow
:
hidden
;
transition
:
all
0
.2s
ease-in-out
;
}
a
.lightgallery
:hover
img
{
transform
:
scale
(
1
.02
);
}
}
...
...
assets/css/_partial/_header.scss
浏览文件 @
426e2459
...
...
@@ -11,7 +11,7 @@ header {
font-weight
:
bold
;
}
.
select-language
{
.
language-select
{
font-weight
:
$global-font-weight
;
border
:
none
;
box-shadow
:
none
;
...
...
@@ -32,6 +32,10 @@ header {
cursor
:
pointer
;
}
}
.theme-switch
i
{
transform
:
rotate
(
225deg
);
}
}
#header-desktop
{
...
...
i18n/en.toml
浏览文件 @
426e2459
...
...
@@ -29,6 +29,9 @@ other = "More"
# === Pagination ===
# === partials/header.html ===
[selectLanguage]
other
=
"Select Language"
[switchTheme]
other
=
"Switch Theme"
# === partials/header.html ===
...
...
i18n/fr.toml
浏览文件 @
426e2459
...
...
@@ -29,6 +29,9 @@ other = "Plus"
# === Pagination ===
# === partials/header.html ===
[selectLanguage]
other
=
"Choisir la langue"
[switchTheme]
other
=
"Changer de Thème"
# === partials/header.html ===
...
...
i18n/zh-CN.toml
浏览文件 @
426e2459
...
...
@@ -29,6 +29,9 @@ other = "更多"
# === Pagination ===
# === partials/header.html ===
[selectLanguage]
other
=
"选择语言"
[switchTheme]
other
=
"切换主题"
# === partials/header.html ===
...
...
layouts/partials/header.html
浏览文件 @
426e2459
...
...
@@ -14,9 +14,9 @@
{{- end -}}
{{- if .Site.IsMultiLingual -}}
|
<a
href=
"javascript:void(0);"
class=
"menu-item"
>
<a
href=
"javascript:void(0);"
class=
"menu-item"
title=
"{{ T "
selectLanguage
"
}}"
>
<i
class=
"fas fa-language fa-fw"
></i>
<select
class=
"
select-language
"
onchange=
"location = this.value;"
>
<select
class=
"
language-select
"
onchange=
"location = this.value;"
>
{{- range .Page.AllTranslations -}}
{{- $translation := . -}}
{{- range $.Site.Languages -}}
...
...
@@ -33,7 +33,7 @@
</a>
{{- end -}}
<a
href=
"javascript:void(0);"
class=
"theme-switch"
title=
"{{ T "
switchTheme
"
}}"
>
<i
class=
"fas fa-adjust fa-
rotate-180 fa-fw
"
></i>
<i
class=
"fas fa-adjust fa-
fw
"
></i>
</a>
</div>
</div>
...
...
@@ -60,9 +60,9 @@
</a>
{{- end -}}
{{- if .Site.IsMultiLingual -}}
<a
href=
"javascript:void(0);"
class=
"menu-item"
>
<a
href=
"javascript:void(0);"
class=
"menu-item"
title=
"{{ T "
selectLanguage
"
}}"
>
<i
class=
"fas fa-language fa-fw"
></i>
<select
class=
"
select-language
"
onchange=
"location = this.value;"
>
<select
class=
"
language-select
"
onchange=
"location = this.value;"
>
{{- range .Page.AllTranslations -}}
{{- $translation := . -}}
{{- range $.Site.Languages -}}
...
...
@@ -79,7 +79,7 @@
</a>
{{- end -}}
<a
href=
"javascript:void(0);"
class=
"theme-switch"
title=
"{{ T "
switchTheme
"
}}"
>
<i
class=
"fas fa-adjust fa-
rotate-180 fa-
fw"
></i>
<i
class=
"fas fa-adjust fa-fw"
></i>
</a>
</div>
</div>
...
...
resources/_gen/assets/scss/css/style.template.scss_b8ba9a60a151126bfcde1421dc0b972d.content
浏览文件 @
426e2459
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录