-
Notifications
You must be signed in to change notification settings - Fork 1
/
home.html
128 lines (116 loc) · 3.04 KB
/
home.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
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
<!doctype html>
<html>
<head>
<meta charset=utf-8 />
<title>Immersive browsing demos</title>
<style>
* {
box-sizing: border-box;
}
html {
margin: 0;
width: 800px;
height: 600px;
font-size: 1.4em;
background-color: transparent;
}
body {
margin: 0;
width: 100%;
height: 100%;
padding: 2em;
color: #333;
background-color: transparent;
}
.background img {
position: absolute;
top: 0;
left: 0;
z-index: -1;
}
main {
background-color: rgba(0, 0, 0, 0.6);
color: white;
padding: 1em;
width: 28em;
margin-left: auto;
margin-right: auto;
}
main h1 {
margin-top: 0;
}
main p:last-child {
margin-bottom: 0;
}
main ul {
list-style: none;
}
main ul li {
padding: 0.5em;
width: 20em;
}
main ul a {
display: inline-block;
width: 100%;
align-items: center;
background-color: #0A66C2;
border: 0;
border-radius: 100px;
box-sizing: border-box;
color: #ffffff;
cursor: pointer;
display: inline-flex;
text-decoration: none;
justify-content: center;
line-height: 20px;
max-width: 480px;
min-height: 40px;
min-width: 0px;
overflow: hidden;
padding: 0px;
padding-left: 20px;
padding-right: 20px;
text-align: center;
touch-action: manipulation;
transition: background-color 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s, box-shadow 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s, color 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s;
user-select: none;
-webkit-user-select: none;
vertical-align: middle;
}
main ul a:hover,
main ul a:focus {
background-color: #16437E;
color: #ffffff;
}
main ul a:active {
background: #09223b;
color: rgb(255, 255, 255, .7);
}
main ul a:disabled {
cursor: not-allowed;
background: rgba(0, 0, 0, .08);
color: rgba(0, 0, 0, .3);
}
</style>
</head>
<body>
<div class="background">
<img src="media/pier.jpg" width="800" height="600" data-xr-z="-100" />
</div>
<main>
<h1 data-xr-z="100">Immersive browsing demos</h1>
<p>
A few web pages to try immersive navigation paradigms.
</p>
<ul data-urls>
<li><a href="content.html">An illustrated poem</a></li>
<li><a href="https://fr.wikipedia.org/wiki/Route_de_la_soie">A Wikipedia page</a></li>
<li><a href="https://www.w3.org/">W3C's web site</a></li>
</ul>
<p style="font-size:smaller">
<b>Note:</b> Why not toggle 3D rendering on this page as well?
<br/><span data-nocustom><b>Note:</b> Use <code>npm start [url]</code> to add your own URL to the list!</span>
</p>
</main>
</body>
</html>