Skip to content

Commit

Permalink
Try using Architect theme
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentTam authored Sep 27, 2024
1 parent e7199af commit 9485d5d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
<link rel="stylesheet" href="./assets/css/style.css">
<script src="./assets/js/script.js"></script>

# Chinese Characters with Visual Jyutping
# Introduction
Jyutping (粵拼) is the Cantonese pinyin. The project is inspired by [Visual Cantonese Fonts](https://visual-fonts.com/).

<form id="inputForm">
Expand All @@ -15,7 +12,7 @@ Jyutping (粵拼) is the Cantonese pinyin. The project is inspired by [Visual C
<input type="button" value="Generate" onclick="generateOutput()">
</form>

### Customize Display
# Customize Display
<label for="rubyFontSize">Ruby Font Size:</label>
<input type="range" id="rubyFontSize" min="10" max="40" value="32" oninput="updateStyles()"><br>

Expand All @@ -33,4 +30,7 @@ Jyutping (粵拼) is the Cantonese pinyin. The project is inspired by [Visual C
<label for="rtColor">RT (Jyutping) Color:</label>
<input type="color" id="rtColor" value="#404040" oninput="updateColors()"><br><br>

# Output
<div id="output"></div>

<script src="./assets/js/script.js"></script>
3 changes: 3 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
title: Visual Jyutping Generator from Chinese Characters
description: Generate visual Jyutping strokes to help Cantonese learning
theme: architect
5 changes: 5 additions & 0 deletions assets/css/style.css → assets/css/style.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
---

@import "{{ site.theme }}";

#output {
padding: 20px;
}
Expand Down

0 comments on commit 9485d5d

Please sign in to comment.