-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcontentReader.html
More file actions
118 lines (96 loc) · 2.33 KB
/
Copy pathcontentReader.html
File metadata and controls
118 lines (96 loc) · 2.33 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>BlogCat - Content Reader</title>
<link rel="stylesheet" href="/vendor/pico.classless.min.css" />
<script src="browser-polyfill.js"></script>
<script src="./vendor/rss-parser.min.js"></script>
<script src="./vendor/mithril.js"></script>
<style type="text/css">
.cat-icon {
max-height: 64px;
padding-right: 20px;
}
nav.feed-item li {
padding-top: 1rem;
padding-bottom: 0.4rem;
}
.podcast-banner {
max-width: 150px;
}
video {
max-width: 250px;
}
video.video {
max-width: 640px;
}
.podcast-meta,
.episode-meta {
display: flex;
vertical-align: top;
}
.description {
border-left: solid 1px;
padding-left: 10px;
margin-left: 10px;
}
.season-pills {
display: flex;
gap: 10px;
margin-bottom: 20px;
max-width: 100vw;
overflow: scroll;
}
.season-pills>button {
flex: 1 1 auto;
}
.season-pills>button:not([selected]) {
flex: 1 1 auto;
background-color: var(--pico-form-element-background-color);
color: var(--pico-form-element-color);
}
.episode-pills {
display: flex;
gap: 10px;
max-width: 100vw;
overflow: scroll;
}
iframe {
max-width: 100%;
width: 100%;
height: 600vh;
}
.episode-pills>.episode {
flex: 1 1 auto;
display: flex;
flex-direction: column;
}
.episode-pills>.episode>img {
max-width: 200px;
border-radius: 5px 5px 0px 0px;
}
.episode>figcaption {
padding: 3px;
border-radius: 0px 0px 5px 5px;
}
.episode-pills>.episode[selected]>figcaption {
background-color: var(--pico-primary-hover-background) !important;
color: var(--pico-primary-inverse) !important;
}
.episode-pills>.episode:not([selected]) {
flex: 1 1 auto;
background-color: var(--pico-form-element-background-color);
color: var(--pico-form-element-color);
}
</style>
<script defer type="module" src="contentReader.js"></script>
</head>
<body>
<main>
<div id="app"></div>
</main>
</body>
</html>