forked from galacticcouncil/apps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·107 lines (93 loc) · 2.32 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
<!DOCTYPE html>
<html theme="hdx">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Galactic Apps</title>
<meta name="description" content="Galactic Apps" />
<base href="/" />
<style>
:root {
--toolbar-height: 65px;
--footer-height: 60px;
}
body {
background-attachment: fixed;
background: var(--uigc-app-background);
margin: 0;
}
header {
position: fixed;
top: 0px;
left: 0px;
z-index: 5;
height: var(--toolbar-height);
width: 100%;
backdrop-filter: blur(16px);
background: rgba(0, 0, 0, 0.2);
-webkit-box-align: center;
align-items: center;
display: flex;
flex-direction: row;
justify-content: center;
}
html[theme='bsx'] header {
background: rgba(28, 26, 31, 0.2);
}
html[theme='hdx'] header {
background: rgba(0, 0, 0, 0.2);
}
nav a {
text-decoration: none;
}
nav a span {
font-family: var(--uigc-app-font);
font-size: 16px;
line-height: 18px;
margin-right: 32px;
}
html nav a span:hover {
color: rgb(255, 255, 255);
}
html[theme='bsx'] nav span {
font-family: var(--uigc-app-font);
font-weight: 600;
color: rgb(158, 169, 177);
}
html[theme='hdx'] nav span {
font-family: var(--uigc-app-font);
text-transform: uppercase;
color: rgb(189, 204, 212);
}
main {
width: 100%;
margin-top: var(--toolbar-height);
height: calc(100vh - var(--toolbar-height));
}
@media (min-width: 768px) {
main > div#app {
padding: 44px 0px;
}
}
@media (max-width: 480px) {
main > div#app {
height: 100%;
}
}
</style>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<header>
<nav>
<a href="/trade"><span>Trade</span></a>
<a href="/xcm"><span>Transfer</span></a>
</nav>
</header>
<main>
<div id="app"></div>
</main>
<footer></footer>
<script type="module" src="./out/app.js"></script>
</body>
</html>