-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathheader.html
73 lines (64 loc) · 1.49 KB
/
header.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
<!DOCTYPE html>
<html>
<head>
<title>Encrypted e-mail on Android</title>
<meta charset="utf-8">
<style>
body {
font-family: sans-serif;
margin: 1em;
max-width: 64em;
margin: auto;
padding: 0.8em;
}
a:visited {
color: #0082f1;
}
img {
zoom: 50%;
vertical-align: text-bottom;
}
img:-moz-broken{
-moz-force-broken-image-icon:1;
width:24px;
height:24px;
}
hr.big-and-invisible {
margin-bottom: 6em;
border: 0;
}
.feedback {
position: absolute;
top: 0;
right: 0;
padding: 5px;
}
@media (min-resolution: 2dppx), (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi){
body{
font-size: 3em;
}
img {
zoom: 50%;
}
}
</style>
<script type="text/javascript">
window.onload = function() {
//Firefox does not support zoom!
if (window.devicePixelRatio <= 1) {
var images = document.getElementsByTagName("img");
for (var i = 0; i < images.length; i++) {
var img = images[i];
if (img.style.zoom !== undefined) {
//Browser supports zoom
break;
}
img.style.width = img.clientWidth/2+"px";
}
}
};
</script>
</head>
<body>
<div class="feedback"><a href="#feedback">Feedback</a></div>