r/ProCSS • • May 04 '17

Discussion Things Reddit could have done instead of removing CSS

  • Allowing the widgets to coexist with CSS and maybe promoting popular themes (e.g. /r/Naut) in the default options (or creating a workshop for user-made themes that is curated by reddit).

  • Creating a guide for doing mobile-friendly and bloat-free CSS and discouraging subreddits whose CSS does not abide by the guidelines à la Google when they promoted non-responsive websites less in their search results. Reddit could also get people who know CSS well to update old subreddits with inactive mods before doing this

  • Announcing website changes ahead of time with what CSS/elements are affected

  • Reworking the DOM to be more user-friendly and less confusing

377 Upvotes

25 comments sorted by

View all comments

Show parent comment

1

u/Erasio May 04 '17

Alright. Let's say admins only guarantee functionality if basic elements and just say it's your problem if you modify anything else (which would mean lots of overhead work for mods who want to modify additional stuff and basically the same as announced for everyone who doesn't want a frequently broken style and hotfix work)

It still means that customization for mobile needs to be done a second time by the admins and mods or the admins have to implement a css parser into the app basically reimplementing a browser.

1

u/WhoCaresAboutThat May 04 '17

The mobile app is probably just a stopgap solution since the new modmail has responsive design. The new mobile app would probably be a wrapper around web reddit with some additions like Discord's app on desktop (which is an electron wrapper).

On the topic of classes: I didn't mean that elements wouldn't have unique classes, but that most default styling would be made through more general selectors.

1

u/Erasio May 04 '17

The current app isn't and going to a web wrapper would mean to sacrifice most of the data usage and loading time reduction reduction this brings.

And my point being. Doing custom css is the way you suggest (or any way of truly custom css) would be incredibly painful and work heavy. Either for mods or for admins.

1

u/[deleted] May 04 '17

OP's point is that it wouldn't be painful for either if:

  • Reddit had reasonable DOM structuring.
  • Reddit announced changes to said reasonable DOM structuring.
  • Reddit kept changes to DOM structuring minimal where possible.
  • There was a basic set of DOM elements and styles (read: colors and backgrounds) that could be shared between the app and website.
  • There was publicly available CSS documentation.

Those things are entirely possible and would make everybody's lives easier, as well as support custom CSS.

A lot of that will have to be done for their proposed changes anyway. It's not that far-fetched, and could at least be attempted.

1

u/Erasio May 04 '17

Which is still at the cost of moving slowly (and expensively) or break stuff frequently.