Compare commits
10 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
8c7a957f6e | ||
|
7d408946e9 | ||
|
df2f61aad0 | ||
|
bffec8c8d9 | ||
|
380d4c6501 | ||
|
8f93d6494e | ||
|
f610f83e09 | ||
|
9dcd4aca7c | ||
|
77ecc930bd | ||
|
54216601f2 |
12
.github/FUNDING.yml
vendored
Normal file
12
.github/FUNDING.yml
vendored
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
# These are supported funding model platforms
|
||||||
|
|
||||||
|
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
|
||||||
|
patreon: # Replace with a single Patreon username
|
||||||
|
open_collective: # Replace with a single Open Collective username
|
||||||
|
ko_fi: # Replace with a single Ko-fi username
|
||||||
|
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
|
||||||
|
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
|
||||||
|
liberapay: # Replace with a single Liberapay username
|
||||||
|
issuehunt: # Replace with a single IssueHunt username
|
||||||
|
otechie: # Replace with a single Otechie username
|
||||||
|
custom: https://pic.downk.cc/item/5e1c70bc2fb38b8c3c5b0a2f.png
|
21
LICENSE
Normal file
21
LICENSE
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2019 沈宇
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
21
README.md
21
README.md
@@ -1,6 +1,6 @@
|
|||||||
<p align="center"><a href="https://shen-yu.gitee.io" target="_blank" rel="noopener noreferrer"><img width="100" src="logo.png" alt="ayer logo"></a></p>
|
<p align="center"><a href="https://shen-yu.gitee.io" target="_blank" rel="noopener noreferrer"><img width="100" src="logo.png" alt="ayer logo"></a></p>
|
||||||
|
|
||||||
<h3 align="center">一个干净且优雅的 Hexo 主题</h3>
|
<h3 align="center">一个安静且优雅的 Hexo 主题</h3>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="https://travis-ci.org/Shen-Yu/hexo-theme-ayer?branch=master" target="_blank" rel="noopener noreferrer">
|
<a href="https://travis-ci.org/Shen-Yu/hexo-theme-ayer?branch=master" target="_blank" rel="noopener noreferrer">
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
</a>
|
</a>
|
||||||
<br>
|
<br>
|
||||||
<a href="https://github.com/Shen-Yu/hexo-theme-ayer/releases" target="_blank" rel="noopener noreferrer">
|
<a href="https://github.com/Shen-Yu/hexo-theme-ayer/releases" target="_blank" rel="noopener noreferrer">
|
||||||
<img alt="GitHub release" src="https://img.shields.io/badge/release-v1.2-blue.svg">
|
<img alt="GitHub release" src="https://img.shields.io/badge/release-v1.3-blue.svg">
|
||||||
</a>
|
</a>
|
||||||
<img alt="language" src="https://img.shields.io/badge/language-ejs--stylus-orange.svg">
|
<img alt="language" src="https://img.shields.io/badge/language-ejs--stylus-orange.svg">
|
||||||
<a href="https://hexo.io/zh-cn/" target="_blank" rel="noopener noreferrer">
|
<a href="https://hexo.io/zh-cn/" target="_blank" rel="noopener noreferrer">
|
||||||
@@ -33,6 +33,8 @@
|
|||||||
|
|
||||||
### [中文说明](https://shen-yu.gitee.io/2019/ayer/)
|
### [中文说明](https://shen-yu.gitee.io/2019/ayer/)
|
||||||
|
|
||||||
|
### [国内镜像](https://gitee.com/shen-yu/hexo-theme-ayer)
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### Install
|
### Install
|
||||||
@@ -220,6 +222,21 @@ pageFooter: true
|
|||||||
$ npm uninstall hexo-generator-index --save
|
$ npm uninstall hexo-generator-index --save
|
||||||
$ npm install hexo-generator-index-pin-top --save
|
$ npm install hexo-generator-index-pin-top --save
|
||||||
```
|
```
|
||||||
|
### Categories
|
||||||
|
``` bash
|
||||||
|
hexo new page categories
|
||||||
|
```
|
||||||
|
Then paste following codes to file: _posts/categories/index.md
|
||||||
|
``` md
|
||||||
|
---
|
||||||
|
title: categories
|
||||||
|
type: categories
|
||||||
|
layout: "categories"
|
||||||
|
---
|
||||||
|
```
|
||||||
|
|
||||||
|
### Tags
|
||||||
|
Same as categories.
|
||||||
|
|
||||||
### Post poster
|
### Post poster
|
||||||
|
|
||||||
|
@@ -46,7 +46,7 @@
|
|||||||
padding-left 3rem
|
padding-left 3rem
|
||||||
.archive-article-title
|
.archive-article-title
|
||||||
text-decoration: none
|
text-decoration: none
|
||||||
font-size 1.5rem
|
font-size 1.8rem
|
||||||
|
|
||||||
.archive-article-footer
|
.archive-article-footer
|
||||||
margin-top: 1.5rem
|
margin-top: 1.5rem
|
||||||
|
@@ -32,7 +32,7 @@
|
|||||||
@extend $block-caption
|
@extend $block-caption
|
||||||
&::before
|
&::before
|
||||||
content '\eaf2'
|
content '\eaf2'
|
||||||
margin-right .5rem
|
margin-right .15rem
|
||||||
font-family remixicon
|
font-family remixicon
|
||||||
opacity .5
|
opacity .5
|
||||||
|
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
&:before
|
&:before
|
||||||
content "\efde"
|
content "\efde"
|
||||||
font-family remixicon
|
font-family remixicon
|
||||||
margin-right .5rem
|
margin-right .15rem
|
||||||
opacity 0.6
|
opacity 0.6
|
||||||
.article-category-link
|
.article-category-link
|
||||||
@extend $block-caption
|
@extend $block-caption
|
||||||
|
@@ -4,10 +4,37 @@
|
|||||||
list-unstyled()
|
list-unstyled()
|
||||||
margin-right -.5rem
|
margin-right -.5rem
|
||||||
margin-left -.5rem
|
margin-left -.5rem
|
||||||
> .category-list-item
|
.category-list-item
|
||||||
display inline-block
|
margin: 10px 10px;
|
||||||
padding .5rem 1rem
|
padding: 0 14px;
|
||||||
|
display: inline-block;
|
||||||
|
text-align: center;
|
||||||
|
height: 38px;
|
||||||
|
min-width: 80px;
|
||||||
|
line-height: 38px;
|
||||||
|
font-size: 1.5rem;
|
||||||
|
font-weight: 500;
|
||||||
|
border-radius: 5px;
|
||||||
|
word-wrap: break-word;
|
||||||
|
cursor: pointer;
|
||||||
|
box-shadow: 0px 3px 5px rgba(0,0,0,0.08);
|
||||||
|
border: 1px solid #e7e7eb
|
||||||
&:before
|
&:before
|
||||||
content "\efde"
|
content "\efde"
|
||||||
font-family remixicon
|
font-family remixicon
|
||||||
margin-right .5rem
|
margin-right .5rem
|
||||||
|
display inline-block
|
||||||
|
vertical-align middle
|
||||||
|
&:hover
|
||||||
|
border: 1px solid darken(water,20%)
|
||||||
|
box-shadow: 0 3px 5px water
|
||||||
|
a
|
||||||
|
color: darken(water,30%);
|
||||||
|
&:before
|
||||||
|
color: darken(water,30%);
|
||||||
|
a
|
||||||
|
display inline-block
|
||||||
|
vertical-align middle
|
||||||
|
text-decoration: none
|
||||||
|
color: body-color
|
||||||
|
|
@@ -12,3 +12,21 @@
|
|||||||
content "\eec3"
|
content "\eec3"
|
||||||
font-family remixicon
|
font-family remixicon
|
||||||
margin-right .5rem
|
margin-right .5rem
|
||||||
|
display inline-block
|
||||||
|
vertical-align middle
|
||||||
|
color: tag-color
|
||||||
|
.tag-list-link
|
||||||
|
display inline-block
|
||||||
|
vertical-align middle
|
||||||
|
text-decoration: none
|
||||||
|
height 30px
|
||||||
|
line-height 30px
|
||||||
|
padding: 0 15px
|
||||||
|
font-size: 1.5rem
|
||||||
|
border-radius: 15px
|
||||||
|
background-color tag-color
|
||||||
|
color white
|
||||||
|
box-shadow: 0 3px 5px rgba(0,0,0,0.12)
|
||||||
|
transition: .2s
|
||||||
|
&:hover
|
||||||
|
transform: scale(1.1)
|
||||||
|
BIN
source/images/sponsor.jpg
Normal file
BIN
source/images/sponsor.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 95 KiB |
Reference in New Issue
Block a user