From 874991a0e809be5cd02d5a466b5175e4a80d9af4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=99=E2=97=A6=20The=20Tablet=20=E2=9D=80=20GamerGirla?= =?UTF-8?q?ndCo=20=E2=97=A6=E2=9D=A7?= Date: Wed, 10 Jan 2024 14:21:21 -0500 Subject: [PATCH] add pageembed css --- plugins/pageembed/css/empa30.css | 24 ++++++++++++++++++++++++ scripts/fetchLatest.js | 3 ++- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 plugins/pageembed/css/empa30.css diff --git a/plugins/pageembed/css/empa30.css b/plugins/pageembed/css/empa30.css new file mode 100644 index 0000000..cbf125e --- /dev/null +++ b/plugins/pageembed/css/empa30.css @@ -0,0 +1,24 @@ +/*! + * Tiny Page Embed plugin + * + * Copyright (c) 2023 Ephox Corporation DBA Tiny Technologies, Inc. + * Licensed under the Tiny commercial license. See https://www.tiny.cloud/legal/ + * + * Version: 2.3.0-72 + */ + +.tiny-pageembed.tiny-pageembed--21by9 { + padding-top: 42.857143%; +} + +.tiny-pageembed.tiny-pageembed--16by9 { + padding-top: 56.25%; +} + +.tiny-pageembed.tiny-pageembed--4by3 { + padding-top: 75%; +} + +.tiny-pageembed.tiny-pageembed--1by1 { + padding-top: 100%; +} \ No newline at end of file diff --git a/scripts/fetchLatest.js b/scripts/fetchLatest.js index 17fa358..f2dcf45 100644 --- a/scripts/fetchLatest.js +++ b/scripts/fetchLatest.js @@ -28,7 +28,8 @@ async function main() { await fetchAux("/models/dom/model.min.js"); await fetchAux("/icons/default/icons.min.js"); await fetchAux("/plugins/powerpaste/js/wordimport.js"); - await fetchAux("/plugins/a11ychecker/css/annotations.css") + await fetchAux("/plugins/a11ychecker/css/annotations.css"); + await fetchAux("/plugins/pageembed/css/empa30.css"); for(let t of skins) { await fetchAux(`/skins/content/${t}/content.min.css`) }