mikmc5 commited on
Commit
74390e7
·
verified ·
1 Parent(s): f54b2fa

Upload index.html

Browse files
Files changed (1) hide show
  1. index.html +216 -0
index.html ADDED
@@ -0,0 +1,216 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <!DOCTYPE html>
3
+ <html style="background-image: url(https://dl.strem.io/addon-background.jpg);">
4
+
5
+ <head>
6
+ <meta charset="utf-8">
7
+ <title>{{ name }} - Stremio Addon</title>
8
+ <style>
9
+ * {
10
+ box-sizing: border-box;
11
+ }
12
+
13
+ body,
14
+ html {
15
+ margin: 0;
16
+ padding: 0;
17
+ width: 100%;
18
+ min-height: 100%;
19
+ }
20
+
21
+ body {
22
+ padding: 2vh;
23
+ font-size: 2.2vh;
24
+ }
25
+
26
+ html {
27
+ background-size: auto 100%;
28
+ background-size: cover;
29
+ background-position: center center;
30
+ background-repeat: no-repeat;
31
+ box-shadow: inset 0 0 0 2000px rgb(0 0 0 / 60%);
32
+ }
33
+
34
+ body {
35
+ display: flex;
36
+ font-family: 'Open Sans', Arial, sans-serif;
37
+ color: white;
38
+ }
39
+
40
+ h1 {
41
+ font-size: 4.5vh;
42
+ font-weight: 700;
43
+ }
44
+
45
+ h2 {
46
+ font-size: 2.2vh;
47
+ font-weight: normal;
48
+ font-style: italic;
49
+ opacity: 0.8;
50
+ }
51
+
52
+ h3 {
53
+ font-size: 2.2vh;
54
+ }
55
+
56
+ h1,
57
+ h2,
58
+ h3,
59
+ p {
60
+ margin: 0;
61
+ text-shadow: 0 0 1vh rgba(0, 0, 0, 0.15);
62
+ }
63
+
64
+ p {
65
+ font-size: 1.75vh;
66
+ }
67
+
68
+ ul {
69
+ font-size: 1.75vh;
70
+ margin: 0;
71
+ margin-top: 1vh;
72
+ padding-left: 3vh;
73
+ }
74
+
75
+ a {
76
+ color: white
77
+ }
78
+
79
+ a.install-link {
80
+ text-decoration: none
81
+ }
82
+
83
+ button {
84
+ border: 0;
85
+ outline: 0;
86
+ color: white;
87
+ background: #8A5AAB;
88
+ padding: 1.2vh 3.5vh;
89
+ margin: auto;
90
+ text-align: center;
91
+ font-family: 'Open Sans', Arial, sans-serif;
92
+ font-size: 2.2vh;
93
+ font-weight: 600;
94
+ cursor: pointer;
95
+ display: block;
96
+ box-shadow: 0 0.5vh 1vh rgba(0, 0, 0, 0.2);
97
+ transition: box-shadow 0.1s ease-in-out;
98
+ }
99
+
100
+ button:hover {
101
+ box-shadow: none;
102
+ }
103
+
104
+ button:active {
105
+ box-shadow: 0 0 0 0.5vh white inset;
106
+ }
107
+
108
+ #addon {
109
+ width: 40vh;
110
+ margin: auto;
111
+ }
112
+
113
+ .logo {
114
+ height: 14vh;
115
+ width: 14vh;
116
+ margin: auto;
117
+ margin-bottom: 3vh;
118
+ }
119
+
120
+ .logo img {
121
+ width: 100%;
122
+ }
123
+
124
+ .name, .version {
125
+ display: inline-block;
126
+ vertical-align: top;
127
+ }
128
+
129
+ .name {
130
+ line-height: 5vh;
131
+ margin: 0;
132
+ }
133
+
134
+ .version {
135
+ position: relative;
136
+ line-height: 5vh;
137
+ opacity: 0.8;
138
+ margin-bottom: 2vh;
139
+ }
140
+
141
+ .contact {
142
+ position: absolute;
143
+ left: 0;
144
+ bottom: 4vh;
145
+ width: 100%;
146
+ text-align: center;
147
+ }
148
+
149
+ .contact a {
150
+ font-size: 1.4vh;
151
+ font-style: italic;
152
+ }
153
+
154
+ .separator {
155
+ margin-bottom: 4vh;
156
+ }
157
+
158
+ .form-element {
159
+ margin-bottom: 2vh;
160
+ }
161
+
162
+ .label-to-top {
163
+ margin-bottom: 2vh;
164
+ }
165
+
166
+ .label-to-right {
167
+ margin-left: 1vh !important;
168
+ }
169
+
170
+ .full-width {
171
+ width: 100%;
172
+ }
173
+ </style>
174
+ <link rel="shortcut icon" href="{{ logo }}" type="image/x-icon">
175
+ <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap" rel="stylesheet">
176
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/purecss@2.1.0/build/pure-min.css" integrity="sha384-yHIFVG6ClnONEA5yB5DJXfW2/KC173DIQrYoZMEtBvGzmf0PKiGyNEqe9N6BNDBH" crossorigin="anonymous">
177
+ </head>
178
+
179
+ <body>
180
+ <div id="addon">
181
+ <div class="logo">
182
+ <img src="{{ logo }}">
183
+ </div>
184
+ <h1 class="name">{{ name }}</h1>
185
+ <h2 class="version">{{ version }}</h2>
186
+ <h2 class="description">{{ description }}</h2>
187
+
188
+ <div class="separator"></div>
189
+
190
+ <h3 class="gives">This addon has more :</h3>
191
+ <ul> {% for type in types %}
192
+ <li>{{ type }}</li>
193
+ {% endfor %}
194
+ </ul>
195
+
196
+
197
+ <div class="separator"></div>
198
+
199
+
200
+
201
+ <a id="installLink" class="install-link" href="#">
202
+ <button name="Install">INSTALL</button>
203
+ </a>
204
+
205
+ </div>
206
+ <script>
207
+
208
+
209
+ if (typeof updateLink === 'function')
210
+ updateLink()
211
+ else
212
+ installLink.href = 'stremio://' + window.location.host + '/manifest.json'
213
+ </script>
214
+ </body>
215
+
216
+ </html>