aboutsummaryrefslogtreecommitdiff
path: root/src/code.html
blob: f459b4ec04dfcf0bdb6de389333787a143f46a56 (plain)
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
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <title>{title}</title>
        <style>
            html, body \{
                background-color: #002b36;
                height: 100%;
            }
            :hover \{
                color: white !important;
            }
            .code \{
                color: #93a1a1;
            }
            .linenumbers \{
                -ms-user-select: none;
                -moz-user-select: none;
                -webkit-user-select: none;
                -khtml-user-select: none;
                -o-user-select: none;
                user-select: none;
            }
            .linenumbers a \{
                color: #586e75;
                text-decoration: none;
            }
            .linenumbers a:after \{
                content: attr(data-txt);
            }
        </style>
    </head>
    <body>
        {code | raw}
    </body>
</html>