aboutsummaryrefslogtreecommitdiff
path: root/ext/pitch-accents-preview.html
blob: f649779d3013ee1eebb11e5a8343eba330cb63b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>Yomichan Pitch Accents Preview</title>
    <link rel="icon" type="image/png" href="/images/icon16.png" sizes="16x16">
    <link rel="icon" type="image/png" href="/images/icon19.png" sizes="19x19">
    <link rel="icon" type="image/png" href="/images/icon32.png" sizes="32x32">
    <link rel="icon" type="image/png" href="/images/icon38.png" sizes="38x38">
    <link rel="icon" type="image/png" href="/images/icon48.png" sizes="48x48">
    <link rel="icon" type="image/png" href="/images/icon64.png" sizes="64x64">
    <link rel="icon" type="image/png" href="/images/icon128.png" sizes="128x128">
    <link rel="stylesheet" type="text/css" href="/css/display.css">
    <link rel="stylesheet" type="text/css" href="/css/pitch-accents-preview.css">
</head>
<body>

<div class="content"><div class="content-body">

<ul>
    <li>
        <strong>Downstep notation</strong> -
        <span class="format-preview" lang="ja">
            <span class="pitch-accent-characters"><span class="pitch-accent-character" data-position="0" data-pitch="high" data-pitch-next="low"><span class="pitch-accent-character-inner"></span></span><span class="pitch-accent-character" data-position="1" data-pitch="low" data-pitch-next="low"><span class="pitch-accent-character-inner"></span></span></span>
        </span>
    </li>
    <li>
        <strong>Downstep position</strong> -
        <span class="format-preview">
            <span class="pitch-accent-position">1</span>
        </span>
    </li>
    <li>
        <strong>Graph</strong> -
        <span class="format-preview">
            <span class="pitch-accent-details">
                <svg class="pitch-accent-graph" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 150 100" focusable="false">
                    <path class="pitch-accent-graph-line" d="M25 25 L75 75"></path>
                    <path class="pitch-accent-graph-line-tail" d="M75 75 L125 75"></path>
                    <use href="#pitch-accent-graph-dot-downstep" x="25" y="25"></use>
                    <use href="#pitch-accent-graph-dot" x="75" y="75"></use>
                    <use href="#pitch-accent-graph-triangle" x="125" y="75"></use>
                </svg>
            </span>
        </span>
    </li>
</ul>

</div></div>

<!-- Scripts -->
<script src="/js/core.js"></script>

<script src="/js/yomichan.js"></script>

<script src="/js/comm/api.js"></script>
<script src="/js/comm/cross-frame-api.js"></script>
<script src="/js/display/display-generator.js"></script>
<script src="/js/dom/html-template-collection.js"></script>

<script src="/js/pages/settings/pitch-accents-preview-main.js"></script>

</body>
</html>