forked from kdqed/icanfont
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
180 lines (180 loc) · 4.36 KB
/
index.html
File metadata and controls
180 lines (180 loc) · 4.36 KB
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
<html>
<head>
<title>ComicSyns</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8">
<link rel="icon" type="image/png" href="https://template.chassidex.org/chassidex.png" />
<style>
* {
box-sizing: border-box;
}
@font-face {
src: url(https://template.chassidex.org/gir.otf);
font-family: main;
}
@font-face {
src: url(/font/comicsyns.ttf);
font-family: comicsyns;
}
body{
padding: 0px;
margin: 0px;
font-family: main;
text-align: center;
}
header{
display: grid;
width: 100%;
background: #05080a;
color: #ffffff;
grid-template-columns: 1fr auto;
padding: 4mm;
text-align: left;
}
a {
text-decoration: none;
}
header img, footer img{
height: 8mm;
width: auto;
}
header span{
font-size: 6.5mm;
}
section{
display: inline-block;
width: 100%;
max-width: 200mm;
padding: 5mm;
color: #05080a;
}
footer{
width: 100%;
padding: 4mm;
background: #05080a;
color: #ffffff;
}
footer a{
font-size: 7mm;
color: #ffffff;
}
footer img{
vertical-align: -1.3mm;
}
.glyphbox{
display: inline-block;
width: 55mm;
background: #e0e0e0;
border-radius: 0.5mm;
padding: 2mm;
margin: 2mm;
text-align: left;
font-size: 5mm;
}
.glyphbox span:first-child{
font-family: comicsyns;
display: inline-block;
font-size: 10mm;
padding-right: 5mm;
}
.glyphbox span:nth-child(2){
color: #06c;
}
#trialbox{
font-family: comicsyns;
font-size: 10mm;
padding: 5mm;
border: 0.5mm solid #06c;
}
#trialbox:focus{
color: #06c;
}
p a.btn{
display: inline-block;
padding: 2mm 5mm;
background: #06c;
color: #fff;
border-radius: 5mm;
margin: 2mm;
}
a {
color: #06c;
}
</style>
</head>
<body>
<header>
<span>ComicSyns</span>
<a href="https://chassidex.org">
<img src="https://template.chassidex.org/chassidex-text.png">
</a>
</header>
<br>
<section>
<h1 style="padding-top: 5mm; font-weight: normal;">Draw SynBio circuits with ease!</h1>
<p style="font-size: 5mm;">
ComicSyns is an icon font that lets you draw SynBio circuit symbols
by simply typing in characters on your keyboard!
The symbols are adapted from <a href="http://sbolstandard.org/visual/">SBOL Visual</a><sup>1</sup>.
Try it out with the
textbox below.
</p>
<p id="trialbox" contenteditable="true" spellcheck="false">prct</p>
<div class="glyphbox">
<span>_</span><span>_ Underscore</span>
<br>
<span>Line</span>
</div>
<div class="glyphbox">
<span>p</span><span>p Lowercase</span>
<br>
<span>Right facing promoter</span>
</div>
<div class="glyphbox">
<span>P</span><span>P Uppercase</span>
<br>
<span>Left facing promoter</span>
</div>
<div class="glyphbox">
<span>r</span><span>r Lowercase</span>
<br>
<span>Ribosome binding site</span>
</div>
<div class="glyphbox">
<span>c</span><span>c Lowercase</span>
<br>
<span>Right facing CDS</span>
</div>
<div class="glyphbox">
<span>C</span><span>C Uppercase</span>
<br>
<span>Left facing CDS</span>
</div>
<div class="glyphbox">
<span>t</span><span>t Lowercase</span>
<br>
<span>Terminator</span>
</div>
<div class="glyphbox">
<span>o</span><span>o Lowercase</span>
<br>
<span>Replication Origin</span>
</div>
<br>
<p style="margin-top: 5mm;">
You can also download the font and use it on your word processor or website
<br>
<a class="btn" href="/font/comicsyns.ttf">Download</a>
<br><br>
[1]: Cox et. al. 2018, Synthetic Biology Open Language Visual (SBOL Visual) Version 2.0, Journal of Integrative Bioinformatics, Volume 15, Issue 1, 20170074, ISSN (Online) 1613-4516, DOI: https://doi.org/10.1515/jib-2017-0074.
</p>
</section>
<br>
<footer>
<a href="https://github.com/ChassiDex/comicsyns">
<img src="https://template.chassidex.org/github.png">
  View Code
</a>
</footer>
</body>
</html>