-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
86 lines (78 loc) · 1.46 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>img2svg.</title>
<link rel="stylesheet" href="http://static.edgy.black/misaki_gothic.css">
<style>
*{
margin:0;
padding:0;
font-family:"misaki_gothic";
}
html,body,div{
height:100%;
}
html{
background:#333;
color:whitesmoke;
font-size:5vw;
text-align:center;
}
#ribbon{
position:fixed;
top:2.5em;
right:-2.5em;
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
font-size: .5em;
}
#ribbon a{
display:block;
color:#333;
padding:.5em 2em;
background-color:white;
}
h1{
margin-top:1em;
}
p{
background-color:grey;
margin:0 auto;
width:10em;
height:10em;
line-height:10;
}
pre{
padding:1em;
word-break: break-word;
font-size:1vw;
}
aside{
margin:0 auto;
width:20em;
padding:1em;
font-size:2vw;
}
svg{
width:80vw;
height:80vw;
}
iframe{
margin-top:1em;
}
</style>
<script src="bundle.js"></script>
</head>
<body>
<header id="ribbon">
<a href="https://github.com/59naga/img2svg">fork me on github</a>
</header>
<h1>img2svg.</h1>
<aside>This is a tool that can convert any image into a pure svg image. Try it... (it is cpu heavy, try with a small image first).</aside>
<article>
</article>
<iframe src="https://ghbtns.com/github-btn.html?user=59naga&repo=img2svg&type=star&count=true" frameborder="0" scrolling="0" width="80px" height="20px"></iframe>
</body>
</html>