Skip to content

Commit

Permalink
Revert "font"
Browse files Browse the repository at this point in the history
This reverts commit b8b9dac.
  • Loading branch information
khaitruong922 committed Sep 27, 2024
1 parent b8b9dac commit bb52b77
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 22 deletions.
Binary file removed KleeOne-SemiBold.ttf
Binary file not shown.
27 changes: 8 additions & 19 deletions index.css
Original file line number Diff line number Diff line change
@@ -1,17 +1,5 @@
@font-face {
font-family: KleeOne;
src: url(KleeOne-SemiBold.ttf);
}

* {
font-family: 'KleeOne';
}

.term,
.reading,
#reading-search-input,
#kanji-list-input {
font-family: 'KleeOne', 'Noto Sans JP', sans-serif;
font-family: 'Helvetica';
}
html {
overflow-y: scroll;
Expand All @@ -35,6 +23,11 @@ input:-webkit-autofill {
-webkit-text-fill-color: var(--black) !important;
}

.term,
.reading,
#kanji-list-input {
font-family: 'Noto Sans JP', sans-serif;
}
#kanji-list-input,
#kanji-list-input:focus {
padding: 0.5rem;
Expand Down Expand Up @@ -62,7 +55,7 @@ input:-webkit-autofill {
text-align: right;
}
.term {
font-size: 1.5rem;
font-size: 1.25rem;
font-weight: 500;
color: var(--black);
}
Expand All @@ -71,7 +64,7 @@ input:-webkit-autofill {
font-weight: 600;
}
.reading {
font-size: 1rem;
font-size: 0.75rem;
color: var(--gray);
}
.reading-highlight {
Expand Down Expand Up @@ -179,7 +172,3 @@ input[type='checkbox'] {
border: 2px solid var(--pink);
outline: none;
}

.bold {
text-shadow: 0px 1px, 1px 0px, 1px 1px;
}
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@

<body>
<div id="main">
<h1 id="header" class="bold">Kanji Search (based on JPDBv2 frequency list)</h1>
<h1 id="header">Kanji Search (based on JPDBv2 frequency list)</h1>
<div>
<div>
<label id="kanji-list-label" class="bold" for="kanji-list-input">Kanji List</label>
<label id="kanji-list-label" for="kanji-list-input">Kanji List</label>
</div>
<input type="search" id="kanji-list-input">
</div>
Expand Down Expand Up @@ -48,7 +48,7 @@ <h1 id="header" class="bold">Kanji Search (based on JPDBv2 frequency list)</h1>
</div>
</div>
<button type="button" id="search" hidden>Search</button>
<div id="stats" class="bold"></div>
<div id="stats"></div>
<div id="stats-note" hidden>*having at least 1 kanji</div>
<div id="export-txt" hidden>Export TXT</div>
<progress id="progress" hidden></progress>
Expand Down

0 comments on commit bb52b77

Please sign in to comment.