1
0
Fork 0

Release 4.2

This commit is contained in:
nanxiaobei 2019-08-21 10:59:34 +08:00
parent 5a970f1047
commit 3b03643a20
2 changed files with 17 additions and 15 deletions

View file

@ -1,8 +1,8 @@
# Paper <sup><sup><sub><sub>v4.1</sub></sub></sup></sup> # Paper <sup><sup><sub>v4.2</sub></sup></sup>
A simple, clean, flexible Hugo theme. A simple, clean, flexible Hugo theme.
☄️ Fast | 💅 Fluent | 🍧 Smooth ☄️ Fast | ☁️ Fluent | 🌙 Smooth
--- ---

View file

@ -3,7 +3,7 @@
* A simple, clean, flexible Hugo theme * A simple, clean, flexible Hugo theme
* https://github.com/nanxiaobei/hugo-paper * https://github.com/nanxiaobei/hugo-paper
* Designed by MR.LEE (https://mrlee.me/) * Designed by MR.LEE (https://mrlee.me/)
* Updated in 2019.8.20 * Updated in 2019.8.21
*/ */
/* Variables /* Variables
@ -152,10 +152,13 @@ img {
.menu li + li { .menu li + li {
margin-left: var(--gap); margin-left: var(--gap);
} }
.menu a {
font-size: 16px;
}
/* Body /* Body
-------------------------------------------------- */ -------------------------------------------------- */
.list { .list {
background: linear-gradient(135deg, #ccc, #ddd, #eee, #ddd, #eee); background: linear-gradient(135deg, #e2e2e2, #e5e5e5, #f8f8f8, #e2e2e2, #ddd);
} }
.list::before { .list::before {
content: ""; content: "";
@ -177,12 +180,12 @@ img {
padding: var(--gap); padding: var(--gap);
} }
.page-header { .page-header {
margin-top: 8px; margin-bottom: 24px;
margin-bottom: 40px;
} }
.page-header h1 { .page-header h1 {
font-size: 32px; font-size: 64px;
font-weight: 400; overflow: hidden;
text-overflow: ellipsis;
} }
.pagination { .pagination {
display: flex; display: flex;
@ -231,13 +234,12 @@ img {
position: relative; position: relative;
margin-bottom: var(--gap); margin-bottom: var(--gap);
padding: var(--gap); padding: var(--gap);
background: rgba(255, 255, 255, 0.72); background: #fff;
border-radius: var(--radius); border-radius: var(--radius);
overflow: hidden; overflow: hidden;
transition: box-shadow 0.2s; transition: box-shadow 0.2s;
} }
.post-entry:active { .post-entry:active {
background: rgba(255, 255, 255, 0.96);
transform: scale(0.96); transform: scale(0.96);
transition: 0.1s; transition: 0.1s;
} }
@ -272,12 +274,12 @@ img {
-------------------------------------------------- */ -------------------------------------------------- */
.post-header { .post-header {
margin-top: 24px; margin-top: 24px;
margin-bottom: 48px; margin-bottom: var(--content-gap);
} }
.post-title { .post-title {
margin-bottom: 4px; margin-bottom: 2px;
font-size: 40px; font-size: 40px;
transform: translateX(-1px); transform: translateX(-2px);
} }
.post-meta { .post-meta {
color: var(--secondary); color: var(--secondary);
@ -448,8 +450,8 @@ img {
} }
.post-content hr { .post-content hr {
height: 1px; height: 1px;
margin-top: 48px; margin-top: 56px;
margin-bottom: 48px; margin-bottom: 56px;
background: var(--tertiary); background: var(--tertiary);
border-top: 0; border-top: 0;
border-bottom: 0; border-bottom: 0;