-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
238 lines (201 loc) · 7.88 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
<html>
<head>
<title>Wifi-Mouse</title>
<link rel="icon" type="image/png" href="favicon.png" />
<link href="font/gfont.css" rel="stylesheet" type="text/css">
<style>
html, body {
margin: 0;
padding: 0;
font-family: Lato, sans-serif;
}
#parallax-header {
background-image: url("img/clouds.jpg");
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
width: 100%;
height: 100%;
display: table;
}
#parallax-title {
display: table-cell;
vertical-align: middle;
text-align: center;
font-size: 700%;
font-family: Lato, sans-serif;
letter-spacing: 2px;
font-weight: 100;
font-variant-ligatures: none;
-webkit-font-variant-ligatures: no-common-ligatures;
/* Create the parallax scrolling effect */
background-image: url("img/clouds.jpg");
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
position: relative;
-webkit-background-clip: text;
background-clip: text;
color: transparent;
-webkit-filter: invert(100%) grayscale(100%) drop-shadow(4px 7px 6px rgba(1,43,104,1.0));
filter: invert(100%) grayscale(100%) drop-shadow(4px 7px 6px rgba(1,43,104,1.0));
}
#parallax-header2 {
width: 100%;
height: 50px;
background-color: rgba(0,0,0, 0.25);
position: absolute;
top: 0;
}
#parallax-header2-title {
display: table;
height: 50px;
padding-left: 25px;
}
#parallax-header2-text {
display: table-cell;
vertical-align: middle;
color: white;
}
#page-body {
margin: auto;
text-align:center;
width: 85%;
padding-top: 15px;
padding-bottom: 80px;
}
h1 {
color: rgba(0,115,223,1);
font-weight: 400;
font-size: 155%;
}
hr {
margin-top: 42px;
margin-bottom: 30px;
display: block;
height: 1px;
border: 0;
border-top: 2px solid rgba(211,211,211,1);
}
.card {
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
background-color: #f1f1f1;
width: 50vmin;
height: 24vmin;
font-size: medium;
margin: 10px 10px;
transition: 0.3s;
border-radius: 5px;
}
.card:hover {
box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}
</style>
</head>
<body>
<div style="width: 100%; height: 50%;">
<div id="parallax-header">
<div id="parallax-title">WifiMouse</div>
</div>
<div id="parallax-header2">
<div id="parallax-header2-title">
<div id="parallax-header2-text">
WifiMouse for Android by Vivid Designs
</div>
</div>
</div>
</div>
<div id="page-body">
<h1>Downloads</h1>
<div>
<div style="display: inline-block;" class="card">
<div style="width: 50%; height: 100%; float:left;">
<img src="img/tux.svg" style="max-width: 100%; max-height:100%;" />
</div>
<div style="width: 50%; height: 100%; float:right; display:flex; justify-content: center; align-items: center;">
<span>
Linux
<ul style="padding: 0; list-style-position: inside;" type="square">
<li><a href="https://github.com/krogank9/WifiMouseServer/releases/download/1/wifimouseserver.deb">deb package</a></li>
<li><a href="https://github.com/krogank9/WifiMouseServer/releases/download/1/WifiMouseServer">portable elf</a></li>
</ul>
</span>
</div>
</div>
<div style="display: inline-block;" class="card">
<div style="width: 50%; height: 100%; float:left;">
<img src="img/wangblows.svg" style="max-width: 100%; max-height:100%;" />
</div>
<div style="width: 50%; height: 100%; float:right; display:flex; justify-content: center; align-items: center;">
<span>
Windows
<ul style="padding: 0; list-style-position: inside;" type="square">
<li><a href="https://github.com/krogank9/WifiMouseServer/releases/download/1/Install.WifiMouseServer.exe">32/64 bit Installer</a></li>
<li><a href="https://github.com/krogank9/WifiMouseServer/releases/download/1/WifiMouseServer.exe">portable exe</a></li>
</ul>
<span style="color: #aaa;">*Vista or later</span>
</span>
</div>
</div>
<div style="display: inline-block;" class="card">
<div style="width: 50%; height: 100%; float:left;">
<img src="img/apple.svg" style="max-width: 100%; max-height:100%;" />
</div>
<div style="width: 50%; height: 100%; float:right; display:flex; justify-content: center; align-items: center;">
<span>
Mac
<ul style="padding: 0; list-style-position: inside;" type="square">
<li><a href="https://github.com/krogank9/WifiMouseServer/releases/download/1/WifiMouseServer.dmg">64 bit DMG</a></li>
</ul>
</span>
</div>
</div>
</div>
<hr>
<h1>Source Code</h1>
The entire application is open source:
<br><br>
<a href="https://github.com/krogank9/WifiMouseServer">WifiMouseServer Github</a>
<br>
<a href="https://github.com/krogank9/WifiMouse">WifiMouse Android Client Github</a>
<hr>
<h1>Get the App</h1>
<a href="https://play.google.com/store/apps/details?id=vivid.designs.wifimouse"><img src="img/google-play-badge.png" style="width: 20%;"><br>Google Play Listing</a>
</div>
<footer style="text-align: center; padding: 3px; border-top: 1px solid rgba(160,160,160,1);"><p><a href="help">help</a> / <a href="mailto:[email protected]">contact</a> / <a href="info.html">info</a></p></footer>
<script>
function isMobile() {
return navigator.userAgent.indexOf("Android") != -1
|| navigator.userAgent.indexOf("webOS") != -1
|| navigator.userAgent.indexOf("iPhone") != -1
|| navigator.userAgent.indexOf("iPad") != -1
|| navigator.userAgent.indexOf("iPod") != -1
|| navigator.userAgent.indexOf("BlackBerry") != -1
|| navigator.userAgent.indexOf("IEMobile") != -1
|| navigator.userAgent.indexOf("Opera Mini") != -1;
}
if( isMobile() ) {
document.documentElement.style.fontSize = "150%";
document.getElementById("page-body").style.fontSize = "150%";
}
function testStyle(css) {
el = document.createElement('div');
el.style.cssText = css;
return el.style.length != 0;
}
function testNeededStyles() {
return (
(testStyle("-webkit-filter: invert(100%)") || testStyle("filter: invert(100%)"))
&&
(testStyle("-webkit-background-clip: text") || testStyle("background-clip: text"))
);
}
// invert title effect doesn't work right on edge
if(!testNeededStyles() || window.navigator.userAgent.indexOf("Edge") > -1) {
document.getElementById("parallax-title").style.color = "black";
}
</script>
</body>
</html>