Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
JinhangZhu committed Jul 10, 2020
0 parents commit 94044d2
Show file tree
Hide file tree
Showing 236 changed files with 25,676 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
@@ -0,0 +1,4 @@
node_modules/
public/
resources/
.env
3 changes: 3 additions & 0 deletions .gitmodules
@@ -0,0 +1,3 @@
[submodule "themes/meme"]
path = themes/meme
url = https://github.com/reuixiy/hugo-theme-meme.git
9 changes: 9 additions & 0 deletions README.md
@@ -0,0 +1,9 @@
# jinhang.work

at [jinhang.work](https://jinhang.work/).

[![Generator is Hugo](https://img.shields.io/badge/Generator%20is-Hugo-ff4088?&logo=hugo)](https://github.com/gohugoio/hugo)
[![Theme is MemE](https://img.shields.io/badge/Theme%20is-MemE-2a6df4)](https://github.com/reuixiy/hugo-theme-meme)
[![Source on GitHub](https://img.shields.io/badge/Source%20on-GitHub-181717?&logo=github)](https://github.com/JinhangZhu/jinhangzhu.github.io)

<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a>
17 changes: 17 additions & 0 deletions archetypes/default.md
@@ -0,0 +1,17 @@
---
title: "{{ replace .Name "-" " " | title }}"
subtitle: ""
date: {{ .Date }}
categories: []
tags: []
slug: ""
toc: false
displayCopyright: false
dropCap: true
mermaid: false
comments: true
---



<!--more-->
130 changes: 130 additions & 0 deletions assets/scss/custom/_custom.scss
@@ -0,0 +1,130 @@
/* Global variables*/
:root {
--global-font-family: "glyph-correction", "Amstelvar", "Noto Serif SC", serif;
--mark-color: #ee5253;
--button-color: #42cc8c;
}

/* Styling from the author */
body {
font-family: var(--global-font-family);
}

.viva-la-vida {
margin-top: 50px;
text-align: center;
font-family: "Cinzel Decorative", serif !important;
background-image: linear-gradient(
90deg,
#a166ab 0,
#a166ab 40%,
#ef4e7b 45%,
#f37055 50%,
#ef4e7b 55%,
#a166ab 60%,
#a166ab 100%
);
background-size: cover;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

.nav {
font-size: 1em;
}

.brand {
font-weight: 600;
line-height: 2;
font-size: 1.3em;
}

.home .poetry {
padding: 10em 1em;
}

.tag-cloud-item {
font-family: "Cinzel", serif;
}

.list-title {
font-family: "Cinzel Decorative", cursive;
}

.post-subtitle {
font-size: 1.1em;
text-align: center;
font-weight: 300;
margin-top: -0.618em;
}

.sticker {
width: 30%;
height: 30%;
}

.caption {
margin-bottom: 2em;
}

/* External styling to add new features */
// button
// https://codemyui.com/pure-css-gradient-button-hover-effect/
.btn {
flex: 1 1 auto;
margin: 10px;
padding: 18px;
text-align: center;
text-transform: uppercase;
transition: 0.5s;
background-size: 200% auto;
color: white;
font-family: "Cinzel Decorative", serif;
text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
box-shadow: 0 0 10px #eee;
border-radius: 10px;
}

/* Demo Stuff End -> */

/* <- Magic Stuff Start */

.btn:hover {
background-position: right center; /* change the direction of the change here */
}

.btn-1 {
background-image: linear-gradient(to right, #f6d365 0%, #fda085 51%, #f6d365 100%);
}

.btn-2 {
background-image: linear-gradient(to right, #fbc2eb 0%, #a6c1ee 51%, #fbc2eb 100%);
}

.btn-3 {
background-image: linear-gradient(to right, #84fab0 0%, #8fd3f4 51%, #84fab0 100%);
}

.btn-4 {
background-image: linear-gradient(to right, #a1c4fd 0%, #c2e9fb 51%, #a1c4fd 100%);
}

.btn-5 {
background-image: linear-gradient(to right, #ffecd2 0%, #fcb69f 51%, #ffecd2 100%);
}

/* Magic Stuff End -> */

// mark
.mark {
text-decoration: none;
border-bottom: 2px solid var(--mark-color);
box-shadow: inset 0 -0.25px 0 var(--mark-color);
color: inherit;
transition: background 0.1s cubic-bezier(0.33, 0.66, 0.66, 1);
}

.mark:hover {
color: white;
background: var(--mark-color);
}

0 comments on commit 94044d2

Please sign in to comment.