blob: 7bb6de870fb03939569fe03ae0d6a85dc68c06a9 (
plain) (
blame)
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
|
<!DOCTYPE html>
<html>
<head>
<title>Mozilla Observatory button</title>
<link rel="stylesheet" href="https://syndamia.gitlab.io/web-buttons/common-styles.css" crossorigin="anonymous">
<style>
* {
font-smooth: never;
}
#button {
border: 2px outset #4582ec;
width: 115px;
background: white;
padding: 1px;
}
#button > * {
height: 33px;
}
#mozilla-logo {
padding: 5px;
float: left;
font: 11px Arial;
font-weight: bold;
}
#score {
color: white;
float: right;
font: 18px Arial;
width: 33px;
text-align: center;
border-radius: 7px;
border: 3px solid black;
}
.aplus {
background-color: #2d882d;
border-color: #106610 !important;
}
.bplus {
background-color: #aaaa39;
border-color: #808015 !important;
padding-top: 1px;
}
</style>
</head>
<body>
<div id="button" class="button-x39">
<div id="mozilla-logo">
Mozilla<br>Observatory
</div>
<!--
<div id="score" class="aplus">
A<sup>+</sup>
</div>
-->
<div id="score" class="bplus">
B<sup>+</sup>
</div>
</div>
<br>
<script src="./dom-to-image/src/dom-to-image.js"></script>
<script src="./simple-image.js"></script>
</body>
</html>
|