Skip to content

Commit

Permalink
TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
toasted-nutbread committed Sep 6, 2020
1 parent 7a59ca2 commit 22d4f8b
Show file tree
Hide file tree
Showing 3 changed files with 98 additions and 0 deletions.
54 changes: 54 additions & 0 deletions ext/bg/fonts.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>Yomichan Fonts</title>
<link rel="icon" type="image/png" href="/mixed/img/icon16.png" sizes="16x16">
<link rel="icon" type="image/png" href="/mixed/img/icon19.png" sizes="19x19">
<link rel="icon" type="image/png" href="/mixed/img/icon32.png" sizes="32x32">
<link rel="icon" type="image/png" href="/mixed/img/icon38.png" sizes="38x38">
<link rel="icon" type="image/png" href="/mixed/img/icon48.png" sizes="48x48">
<link rel="icon" type="image/png" href="/mixed/img/icon64.png" sizes="64x64">
<link rel="icon" type="image/png" href="/mixed/img/icon128.png" sizes="128x128">
<style>
:root {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
line-height: 1.42857143; /* 14px => 20px */
}

body {
margin: 0;
border: 0;
padding: 0;
}

.kanji-image {
background-color: transparent;
background-repeat: no-repeat;
background-size: contain;
width: 64px;
height: 64px;
display: inline-block;
}
.kanji-text {
font-size: 64px;
line-height: 1;
}
</style>
</head>
<body>

<div class="kanji-image-container">
<span class="kanji-image" style="background-image: url(/mixed/img/yomu-kanji1.svg);"></span><span>text</span>
</div>
<div class="kanji-image-container">
<span class="kanji-image" style="background-image: url(/mixed/img/yomu-kanji2.svg);"></span><span>text</span>
</div>
<div>
<span class="kanji-text"></span><span>text</span>
</div>

</body>
</html>
22 changes: 22 additions & 0 deletions ext/mixed/img/yomu-kanji1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions ext/mixed/img/yomu-kanji2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 22d4f8b

Please sign in to comment.