Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
gitcode_dev
Hexo Theme Yet The Books
提交
f5779052
H
Hexo Theme Yet The Books
项目概览
gitcode_dev
/
Hexo Theme Yet The Books
通知
0
Star
19
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
H
Hexo Theme Yet The Books
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
f5779052
编写于
6月 12, 2021
作者:
折
折影轻梦
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
#10
上级
7eb22eff
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
24 addition
and
31 deletion
+24
-31
layout/_partial/footer.ejs
layout/_partial/footer.ejs
+2
-2
layout/_partial/header.ejs
layout/_partial/header.ejs
+1
-1
layout/post.ejs
layout/post.ejs
+14
-21
source/css/style.css
source/css/style.css
+7
-7
未找到文件。
layout/_partial/footer.ejs
浏览文件 @
f5779052
<div class="footer">
<div class="footer">
<div class="container">
<div class="container">
© <%= date(new Date(), 'YYYY') %> <%= config.
author || config.
title %>
© <%= date(new Date(), 'YYYY') %> <%= config.title %>
Powered by
<a rel="noreferrer" href="http://hexo.io/" target="_blank">Hexo</a>
Using
<a rel="noreferrer" href="http://hexo.io/" target="_blank">Hexo</a>
& <a rel="noreferrer" href="https://github.com/Yet-The-Books/hexo-theme-yet-the-books" target="_blank">Yet The Books</a>
& <a rel="noreferrer" href="https://github.com/Yet-The-Books/hexo-theme-yet-the-books" target="_blank">Yet The Books</a>
</div>
</div>
</div>
</div>
\ No newline at end of file
layout/_partial/header.ejs
浏览文件 @
f5779052
<div class="header <% if(is_home()){ %>home<% } %> ">
<div class="header <% if(is_home()){ %>home<% } %> ">
<div class="container">
<div class="container">
<a class="logo" href="<%- url_for() %>" title="<%= config.
author || config.title %>"><%= config.author || config.title
%></a>
<a class="logo" href="<%- url_for() %>" title="<%= config.
title%>"><%= config.title
%></a>
<ul class="nav">
<ul class="nav">
<% for (name in theme.menu) { %>
<% for (name in theme.menu) { %>
<li class="nav-item"><a href="<%- url_for(theme.menu[name]) %>"><%= name %></a></li>
<li class="nav-item"><a href="<%- url_for(theme.menu[name]) %>"><%= name %></a></li>
...
...
layout/post.ejs
浏览文件 @
f5779052
<div class="content">
<div class="content">
<div class="banner">
<div class="banner">
<div class="container"><h1><%= page.title %></h1></div>
<div class="container">
<h1><%= page.title %></h1>
<div class="info"><span class="date"><%- date(page.date, "YYYY年M月D日") %></span>•<%= config.author %>
<% if (page.categories && page.categories.length){ %>
《<%- list_categories(page.categories, {
show_count: false,
class: 'nexmoefont icon-appstore-fill ',
style: 'none',
separator: ''
}) %>》
<% } %>
</div>
</div>
</div>
</div>
<div class="container">
<div class="container">
<article class="post">
<article class="post">
<%- page.content %>
<%- page.content %>
<p class="date"><%- date(page.date, "YYYY年M月D日") %></p>
<div class="info">
<div class="author">
<%= config.author %>
<% if (page.categories && page.categories.length){ %>
《<%- list_categories(page.categories, {
show_count: false,
class: 'nexmoefont icon-appstore-fill ',
style: 'none',
separator: ''
}) %>》
<% } %>
</div>
<a
class="copyright"
href="https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh"
target="_blank"
>© CC BY-NC-SA 4.0</a
>
</div>
</article>
</article>
</div>
</div>
<div class="other">
<div class="other">
...
...
source/css/style.css
浏览文件 @
f5779052
...
@@ -84,10 +84,11 @@ a:hover {
...
@@ -84,10 +84,11 @@ a:hover {
background-color
:
#f7f3ed
;
background-color
:
#f7f3ed
;
display
:
block
;
display
:
block
;
position
:
relative
;
position
:
relative
;
padding
:
5rem
0
;
}
}
.content.home
.banner
{
.content.home
.banner
{
margin-bottom
:
calc
(
1.5rem
+
2
em
);
margin-bottom
:
calc
(
1.5rem
+
4r
em
);
}
}
.content
.banner
h1
{
.content
.banner
h1
{
...
@@ -95,16 +96,15 @@ a:hover {
...
@@ -95,16 +96,15 @@ a:hover {
color
:
#aa874b
;
color
:
#aa874b
;
display
:
block
;
display
:
block
;
margin
:
0
auto
;
margin
:
0
auto
;
padding
:
2em
0
;
}
}
.content.home
.banner
h1
{
.content.home
.banner
{
padding
:
.8
em
0
;
padding
:
3r
em
0
;
}
}
.content
.banner
.search
{
.content
.banner
.search
{
position
:
relative
;
position
:
relative
;
bottom
:
-
1
.5rem
;
bottom
:
-
4
.5rem
;
width
:
100%
;
width
:
100%
;
}
}
...
@@ -270,8 +270,8 @@ a:hover {
...
@@ -270,8 +270,8 @@ a:hover {
.content
.info
{
.content
.info
{
width
:
100%
;
width
:
100%
;
display
:
flex
;
text-align
:
center
;
justify-content
:
space-between
;
padding-top
:
1rem
;
}
}
.content
.post-nav
{
.content
.post-nav
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录