forked from NSBum/anki_style
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
70 lines (61 loc) · 2.71 KB
/
index.html
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
66
67
68
69
70
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="anki_style.css">
<link href="https://fonts.googleapis.com/css?family=Roboto+Slab:300" rel="stylesheet">
<style>
.emphasize {
color:#88B350;
}
p {
text-align: justify;
}
</style>
</head>
<body>
<div class="card">
<h1>anki_style</h1>
<p>The source code can be found here: <a href="https://github.com/tnahs/anki_style">https://github.com/tnahs/anki_style</a>
<br>
<div class="box">This is a <span class="emphasize">box</span> class!</div>
<div class="box">This holds all the basic card info.</div>
<div class="box">
<ul>
<li>This is how I format...</li>
<li>multiple definitions.</li>
</ul>
</div>
<div class="box">
<ul>
<li class=type>This li.type class is used...</li>
<li>as a separator in case...</li>
<li>a word has multiple forms.</li>
<li class=type>noun</li>
<li>noun definition 1</li>
<li>noun definition 2</li>
<li class=type>adjective</li>
<li>adjective definition 1</li>
<li>adjective definition 2</li>
</ul>
</div>
<div class="box question">I use a <span class="emphasize">box question</span> class to emphaise questions/concerns about the card.</div>
<div class="box pic"><img src="https://dummyimage.com/200x200/FFDD78/000000&text=I'm+a+box+pic!"></div>
<div class="box header">This is a <span class="emphasize">box header</span> class!</div>
<div class="box header hcolor">This is a <span class="emphasize">box header hcolor</span> class!</div>
<div class="box header hgray">This is a <span class="emphasize">box header hgray</span> class!</div>
<div class="box peek">This is a box peek class! Peekaboo!</div>
<div class="box peek">I usually put sentence translations in here so I don't rely on them!</div>
<div class="box conversation">
<p>This is a <span class="emphasize">box conversation</span> class! It's designed to hold lots of text. Well, not really, it just makes the text smaller so its manageable.</p>
<p>— Note: Text in <span class="emphasize">box conversation</span> looks best when placed within <p></p> elements</p>
<p>— Really?</p>
<p>— Yes! This is how I format a conversation between two people. Most of the conversation text I find or transcribe is run through Google Sheets or Sublime to add <p></p> elements around line-breaks.</p>
<p>— Oh! Oh! Oh! Let's not forget tags!</p>
<p>— Oh yes, most all the cards in my deck have their respective tags displayed this way:</p>
</div>
<div class="box tags"># Hi! I'm a <span class="emphasize">box tag</span>!</div>
</div>
</body>
</html>