I saw that CSS and JS are supported, but something simple like

.entry.section.subject:hover {
  background: azure;
}

and

console.log("hello");

don’t work for me and there’s no documentation, so maybe I’m doing something wrong.

  • Destragras@kbin.social
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    CSS does work - you can verify by selecting one of the “image” options and then saving. I don’t know why yours will not work.

    JavaScript doesn’t work as far as I know.

  • Pamasich@kbin.social
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    I have definitely seen magazine CSS before, so it should work. That CSS in particular works as well when I use it as a userstyle in Stylus, so there’s nothing wrong with the CSS.

    So I’m guessing the issue here is precedence. Your browser is probably preferring a different style over your magazine CSS. You should be able to check in the dev tools (f12 in chromium browsers) whether that’s the case, as your style should be listed there when selecting an element it applies to, and, if I’m correct, the background should be crossed out.