File: github-social-preview.html

package info (click to toggle)
python-websockets 15.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,948 kB
  • sloc: python: 25,105; javascript: 350; ansic: 148; makefile: 43
file content (39 lines) | stat: -rw-r--r-- 1,167 bytes parent folder | download | duplicates (17)
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>