-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
112 lines (107 loc) · 2.59 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
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"
/>
<title>glomex-dialog</title>
<link
rel="stylesheet"
href="https://unpkg.com/@egoist/docup@2/dist/docup.min.css"
/>
<style>
:root {
--navbar-bg: #14233c; /*linear-gradient(to right, #87e0fd 0%,#327dc8 0%,#c800ff 100%);*/
--sidebar-bg: #252c31;
--sidebar-text-fg: #ccc;
--sidebar-menu-item-active-fg: #777;
--content-link-fg: #1C90F3;
}
img[alt~="size"] {
display: inline;
}
.navbar h1::before {
content: '';
background-image: url('./glomex-logo.png');
background-repeat: no-repeat;
background-position: center 2px;
background-size: 70% 70%;
width: 30px;
height: 30px;
margin-right: 5px;
vertical-align: middle;
display: inline-block;
}
.navbar::after {
content: '';
display: block;
position: absolute;
left: 0;
bottom: 0;
height: 4px;
width: 100%;
margin-top: 4px;
background: linear-gradient(to right, #c800ff, #2dafe5);
}
</style>
<style>
* {
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
}
.placeholder-16x9 {
padding-top: 56.25%;
height: auto;
overflow: hidden;
}
.video-element {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: black;
}
article {
padding: 1em;
margin-right: calc(300px + 1em);
}
aside {
position: fixed;
padding: 1em;
width: 300px;
top: 0;
right: 0;
bottom: 0;
background-color: #eee;
}
.button {
font-size: 0.7em;
background-color: #14233c;
color: white;
padding: 3px 6px;
margin-left: 10px;
}
</style>
<script src="./glomex-dialog.js" type="module"></script>
</head>
<body>
<script type="module">
import * as docup from 'https://unpkg.com/@egoist/docup@2/dist/docup.min.js'
docup.init({
title: 'glomex-dialog',
base: 'https://unpkg.com/@glomex/glomex-dialog/',
navLinks: [{
text: 'GitHub',
link: 'https://github.com/glomex/glomex-dialog/',
}]
})
</script>
</body>
</html>