blob: 18bd9bc12ebf38aebbd586260853af0aafc28bc8 (
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
|
<!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-display: auto;
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-display: auto;
font-style: normal;
} */
.italic {
font-family: 'Broadsheet Italic', serif;
}
.regular {
font-family: 'Baskerville No.2 Regular', serif;
}
* {
box-sizing: border-box;
}
:root {
--bg: beige;
}
html,
body {
margin: 0;
padding: 0;
background: var(--bg);
}
li:target {
padding-block: 2rem;
padding-inline: 1rem;
background-image: url("./17.png");
div:first-of-type {
padding-block: .4rem;
padding-inline-start: .5rem;
background-color: var(--bg);
}
}
#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">tilbakestill</button>
<input type="search" name="q1" 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>
|