blob: de2cadf95a5912f0b5587f7ba67d11097e7b92c9 (
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
|
<!DOCTYPE html>
<html>
<head>
<title>Security Headers button</title>
<link rel="stylesheet" href="https://syndamia.gitlab.io/web-buttons/common-styles.css" crossorigin="anonymous">
<style>
* {
}
#button {
background: #f7f7f7;
border: 2px solid #a6c2c4;
border-top: 4px outset #de1d0b;
width: 100px;
padding: 1px;
}
#button > * {
height: 31px;
}
#sh-title {
float: left;
font: 12px sans-serif;
color: #666666;
font-weight: 700;
padding: 2px;
}
#score {
color: #ffffff;
float: right;
font: bold 18px Arial;
height: 31px;
width: 31px;
text-align: center;
padding-top: 4px;
border-radius: 5px;
border: 2px solid #60c22b;
background: linear-gradient(0deg, rgba(103,209,46,1) 0%, rgba(126,216,77,1) 100%);
}
</style>
</head>
<body>
<div id="button" class="button-x39">
<div id="sh-title">
Qualys<br>SSL Labs
</div>
<div id="score">
A+
</div>
</div>
<br>
<script src="./dom-to-image/src/dom-to-image.js"></script>
<script src="./simple-image.js"></script>
</body>
</html>
|