Open nuke-web3 opened 1 year ago
This is such an arbitrary requirement.
Stylized CSS elements is a huge part of any web design.
I don't understand what you are trying to gain by limiting the ability to customize elements.
I get that it is constricting the true unlimited pallet we have to use CSS that indeed you are adept in, more than most content creators for the PBA :magic_wand: But we are not making a website.
We are making a set of documentation for learning from, perhaps also expanding into some MVP for a custom LMS like Canvas you may have used before. The web analog perhaps best is MySpace vs Facebook: we lean into an intentionally restricted set of styles and abilities for the content creator (like Facebook) for many reasons, here are a few key ones:
copy & paste
in our instructor facing slides to learn from and use as templates.In providing my perspective, I believe that incorporating a global outlook into the slides is appropriate as it maintains uniformity. Simultaneously, it is essential not to restrict the presenter's ability to customize the lecture slides according to their preferences, as long as it aligns with the overall guidelines.
While I don't advocate for extreme deviations from the original approach, it is crucial to acknowledge that exceptions can exist. I respectfully disagree with some of the points raised, and I shall elucidate my reasons:
Regarding the statement, "But we are not making a website.... The web analog perhaps best is MySpace vs Facebook"
: Our endeavor involves creating a website with multiple authors in a structured manner, which is why we utilize web tools.
Concerning the assertion, "These are not your slides, but an integral part of a large whole that must be maintained by others long term"
: The slides belong to the lecturer and are considered their intellectual property. It is their prerogative to share them with the PBA; I believe they should possess the capability to make reasonable adjustments without straying too far from the designated format. In subsequent PBA iterations, other presenters can adapt the content and style accordingly.
In conclusion, it is beneficial for presenters to infuse their ideas into the slides, both in terms of content and style. Such individual contributions may even evolve into established conventions over time. Therefore, we should strike a balance by offering limited customizability while providing helpful tools to facilitate usage, such as mermaid, d3 charts, and tailwind, for instance.
End of the day, there are a bunch of styles applied across the slides, which really dont make sense in a lot of contexts.
I mean, the CSS that brought up this thread was to fix an already opinionated way of having bullet points.
Let's compare the look of the two.
Before:
After:
Look at how stupid the padding / margin looks on these bullets in the context of this slide. Would you ever NOT customize the styling here?
Please look at the custom CSS file:
Is there really anything in there which is rocket science? If we have anyone in the academy (student or lecturer) who cannot figure out these styles, they should probably not be here.
Also note that all of these styles are written to be reusable OR specific to a niche diagram / slide.
Installing tailwind does give access to some more tools, but does NOT act as a solution for styling, nor is it really any more efficient or easy to understand.
Whatever your mental model is of the bad-ness of custom CSS needs to be adjusted, and you should rely on people's judgement who have much more experience using these tools.
Concerning tailwindcss, i would agree and add, that the only thing, that I can say it adds as value, is adding simple customization inside the md/html (className), instead of creating a
@wirednkod wdyt about this globally? I think someone wanted the opposite earlier... @BradleyOlson64 IIRC
_Originally posted by @NukeManDan in https://github.com/Polkadot-Blockchain-Academy/pba-content/pull/772#discussion_r1274287645_