about summary refs log tree commit diff stats
path: root/html/cards/index.html
blob: 6c6c25e9075a8043b21bdde0d2c9e15d02f3fffd (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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="One should always play fairly when one has the winning cards - Oscar Wilde">
    <title>🃏 cards 🃏</title>
    <style>
        @font-face {
            font-family: 'pokemon-font';
            src: url('./pokemon-font/fonts/pokemon-font.ttf') format('ttf'); /* IE9 Compat Modes */
            src: url('./pokemon-font/fonts/pokemon-font.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
                url('./pokemon-font/fonts/pokemon-font.woff2') format('woff2'), /* Super Modern Browsers */
                url('./pokemon-font/fonts/pokemon-font.woff') format('woff'), /* Pretty Modern Browsers */
                url('./pokemon-font/fonts/pokemon-font.ttf')  format('truetype') /* Safari, Android, iOS */
        }

        body {
            margin: 0;
            padding: 0;
            font-smooth: never;
            -webkit-font-smoothing: none;
            font-family: "pokemon-font", monospace;
            font-size: 16px;
        }

        canvas {
            display: block;
        }
    </style>
</head>
<body>
    <canvas id="cards"></canvas>
    <script src="./cards.js"></script>
</body>
</html>