aboutsummaryrefslogtreecommitdiffstats
path: root/VegaData/wwwroot/index.html
blob: 5ea2694ff2293183157c835fa7ca26851bc689a2 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!doctype html>
<html lang="nb">

<head>
	<meta charset="UTF-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<style>
		@font-face {
			font-family: 'Broadsheet Italic';
			src: url('./Broadsheet Italic/Broadsheet Italic.ttf') format('truetype');
			font-weight: normal;
			font-style: italic;
		}

		@font-face {
			font-family: 'Baskerville No.2 Regular';
			src: url('./Baskerville No.2 Regular/Baskerville No.2 Regular.otf') format('opentype');
			font-weight: normal;
			font-style: normal;
		}

		.italic {
			font-family: 'Broadsheet Italic', serif;
		}

		.regular {
			font-family: 'Baskerville No.2 Regular', serif;
		}

		* {
			box-sizing: border-box;
		}

		html,
		body {
			margin: 0;
			padding: 0;
			background: beige;
		}

		#ulShows {
			padding-inline-start: 10px;
			height: 80vh;
			overflow: auto;
		}

		.show {
			margin-bottom: 1rem;
			width: 100%;

			.title {
				width: 100%;
				display: inline-block;
				font-size: 3rem;
				font-weight: 600;
				position: sticky;
				top: 0;
				background: beige;
			}
		}

		.time {
			font-style: normal;
			font-size: 1rem;
			text-decoration: none;
			font-weight: 400;
			margin-bottom: 15px;
			border-bottom: 2px dotted dodgerblue;

			div {
				display: flex;
				flex-direction: column;

				span:first-of-type {
					font-size: 1.2rem;
				}
			}

			.actions {
				display: flex;
				flex-direction: row;
				gap: 1rem;
			}
		}

		ul {
			list-style: none;
			margin: 0;
			padding: 0;
			margin-top: 10px;
		}
	</style>
	<title>Vega eller</title>
</head>

<body>
	<h1>Bli med på vega</h1>
	<main>
		<button id="renderShowsBtn">last om</button>
		<input type="search" name="q" id="search" placeholder="søk">
		<ul id="ulShows"></ul>
	</main>
	<script type="importmap">
    {
      "imports": {
        "temporal-polyfill": "https://esm.sh/temporal-polyfill@0.3.0"
      }
    }
</script>
	<script type="module" src="index.js"></script>
</body>

</html>