forked from python-websockets/websockets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
github-social-preview.html
39 lines (39 loc) · 1.14 KB
/
github-social-preview.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>GitHub social preview</title>
<style>
body {
background-color: black;
color: white;
font-family: -apple-system;
font-size: 36px;
font-weight: 100;
text-align: center;
}
p.screenshot {
background-color: white;
box-sizing: border-box;
width: 1280px;
height: 640px;
margin: 40px auto;
padding: 40px;
}
p.screenshot.x2 {
width: 640px;
height: 320px;
padding: 20px;
}
p.screenshot img {
height: 100%;
}
</style>
</head>
<body>
<p>Take a screenshot of this DOM node to make a PNG.</p>
<p>For 2x DPI screens.</p>
<p class="screenshot x2"><img src="vertical.svg" alt="preview @ 2x"></p>
<p>For regular screens.</p>
<p class="screenshot"><img src="vertical.svg" alt="preview"></p>
</body>
</html>