diff --git a/plugin.js b/plugin.js index 371a170..76269d1 100644 --- a/plugin.js +++ b/plugin.js @@ -42,14 +42,17 @@ } } - // Plugin templates/styles (pattern from Shikimori plugin): - // own namespaced classes so they do NOT collide with Lampa native .card__img - // (native card__img is hidden until its own lazy-load runs, so our must use a custom class). + // Plugin templates/styles. + // NOTE: Lampa.Template.add() only stores the string in memory — it does NOT + // inject '); + '.mymovies-empty{padding:2em;opacity:.6;font-size:1.2em}'; + $('