-
Notifications
You must be signed in to change notification settings - Fork 5
/
predict.html
67 lines (56 loc) · 1.27 KB
/
predict.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
<html>
<style>
h1 {
font: 600 1.5em/1 'Raleway', sans-serif;
color: rgba(0,0,0,.5);
text-align: center;
text-transform: uppercase;
letter-spacing: .5em;
position: absolute;
top: 25%;
width: 100%;
}
span, span:after {
font-weight: 900;
color: #efedce;
white-space: nowrap;
display: inline-block;
position: relative;
letter-spacing: .1em;
padding: .2em 0 .25em 0;
}
span {
font-size: 4em;
z-index: 100;
text-shadow: .04em .04em 0 #9cb8b3;
}
span:after {
content: attr(data-shadow-text);
color: rgba(0,0,0,.35);
text-shadow: none;
position: absolute;
left: .0875em;
top: .0875em;
z-index: -1;
-webkit-mask-image: url(//f.cl.ly/items/1t1C0W3y040g1J172r3h/mask.png);
}
.graph-area{
margin-right: 255px;
margin-left:255px;
margin-top: 350px;
height:480px;
margin-bottom: 15px;
border-radius: 10px;
}
</style>
<body background="/static/images/pd4.jpg">
<h1>Your Personality comes out to be<br><span>{{var}}</span><br><br></h1>
<div class="graph-area">
<div align="center">
<div id="chart" width='2%' height='3%'>
<embed type="image/svg+xml" src= {{ graph_data|safe }} script='max-width:10% max-height:10%' />
</div>
</div>
</div>
</body>
</html>