Update InfoBeamer, somewhat less WiP

This commit is contained in:
Ral 2021-12-25 07:28:56 +01:00
parent 4b40ede8a7
commit 4a271344cb
6 changed files with 137 additions and 57 deletions

View File

@ -3,14 +3,14 @@
<meta charset=utf-8> <meta charset=utf-8>
<meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"> <meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no">
<title>rC3 NOWHERE</title> <title>rC3 NOWHERE</title>
<link rel=stylesheet href=https://infobeamer.montage2.de/main.min.a6a58de74ac0c424e02c892a0e91930638ad2d1088bde3d4cf113a27569fb32f.css> <link rel=stylesheet href=https://infobeamer.montage2.de/main.min.b9026d1f6b104105b018119cd321ea8cb03e44ce4115c7200844e5c35100a5e4.css>
<script src=https://infobeamer.montage2.de/js/config.3dd54e14cd5782968f2fb18dc72b3074a90c0b8713e2a166f88b500d2aa19e09.js integrity="sha256-PdVOFM1XgpaPL7GNxyswdKkMC4cT4qFm+ItQDSqhngk="></script> <script src=https://infobeamer.montage2.de/js/config.fa1a162e62b8d5f3f40c8812d30b5289c5792ff26c0843426d8c109a00621389.js integrity="sha256-+hoWLmK41fP0DIgS0wtSicV5L/JsCENCbYwQmgBiE4k="></script>
</head> </head>
<body> <body>
<main id=main> <main id=main>
</main> </main>
<script src=https://infobeamer.montage2.de/js/preact/preact.min.0c204e20934f1e09cfe86fbcf1d069d842f988fc71efe3a923021c08892c71c8.js integrity="sha256-DCBOIJNPHgnP6G+88dBp2EL5iPxx7+OpIwIcCIksccg="></script> <script src=https://infobeamer.montage2.de/js/preact/preact.min.0c204e20934f1e09cfe86fbcf1d069d842f988fc71efe3a923021c08892c71c8.js integrity="sha256-DCBOIJNPHgnP6G+88dBp2EL5iPxx7+OpIwIcCIksccg="></script>
<script src=https://infobeamer.montage2.de/js/htm/htm.80e39afe20fd61183412eda89efa10532d57945e6364642aceacd50eb2384b4b.js integrity="sha256-gOOa/iD9YRg0Eu2onvoQUy1XlF5jZGQqzqzVDrI4S0s="></script> <script src=https://infobeamer.montage2.de/js/htm/htm.80e39afe20fd61183412eda89efa10532d57945e6364642aceacd50eb2384b4b.js integrity="sha256-gOOa/iD9YRg0Eu2onvoQUy1XlF5jZGQqzqzVDrI4S0s="></script>
<script src=https://infobeamer.montage2.de/main.ed70c487a33840a79f8f30be2914947b7075c79656362b0f07f1b33aacc1254a.js integrity="sha256-7XDEh6M4QKefjzC+KRSUe3B1x5ZWNisPB/GzOqzBJUo=" type=module></script> <script src=https://infobeamer.montage2.de/main.fca55c7bea00e5c58b9a3676e2419260d2a4218c69b9ee2299947c09dd6219ac.js integrity="sha256-/KVce+oA5cWLmjZ24kGSYNKkIYxpue4imZR8Cd1iGaw=" type=module></script>
</body> </body>
</html> </html>

View File

@ -2,10 +2,12 @@
// <stdin> // <stdin>
window.infoBeamerConfig = /* @__PURE__ */ new Map(); window.infoBeamerConfig = /* @__PURE__ */ new Map();
window.infoBeamerConfig.set("workerBaseURL", "/"); window.infoBeamerConfig.set("workerBaseURL", "/");
window.infoBeamerConfig.set("scheduleURL", "/fahrplan.json"); window.infoBeamerConfig.set("scheduleURL", "/everything.schedule.json");
window.infoBeamerConfig.set("scheduleFetchInterval", 10); window.infoBeamerConfig.set("scheduleFetchInterval", 60);
window.infoBeamerConfig.set("twitterURL", "/tweets-rc3.json"); window.infoBeamerConfig.set("twitterURL", "/tweets-rc3.json");
window.infoBeamerConfig.set("twitterFetchInterval", 60); window.infoBeamerConfig.set("twitterFetchInterval", 60);
window.infoBeamerConfig.set("mastodonURL", "/toots-rc3-chaos.social.json");
window.infoBeamerConfig.set("mastodonFetchInterval", 60);
window.infoBeamerConfig.set("musicURL", "/music.json"); window.infoBeamerConfig.set("musicURL", "/music.json");
window.infoBeamerConfig.set("musicFetchInterval", 3); window.infoBeamerConfig.set("musicFetchInterval", 3);
console.log("Info Beamer Configuration: "); console.log("Info Beamer Configuration: ");

