aboutsummaryrefslogtreecommitdiff
path: root/browser/monacoWin.html
blob: a55b0e547b9b6c6968c90023eada855f689a1330 (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 lang="en">
    <head>
        <meta charset="utf-8" />
        <title>Vencord QuickCSS Editor</title>
        <style>
            html,
            body,
            #container {
                position: absolute;
                left: 0;
                top: 0;
                width: 100%;
                height: 100%;
                margin: 0;
                padding: 0;
                overflow: hidden;
            }
        </style>
    </head>

    <body>
        <div id="container"></div>

        <script>
            const script = document.createElement("script");
            script.src = new URL("/dist/monaco/index.js", baseUrl);

            const style = document.createElement("link");
            style.type = "text/css";
            style.rel = "stylesheet";
            style.href = new URL("/dist/monaco/index.css", baseUrl);

            document.body.append(style, script);
        </script>
    </body>
</html>