forked from fruitriin/missRirica-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
59 lines (56 loc) · 1.6 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
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@tabler/icons@latest/iconfont/tabler-icons.min.css"
/>
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, viewport-fit=cover"
/>
<title>Vite + Vue + TS</title>
<style>
.ios #header {
position: sticky;
height: 20px;
top: 0;
opacity: 1;
z-index: 999999;
}
@supports (bottom: env(safe-area-inset-bottom)) {
.ios #header {
height: 0;
padding-top: calc(env(safe-area-inset-top));
}
}
/* サイドバーとウィジェット */
.ios ._menuDrawer_bf6hp_183,
.ios ._widgetsDrawer_bf6hp_94 {
padding-top: calc(16px) !important;
}
@supports (bottom: env(safe-area-inset-bottom)) {
.ios ._menuDrawer_bf6hp_183,
.ios ._widgetsDrawer_bf6hp_94 {
padding-top: calc(env(safe-area-inset-top)) !important;
padding-bottom: calc(env(safe-area-inset-bottom) + 16px) !important;
}
}
/* 投稿ダイアログ */
.ios ._content_hgr5a_5 {
padding-top: calc(20px + 16px) !important;
}
@supports (bottom: env(safe-area-inset-bottom)) {
.ios ._content_hgr5a_5 {
padding-top: calc(env(safe-area-inset-top) + 16px) !important;
}
}
</style>
</head>
<body>
<div id="header" style="background: var(--bg)"></div>
<div id="app"></div>
<script type="module" src="/src/init.ts"></script>
</body>
</html>