-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
12ffca9
commit c0623b4
Showing
3 changed files
with
11 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,149 +0,0 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> | ||
<meta name="description" content="Japanese word of the day generated by Google AI Studio and Gemini Pro AI" /> | ||
<title>Japanese Word of the Day</title> | ||
<style> | ||
:root { | ||
--background: #f4f3f2; | ||
--text: #333333; | ||
--headline: #296e4a; | ||
} | ||
|
||
body { | ||
background-color: var(--background); | ||
color: var(--text); | ||
margin: 0; | ||
padding: 0; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100dvh; | ||
font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif; | ||
text-align: center; | ||
} | ||
|
||
main { | ||
width: min(800px, 100vw); | ||
padding: 1rem; | ||
} | ||
|
||
h1 { | ||
position: absolute; | ||
top: 10px; | ||
left: 10px; | ||
font-size: 1.4rem; | ||
font-weight: 700; | ||
margin: 0; | ||
} | ||
|
||
#github { | ||
position: absolute; | ||
bottom: 10px; | ||
right: 10px; | ||
color: var(--text); | ||
} | ||
|
||
#github a { | ||
color: var(--text); | ||
} | ||
|
||
#github img { | ||
width: 40px; | ||
height: 40px; | ||
} | ||
|
||
#kanji, #hiragana, #katakana { | ||
font-weight: 700; | ||
margin: 0; | ||
color: var(--headline); | ||
} | ||
|
||
#kanji { | ||
font-size: 6rem; | ||
} | ||
|
||
#hiragana, #katakana { | ||
font-size: 3rem; | ||
} | ||
|
||
#romaji { | ||
font-size: 1.5rem; | ||
margin-top: 0.5rem; | ||
margin-bottom: 0.2rem; | ||
} | ||
|
||
#pronunciation { | ||
font-size: 0.75rem; | ||
margin: 0; | ||
} | ||
|
||
#definition { | ||
font-size: 2rem; | ||
margin: 1.5rem 0 0 0; | ||
text-transform: capitalize; | ||
} | ||
|
||
#part_of_speech { | ||
font-size: 0.8rem; | ||
text-transform: uppercase; | ||
font-weight: 700; | ||
margin: 0; | ||
} | ||
|
||
#example { | ||
border-top: 1px solid var(--text); | ||
margin: 1.5rem 0; | ||
} | ||
|
||
#sentence { | ||
font-size: 1.5rem; | ||
margin-bottom: 0.5rem; | ||
} | ||
|
||
#sentence_romaji { | ||
font-size: 0.75rem; | ||
text-align: center; | ||
} | ||
|
||
a:not([href]) { | ||
visibility: hidden; | ||
} | ||
|
||
#back, #forward { | ||
font-size: 3rem; | ||
padding: 0.5rem 1rem; | ||
cursor: pointer; | ||
color: var(--headline); | ||
text-decoration: none; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<h1>Japanese Word of the Day</h1> | ||
<a id="back" href="/pages/青.html"><</a> | ||
<main> | ||
<p id="kanji">null</p> | ||
<p id="hiragana">しおり</p> | ||
<p id="katakana">栞</p> | ||
<p id="romaji">shiori</p> | ||
<p id="pronunciation">she-oh-ri</p> | ||
<p id="definition">bookmark</p> | ||
<p id="part_of_speech">noun</p> | ||
<div id="example"> | ||
<p id="sentence">しおりを本の中に入れましょう。</p> | ||
<p id="sentence_romaji">Shiori wo hon no naka ni iremasho.</p> | ||
<p id="sentence_translation">Let's put the bookmark in the book.</p> | ||
</div> | ||
</main> | ||
<a id="forward" href="/index.html">></a> | ||
<div id="github"> | ||
<span>Made by <a href="https://mary.codes">Mary Knize</a>.</span> | ||
<a href="https://github.com/captainpainway/japanese_word_of_the_day"> | ||
<img src="/github-mark.svg" alt="GitHub"> | ||
</a> | ||
</div> | ||
</body> | ||
</html> | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,3 +77,4 @@ | |
青 | ||
null | ||
null | ||
音楽 |