This repository has been archived by the owner on Mar 20, 2024. It is now read-only.
forked from cferdinandi/tabby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vertical.html
94 lines (80 loc) · 1.97 KB
/
vertical.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
87
88
89
90
91
92
93
94
<!DOCTYPE html>
<html>
<head>
<title>Tabby</title>
<!-- Styles -->
<style type="text/css">
body {
margin-left: auto;
margin-right: auto;
max-width: 50em;
width: 88%;
}
@media (min-width: 35em) {
/**
* Grid
*/
.grid {
display: grid;
grid-gap: 2em;
grid-template-columns: 30% 70%;
}
/**
* Typography
*/
h2 {
margin-top: 0;
}
}
</style>
<link rel="stylesheet" type="text/css" href="dist/css/tabby-ui-vertical.css">
</head>
<body>
<h1>Tabby</h1>
<div class="grid">
<div>
<ul data-tabs>
<li><a data-tabby-default href="#harry">Harry Potter</a></li>
<li><a href="#hermione">Hermione</a></li>
<li><a href="#neville">Neville</a></li>
</ul>
</div>
<div>
<div id="harry">
<h2>Harry Potter</h2>
<p><strong>Fun Facts:</strong></p>
<ol>
<li>"The boy who lived"</li>
<li>Best friends with Ron and Hermione</li>
<li>Fails up on a regular basis</li>
</ol>
<p><a href="https://en.wikipedia.org/wiki/Harry_Potter_(character)">More about Harry →</a></p>
</div>
<div id="hermione">
<h2>Hermione</h2>
<p><strong>Fun Facts:</strong></p>
<ol>
<li>The real hero of the Harry Potter series</li>
<li>Underappreciated by her friends, but always saves the day</li>
<li>Harry somehow gets credit for her accomplishments on a regular basis</li>
</ol>
<p><a href="https://en.wikipedia.org/wiki/Hermione_Granger">More about Hermione →</a></p>
</div>
<div id="neville">
<h2>Neville</h2>
<p><strong>Fun Facts:</strong></p>
<ol>
<li>The surprise hero of the last book</li>
<li>His life is forever intertwined with Harry's</li>
<li>Total badass</li>
</ol>
<p><a href="https://www.pottermore.com/explore-the-story/neville-longbottom">More about Neville →</a></p>
</div>
</div>
</div>
<script src="dist/js/tabby.js"></script>
<script>
var tabs = new Tabby('[data-tabs]');
</script>
</body>
</html>