View File

@ -2,10 +2,15 @@
(() => { (() => {
// ns-hugo:/home/raoul-web/rc3_2021/html-infobeamer-content/assets/js/dom.js // ns-hugo:/home/raoul-web/rc3_2021/html-infobeamer-content/assets/js/dom.js
var html = htm.bind(preact.h); var html = htm.bind(preact.h);
var speaker_names = (talk) => {
const nameSeparator = ", ";
let speakerNames = talk.persons.map((p) => p.public_name).join(nameSeparator);
return speakerNames;
};
var schedule_meta_here_dom = (schedule) => { var schedule_meta_here_dom = (schedule) => {
let inner = html`${schedule.map((talk) => html` let inner = html`${schedule.map((talk) => html`
<div class="talk-here-meta-box"> <div class="talk-here-meta-box">
<div class="speaker">${talk.personnames}:</div> <div class="speaker">${speaker_names(talk)}:</div>
<div class="title">${talk.title}</div> <div class="title">${talk.title}</div>
<div class="start-duration"> <div class="start-duration">
<span class="start">Starting at ${talk.start}</span> <span class="start">Starting at ${talk.start}</span>
@ -20,7 +25,11 @@
let placeHolder = "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec ut urna. Curabitur lorem risus, sagittis vitae, accumsan a, iaculis id, metus. Suspendisse potenti. Fusce nonummy commodo dui. Fusce venenatis ligula in pede. Aliquam velit dui, commodo quis, porttitor eget, convallis et, nisi. Nam sed nisl nec elit suscipit ullamcorper. Cras ac enim vel dui vestibulum suscipit. Suspendisse venenatis. Nam pharetra. Pellentesque et arcu. Nam sed nisl nec elit suscipit ullamcorper. Aenean turpis ipsum, rhoncus vitae, posuere vitae, euismod sed, ligula. Integer risus velit, facilisis eget, viverra et, venenatis id, leo. Aenean ligula. Mauris sed nulla quis nisi interdum tempor. Nullam libero nunc, tristique eget, laoreet eu, sagittis id, ante. Aliquam sed erat. Vestibulum viverra varius enim. Donec at diam a tellus dignissim vestibulum. Nullam sapien mauris, venenatis at, fermentum at, tempus eu, urna."; let placeHolder = "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec ut urna. Curabitur lorem risus, sagittis vitae, accumsan a, iaculis id, metus. Suspendisse potenti. Fusce nonummy commodo dui. Fusce venenatis ligula in pede. Aliquam velit dui, commodo quis, porttitor eget, convallis et, nisi. Nam sed nisl nec elit suscipit ullamcorper. Cras ac enim vel dui vestibulum suscipit. Suspendisse venenatis. Nam pharetra. Pellentesque et arcu. Nam sed nisl nec elit suscipit ullamcorper. Aenean turpis ipsum, rhoncus vitae, posuere vitae, euismod sed, ligula. Integer risus velit, facilisis eget, viverra et, venenatis id, leo. Aenean ligula. Mauris sed nulla quis nisi interdum tempor. Nullam libero nunc, tristique eget, laoreet eu, sagittis id, ante. Aliquam sed erat. Vestibulum viverra varius enim. Donec at diam a tellus dignissim vestibulum. Nullam sapien mauris, venenatis at, fermentum at, tempus eu, urna.";
schedule.forEach((talk) => { schedule.forEach((talk) => {
let abstract = talk.abstract !== void 0 ? talk.abstract : placeHolder; let abstract = talk.abstract !== void 0 ? talk.abstract : placeHolder;
inner = html`<span class="text">${abstract}</span>`; let track = talk.track !== void 0 ? talk.track : "-";
let lang = talk.language !== void 0 ? talk.language : "en";
inner = html`
<div class="text" lang="${lang}">${abstract}</div>
<div class="track">Track: ${track}</div>`;
}); });
return inner; return inner;
}; };
@ -40,7 +49,6 @@
return inner; return inner;
}; };
var update_schedule_dom = (schedule) => { var update_schedule_dom = (schedule) => {
const here_roomguid = "";
const here_room = "Chaos-West TV"; const here_room = "Chaos-West TV";
const here_number_events = 1; const here_number_events = 1;
const all_number_events = 10; const all_number_events = 10;
@ -74,6 +82,7 @@
}; };
var music_playing_now_dom = (music) => { var music_playing_now_dom = (music) => {
let inner = html` let inner = html`
<div class="music-box">
<div class="music"> <div class="music">
${music.map((current) => html` ${music.map((current) => html`
<div class="line1"> <div class="line1">
@ -85,54 +94,36 @@
<span class="by">by</span> <span class="by">by</span>
<span class="artist">${current.artist}</span> <span class="artist">${current.artist}</span>
</div>`)} </div>`)}
</div>
</div>`; </div>`;
return inner; return inner;
}; };
var get_tweet_author = (data, tweet) => { var single_tweet_dom = (tweet) => {
let authorId = tweet.author_id; let date = new Date(tweet.time);
let users = data.includes.users;
let author = users.find((item) => item.id === authorId);
let userName = author !== void 0 ? author.username : "NoOne";
return userName;
};
var get_tweet_text = (data, tweet) => tweet.text;
var get_tweet_profile_image = (data, tweet) => {
const defaultProfileImageUrl = "https://abs.twimg.com/sticky/default_profile_images/default_profile_normal.png";
let authorId = tweet.author_id;
let users = data.includes.users;
let author = users.find((item) => item.id === authorId);
let profileImageUrl = author !== void 0 ? author.profile_image_url : defaultProfileImageUrl;
return profileImageUrl;
};
var single_tweet_dom = (data, tweet) => {
let userName = get_tweet_author(data, tweet);
let profileImageUrl = get_tweet_profile_image(data, tweet);
let text = get_tweet_text(data, tweet);
let inner = html` let inner = html`
<div class="tweet slider"> <div class="tweet slider">
<div class="container"> <div class="container">
<img class="profile-image" src="${profileImageUrl}"/> <img class="profile-image" src="${tweet.image}"/>
<div class="content"> <div class="content">
<div class="username">@${userName}</div> <div>
<div class="text">${text}</div> <span class="username">@${tweet.author}</span>
<span class="time">at ${date.getHours()}:${date.getMinutes()}</span>
</div>
<div class="text">${tweet.text}</div>
</div> </div>
</div> </div>
</div>`; </div>`;
return inner; return inner;
}; };
var social_container_dom = (data) => { var social_container_dom = (tweets) => {
let inner = html``; let inner = html`
data.forEach((d) => {
let tweets = d.data;
inner = html`
<div id="bottom-bar" class="visible bottom-bar"> <div id="bottom-bar" class="visible bottom-bar">
<div id="ticker-wrap" class="ticker-wrap"> <div id="ticker-wrap" class="ticker-wrap">
<div class="ticker switcher"> <div class="ticker switcher">
${tweets.map((t) => single_tweet_dom(d, t))} ${tweets.map((t) => single_tweet_dom(t))}
</div> </div>
</div> </div>
</div>`; </div>`;
});
return inner; return inner;
}; };
function update_main_slide(data) { function update_main_slide(data) {
@ -156,19 +147,80 @@ ${twitterDom}
var scheduleData = []; var scheduleData = [];
var musicData = []; var musicData = [];
var twitterData = []; var twitterData = [];
var twitter_limiter = (idata) => { var mastodonData = [];
var social_limiter = (tweets, toots) => {
const numberTweets = 20; const numberTweets = 20;
let dataCopy = JSON.parse(JSON.stringify(idata)); let posts = tweets.concat(toots);
dataCopy.forEach((d) => { let byDate = (fst, snd) => Date.parse(fst.time) - Date.parse(snd.time);
let tweets = d.data; let postsSorted = posts.sort(byDate);
if (tweets.length > 0) { if (postsSorted.length > 0) {
while (tweets.length < 20) { while (postsSorted.length < numberTweets) {
tweets = tweets.concat(tweets); postsSorted = postsSorted.concat(postsSorted);
} }
} }
d.data = tweets.slice(0, numberTweets); postsSorted = postsSorted.slice(0, numberTweets);
return postsSorted;
};
var get_tweet_author = (data, tweet) => {
let authorId = tweet.author_id;
let users = data.includes.users;
let author = users.find((item) => item.id === authorId);
let userName = author !== void 0 ? author.username : "NoOne";
return userName;
};
var get_tweet_text = (data, tweet) => tweet.text;
var get_tweet_profile_image = (data, tweet) => {
const defaultProfileImageUrl = "https://abs.twimg.com/sticky/default_profile_images/default_profile_normal.png";
let authorId = tweet.author_id;
let users = data.includes.users;
let author = users.find((item) => item.id === authorId);
let profileImageUrl = author !== void 0 ? author.profile_image_url : defaultProfileImageUrl;
return profileImageUrl;
};
var get_tweet_time = (data, tweet) => tweet.created_at;
var twitter_filter = (idata) => {
let tweets;
idata.forEach((d) => tweets = d.data.map((t) => {
return {
author: get_tweet_author(d, t),
image: get_tweet_profile_image(d, t),
text: get_tweet_text(d, t),
time: get_tweet_time(d, t)
};
}));
return tweets;
};
var mastodon_filter = (idata) => {
let toots;
idata.forEach((d) => {
toots = d.map((t) => {
return {
author: t.account.username,
image: t.account.avatar_static,
text: extractContent(t.content, true),
time: t.created_at
};
}); });
return dataCopy; });
return toots;
};
function extractContent(string) {
let span = document.createElement("span");
span.innerHTML = string;
let children = span.querySelectorAll("*");
children.forEach((child) => {
child.textContent += " ";
});
return span.textContent.toString().replace(/ +/g, " ");
}
var schedule_processor = (data) => {
let dataDays = data.schedule.conference.days;
let talksData = dataDays.map((d) => {
return Object.values(d.rooms);
}).flat(2);
let byDate = (fst, snd) => Date.parse(fst.date) - Date.parse(snd.date);
let talksDataSorted = talksData.sort(byDate);
return talksDataSorted;
}; };
if (window.Worker) { if (window.Worker) {
const workerBaseURL = window.infoBeamerConfig.get("workerBaseURL"); const workerBaseURL = window.infoBeamerConfig.get("workerBaseURL");
@ -185,7 +237,7 @@ ${twitterDom}
scheduleWorker.onmessage = function(e) { scheduleWorker.onmessage = function(e) {
let msgType = e.data.msgType; let msgType = e.data.msgType;
if (msgType === "ScheduleUpdate") { if (msgType === "ScheduleUpdate") {
scheduleData = e.data.schedule; scheduleData = schedule_processor(e.data.schedule);
let time = e.data.timestamp; let time = e.data.timestamp;
console.log("Message: " + msgType + " at " + time); console.log("Message: " + msgType + " at " + time);
console.log(scheduleData); console.log(scheduleData);
@ -228,20 +280,46 @@ ${twitterDom}
let msgType = e.data.msgType; let msgType = e.data.msgType;
if (msgType === twitterType) { if (msgType === twitterType) {
twitterData = [e.data.json]; twitterData = [e.data.json];
twitterData = twitter_limiter(twitterData); twitterData = twitter_filter(twitterData);
let time = e.data.timestamp; let time = e.data.timestamp;
console.log("Message: " + msgType + " at " + time); console.log("Message: " + msgType + " at " + time);
console.log(twitterData); console.log(twitterData);
update_screen(); update_screen();
} }
}; };
const mastodonWorkerCode = workerBaseURL + "js/generic_fetch_worker.js";
console.log("Loading worker JS from: " + mastodonWorkerCode);
const mastodonWorker = new Worker(mastodonWorkerCode);
const mastodonType = "Mastodon";
const mastodonURL = window.infoBeamerConfig.get("mastodonURL");
const mastodonFetchInterval = window.infoBeamerConfig.get("mastodonFetchInterval");
mastodonWorker.postMessage({
fetchType: mastodonType,
fetchURL: mastodonURL,
fetchInterval: mastodonFetchInterval
});
mastodonWorker.onmessage = function(e) {
let msgType = e.data.msgType;
if (msgType === mastodonType) {
mastodonData = [e.data.json];
mastodonData = mastodon_filter(mastodonData);
let time = e.data.timestamp;
console.log("Message: " + msgType + " at " + time);
console.log(mastodonData);
update_screen();
}
};
} else { } else {
console.log("Your browser doesn't support web workers."); console.log("Your browser doesn't support web workers.");
} }
function update_screen() { function update_screen() {
let time = new Date(); let time = new Date();
console.log("Updating screen at at: " + time); console.log("Updating screen at at: " + time);
update_main_slide({ schedule: scheduleData, music: musicData, twitter: twitterData }); update_main_slide({
schedule: scheduleData,
music: musicData,
twitter: social_limiter(twitterData, mastodonData)
});
} }
function main_loop() { function main_loop() {
update_screen(); update_screen();

View File

@ -1 +1 @@
@font-face{font-family:ibm plex mono;font-style:normal;font-weight:400;src:url(./fonts/ibm-plex-mono-v7-latin-ext_latin-regular.woff2)format("woff2"),url(./fonts/ibm-plex-mono-v7-latin-ext_latin-regular.woff)format("woff")}@font-face{font-family:ibm plex mono;font-style:italic;font-weight:400;src:url(./fonts/ibm-plex-mono-v7-latin-ext_latin-italic.woff2)format("woff2"),url(./fonts/ibm-plex-mono-v7-latin-ext_latin-italic.woff)format("woff")}@font-face{font-family:ibm plex mono;font-style:normal;font-weight:700;src:url(./fonts/ibm-plex-mono-v7-latin-ext_latin-700.woff2)format("woff2"),url(./fonts/ibm-plex-mono-v7-latin-ext_latin-700.woff)format("woff")}@font-face{font-family:ibm plex mono;font-style:italic;font-weight:700;src:url(./fonts/ibm-plex-mono-v7-latin-ext_latin-700italic.woff2)format("woff2"),url(./fonts/ibm-plex-mono-v7-latin-ext_latin-700italic.woff)format("woff")}@font-face{font-family:ibm plex sans;font-style:normal;font-weight:100;src:url(./fonts/ibm-plex-sans-v9-latin-ext_latin-100.woff2)format("woff2"),url(./fonts/ibm-plex-sans-v9-latin-ext_latin-100.woff)format("woff")}@font-face{font-family:ibm plex sans;font-style:italic;font-weight:100;src:url(./fonts/ibm-plex-sans-v9-latin-ext_latin-100italic.woff2)format("woff2"),url(./fonts/ibm-plex-sans-v9-latin-ext_latin-100italic.woff)format("woff")}@font-face{font-family:ibm plex sans;font-style:normal;font-weight:200;src:url(./fonts/ibm-plex-sans-v9-latin-ext_latin-200.woff2)format("woff2"),url(./fonts/ibm-plex-sans-v9-latin-ext_latin-200.woff)format("woff")}@font-face{font-family:ibm plex sans;font-style:italic;font-weight:200;src:url(./fonts/ibm-plex-sans-v9-latin-ext_latin-200italic.woff2)format("woff2"),url(./fonts/ibm-plex-sans-v9-latin-ext_latin-200italic.woff)format("woff")}@font-face{font-family:ibm plex sans;font-style:normal;font-weight:300;src:url(./fonts/ibm-plex-sans-v9-latin-ext_latin-300.woff2)format("woff2"),url(./fonts/ibm-plex-sans-v9-latin-ext_latin-300.woff)format("woff")}@font-face{font-family:ibm plex sans;font-style:italic;font-weight:300;src:url(./fonts/ibm-plex-sans-v9-latin-ext_latin-300italic.woff2)format("woff2"),url(./fonts/ibm-plex-sans-v9-latin-ext_latin-300italic.woff)format("woff")}@font-face{font-family:ibm plex sans;font-style:normal;font-weight:400;src:url(./fonts/ibm-plex-sans-v9-latin-ext_latin-regular.woff2)format("woff2"),url(./fonts/ibm-plex-sans-v9-latin-ext_latin-regular.woff)format("woff")}@font-face{font-family:ibm plex sans;font-style:italic;font-weight:400;src:url(./fonts/ibm-plex-sans-v9-latin-ext_latin-italic.woff2)format("woff2"),url(./fonts/ibm-plex-sans-v9-latin-ext_latin-italic.woff)format("woff")}@font-face{font-family:ibm plex sans;font-style:normal;font-weight:500;src:url(./fonts/ibm-plex-sans-v9-latin-ext_latin-500.woff2)format("woff2"),url(./fonts/ibm-plex-sans-v9-latin-ext_latin-500.woff)format("woff")}@font-face{font-family:ibm plex sans;font-style:italic;font-weight:500;src:url(./fonts/ibm-plex-sans-v9-latin-ext_latin-500italic.woff2)format("woff2"),url(./fonts/ibm-plex-sans-v9-latin-ext_latin-500italic.woff)format("woff")}@font-face{font-family:ibm plex sans;font-style:normal;font-weight:600;src:url(./fonts/ibm-plex-sans-v9-latin-ext_latin-600.woff2)format("woff2"),url(./fonts/ibm-plex-sans-v9-latin-ext_latin-600.woff)format("woff")}@font-face{font-family:ibm plex sans;font-style:italic;font-weight:600;src:url(./fonts/ibm-plex-sans-v9-latin-ext_latin-600italic.woff2)format("woff2"),url(./fonts/ibm-plex-sans-v9-latin-ext_latin-600italic.woff)format("woff")}@font-face{font-family:ibm plex sans;font-style:normal;font-weight:700;src:url(./fonts/ibm-plex-sans-v9-latin-ext_latin-700.woff2)format("woff2"),url(./fonts/ibm-plex-sans-v9-latin-ext_latin-700.woff)format("woff")}@font-face{font-family:ibm plex sans;font-style:italic;font-weight:700;src:url(./fonts/ibm-plex-sans-v9-latin-ext_latin-700italic.woff2)format("woff2"),url(./fonts/ibm-plex-sans-v9-latin-ext_latin-700italic.woff)format("woff")}*{box-sizing:border-box}body{color:#fff;background:#646464}#main{position:absolute;top:0;left:0}.slide{width:1920px;height:1080px;overflow:hidden}.schedule{display:none}.bottom-bar{display:none}.music{position:absolute;top:60px;left:60px;margin-left:30px;padding-left:20px;padding-top:10px;padding-bottom:10px;width:800px;background-color:rgba(0,0,0,.8);box-shadow:2px 2px 4px 2px rgba(0,0,0,.6);font-family:ibm plex sans;font-weight:400;font-size:35px;color:#eee;text-shadow:0 0 6px #000;background:linear-gradient(110deg,rgba(26,115,150,.6) 0%,rgba(26,115,150,.2) 85%,rgba(26,115,150,0) 100%);white-space:nowrap;border-left:6px solid #309aca;border-top:6px solid #309aca}.music .line1{display:flex;justify-content:space-between}.music .line2{overflow:hidden;text-overflow:ellipsis}.music .header{font-weight:700;white-space:normal}.music .title{margin-left:20px}.music .artist{font-style:italic}.music .by{margin-left:15px;margin-right:12px;font-style:italic}.music .license{font-size:25px;color:#ccc} @font-face{font-family:ibm plex mono;font-style:normal;font-weight:400;src:url(./fonts/ibm-plex-mono-v7-latin-ext_latin-regular.woff2)format("woff2"),url(./fonts/ibm-plex-mono-v7-latin-ext_latin-regular.woff)format("woff")}@font-face{font-family:ibm plex mono;font-style:italic;font-weight:400;src:url(./fonts/ibm-plex-mono-v7-latin-ext_latin-italic.woff2)format("woff2"),url(./fonts/ibm-plex-mono-v7-latin-ext_latin-italic.woff)format("woff")}@font-face{font-family:ibm plex mono;font-style:normal;font-weight:700;src:url(./fonts/ibm-plex-mono-v7-latin-ext_latin-700.woff2)format("woff2"),url(./fonts/ibm-plex-mono-v7-latin-ext_latin-700.woff)format("woff")}@font-face{font-family:ibm plex mono;font-style:italic;font-weight:700;src:url(./fonts/ibm-plex-mono-v7-latin-ext_latin-700italic.woff2)format("woff2"),url(./fonts/ibm-plex-mono-v7-latin-ext_latin-700italic.woff)format("woff")}@font-face{font-family:ibm plex sans;font-style:normal;font-weight:100;src:url(./fonts/ibm-plex-sans-v9-latin-ext_latin-100.woff2)format("woff2"),url(./fonts/ibm-plex-sans-v9-latin-ext_latin-100.woff)format("woff")}@font-face{font-family:ibm plex sans;font-style:italic;font-weight:100;src:url(./fonts/ibm-plex-sans-v9-latin-ext_latin-100italic.woff2)format("woff2"),url(./fonts/ibm-plex-sans-v9-latin-ext_latin-100italic.woff)format("woff")}@font-face{font-family:ibm plex sans;font-style:normal;font-weight:200;src:url(./fonts/ibm-plex-sans-v9-latin-ext_latin-200.woff2)format("woff2"),url(./fonts/ibm-plex-sans-v9-latin-ext_latin-200.woff)format("woff")}@font-face{font-family:ibm plex sans;font-style:italic;font-weight:200;src:url(./fonts/ibm-plex-sans-v9-latin-ext_latin-200italic.woff2)format("woff2"),url(./fonts/ibm-plex-sans-v9-latin-ext_latin-200italic.woff)format("woff")}@font-face{font-family:ibm plex sans;font-style:normal;font-weight:300;src:url(./fonts/ibm-plex-sans-v9-latin-ext_latin-300.woff2)format("woff2"),url(./fonts/ibm-plex-sans-v9-latin-ext_latin-300.woff)format("woff")}@font-face{font-family:ibm plex sans;font-style:italic;font-weight:300;src:url(./fonts/ibm-plex-sans-v9-latin-ext_latin-300italic.woff2)format("woff2"),url(./fonts/ibm-plex-sans-v9-latin-ext_latin-300italic.woff)format("woff")}@font-face{font-family:ibm plex sans;font-style:normal;font-weight:400;src:url(./fonts/ibm-plex-sans-v9-latin-ext_latin-regular.woff2)format("woff2"),url(./fonts/ibm-plex-sans-v9-latin-ext_latin-regular.woff)format("woff")}@font-face{font-family:ibm plex sans;font-style:italic;font-weight:400;src:url(./fonts/ibm-plex-sans-v9-latin-ext_latin-italic.woff2)format("woff2"),url(./fonts/ibm-plex-sans-v9-latin-ext_latin-italic.woff)format("woff")}@font-face{font-family:ibm plex sans;font-style:normal;font-weight:500;src:url(./fonts/ibm-plex-sans-v9-latin-ext_latin-500.woff2)format("woff2"),url(./fonts/ibm-plex-sans-v9-latin-ext_latin-500.woff)format("woff")}@font-face{font-family:ibm plex sans;font-style:italic;font-weight:500;src:url(./fonts/ibm-plex-sans-v9-latin-ext_latin-500italic.woff2)format("woff2"),url(./fonts/ibm-plex-sans-v9-latin-ext_latin-500italic.woff)format("woff")}@font-face{font-family:ibm plex sans;font-style:normal;font-weight:600;src:url(./fonts/ibm-plex-sans-v9-latin-ext_latin-600.woff2)format("woff2"),url(./fonts/ibm-plex-sans-v9-latin-ext_latin-600.woff)format("woff")}@font-face{font-family:ibm plex sans;font-style:italic;font-weight:600;src:url(./fonts/ibm-plex-sans-v9-latin-ext_latin-600italic.woff2)format("woff2"),url(./fonts/ibm-plex-sans-v9-latin-ext_latin-600italic.woff)format("woff")}@font-face{font-family:ibm plex sans;font-style:normal;font-weight:700;src:url(./fonts/ibm-plex-sans-v9-latin-ext_latin-700.woff2)format("woff2"),url(./fonts/ibm-plex-sans-v9-latin-ext_latin-700.woff)format("woff")}@font-face{font-family:ibm plex sans;font-style:italic;font-weight:700;src:url(./fonts/ibm-plex-sans-v9-latin-ext_latin-700italic.woff2)format("woff2"),url(./fonts/ibm-plex-sans-v9-latin-ext_latin-700italic.woff)format("woff")}*{box-sizing:border-box}body{color:#fff;background:#646464}#main{position:absolute;top:0;left:0}.slide{width:1920px;height:1080px;overflow:hidden}.schedule{display:none}.bottom-bar{display:none}.music-box{position:absolute;top:60px;left:60px;margin-left:30px;padding:10px 20px;width:800px;background-color:rgba(0,0,0,.6);box-shadow:2px 2px 8px 8px rgba(0,0,0,.6);font-family:ibm plex sans;font-weight:400;font-size:35px;color:#eee;text-shadow:0 0 6px #000}.music{padding-left:20px;white-space:nowrap;border-left:6px solid #309aca;border-top:6px solid #309aca;background:linear-gradient(110deg,rgba(26,115,150,.6) 0%,rgba(26,115,150,.2) 85%,rgba(26,115,150,0) 100%)}.music .line1{display:flex;justify-content:space-between}.music .line2{overflow:hidden;text-overflow:ellipsis}.music .header{font-weight:700;white-space:normal}.music .title{margin-left:20px}.music .artist{font-style:italic}.music .by{margin-left:15px;margin-right:12px;font-style:italic}.music .license{font-size:25px;color:#ccc}

View File

@ -3,14 +3,14 @@
<meta charset=utf-8> <meta charset=utf-8>
<meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"> <meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no">
<title>rC3 NOWHERE</title> <title>rC3 NOWHERE</title>
<link rel=stylesheet href=https://infobeamer.montage2.de/main.min.5eb5d61a35a33d65dda7e3d9ffb360573a0bc74558b45e0913773b348bb0fe58.css> <link rel=stylesheet href=https://infobeamer.montage2.de/main.min.46824b40ea7e6045e38c26d5edc560058cfb56cdfb2e42722fdd288b62f38250.css>
<script src=https://infobeamer.montage2.de/js/config.3dd54e14cd5782968f2fb18dc72b3074a90c0b8713e2a166f88b500d2aa19e09.js integrity="sha256-PdVOFM1XgpaPL7GNxyswdKkMC4cT4qFm+ItQDSqhngk="></script> <script src=https://infobeamer.montage2.de/js/config.fa1a162e62b8d5f3f40c8812d30b5289c5792ff26c0843426d8c109a00621389.js integrity="sha256-+hoWLmK41fP0DIgS0wtSicV5L/JsCENCbYwQmgBiE4k="></script>
</head> </head>
<body> <body>
<main id=main> <main id=main>
</main> </main>
<script src=https://infobeamer.montage2.de/js/preact/preact.min.0c204e20934f1e09cfe86fbcf1d069d842f988fc71efe3a923021c08892c71c8.js integrity="sha256-DCBOIJNPHgnP6G+88dBp2EL5iPxx7+OpIwIcCIksccg="></script> <script src=https://infobeamer.montage2.de/js/preact/preact.min.0c204e20934f1e09cfe86fbcf1d069d842f988fc71efe3a923021c08892c71c8.js integrity="sha256-DCBOIJNPHgnP6G+88dBp2EL5iPxx7+OpIwIcCIksccg="></script>
<script src=https://infobeamer.montage2.de/js/htm/htm.80e39afe20fd61183412eda89efa10532d57945e6364642aceacd50eb2384b4b.js integrity="sha256-gOOa/iD9YRg0Eu2onvoQUy1XlF5jZGQqzqzVDrI4S0s="></script> <script src=https://infobeamer.montage2.de/js/htm/htm.80e39afe20fd61183412eda89efa10532d57945e6364642aceacd50eb2384b4b.js integrity="sha256-gOOa/iD9YRg0Eu2onvoQUy1XlF5jZGQqzqzVDrI4S0s="></script>
<script src=https://infobeamer.montage2.de/main.ed70c487a33840a79f8f30be2914947b7075c79656362b0f07f1b33aacc1254a.js integrity="sha256-7XDEh6M4QKefjzC+KRSUe3B1x5ZWNisPB/GzOqzBJUo=" type=module></script> <script src=https://infobeamer.montage2.de/main.fca55c7bea00e5c58b9a3676e2419260d2a4218c69b9ee2299947c09dd6219ac.js integrity="sha256-/KVce+oA5cWLmjZ24kGSYNKkIYxpue4imZR8Cd1iGaw=" type=module></script>
</body> </body>
</html> </html>