-
Notifications
You must be signed in to change notification settings - Fork 66
Expand file tree
/
Copy pathtemplate.html
More file actions
75 lines (72 loc) · 1.29 KB
/
template.html
File metadata and controls
75 lines (72 loc) · 1.29 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
<html>
<head>
<style>
ol { padding: 0;}
li { list-style: none; }
.num {
color: white;
background: #2980B9;
display: inline-block;
text-align: center;
margin: 5px 10px;
line-height: 30px;
width: 30px;
height: 30px;
font-size: 16px;
font-weight: bold;
border-radius: 15px;
box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.3);
}
.item {
margin-bottom: 30px;
}
.row {
margin-left: 10px;
margin-right: 10px;
width: 380px;
margin-top: 20px;
}
.row::after {
clear: both;
content: "";
display: block;
}
.center {
text-align: center;
}
.container {
margin-top: 50px;
width: 400px;
height: 2000px;
}
.qa-left {
font-size: 16px;
width: 30px;
float: left;
}
.qa-right {
float: left;
width: 350px;
}
</style>
</head>
<body>
<div class="container">
{% for item in items %}
<div class="item">
<p class="center"><span class="num">{{ item.id }}</span></p>
<p></p>
<div class="row">
<span>Q: {{ item.q }}</span>
</div>
<p></p>
<div class="row">
<span>A: {{ item.a }}</span>
</div>
<p></p>
<p></p>
</div>
{% endfor %}
</div>
</body>
</html>