marahmarie: Sheep go to heaven, goats go to hell (Default)
MM Writes ([personal profile] marahmarie) wrote in [site community profile] dw_suggestions2012-09-25 11:53 pm

Add a body class to http://exampleuser.dreamwidth.org/tag/each-tag

Title:
Add a body class to http://exampleuser.dreamwidth.org/tag/each-tag

Area:
Styles

Summary:
Currently the post view that shows your entries organized by tag (for example: http://marahmarie.dreamwidth.org/tag/book+reviews) has the same body class as the front page of our journals, that is, it uses the .page-recent body class. I'd like to suggest that we add a body class specifically for the entries-organized-by-tag view, so that it gets the new body class .page-tag (not to be confused with .page-tags, which is currently in use on the Visible Tags page, the one that simply lists all your tags on one page).

Description:
As a casual (but slightly obsessed) DW CSS designer, I'm often confounded by not being able to style every page view on DW individually. Because we have a sorting feature on our DWs that lets users browse full posts by each tag used on them, I want to style those pages to work as well and look as good as all the other pages on our DWs do. But the front pages of our journals and the tag views of our posts? They share the same HTML body class (.page-recent), which means tag views can be sort of weird-looking because they inherit .page-recent's styling, which often does not work on the tags view of our posts for an assortment of reasons. Which makes me think: why not just add a new, separate body class so we can style those pages, too? I humbly suggest we add the body class .page-tag to all views on our DWs that sort posts by the tags used on them (for example: http://marahmarie.dreamwidth.org/tag/book+reviews would get the new .page-tag body class, as would all other similar page views on our DWs).

Poll #11750 Add a body class to http://exampleuser.dreamwidth.org/tag/each-tag
Open to: Registered Users, detailed results viewable to: All, participants: 39


This suggestion:

View Answers

Should be implemented as-is.
6 (15.4%)

Should be implemented with changes. (please comment)
12 (30.8%)

Shouldn't be implemented.
3 (7.7%)

(I have no opinion)
17 (43.6%)

(Other: please comment)
1 (2.6%)

ninetydegrees: Drawing: a girl's face, with a yellow and green stripe over one eye (Default)

[personal profile] ninetydegrees 2012-09-28 11:26 am (UTC)(link)
+1 for separating tagged-entry pages from recent pages the way the reading page inherits from the recent page but can be set apart.

-1 for naming the body class .page-tag as this would be very confusing imo. (The tags page has /tag in its URL and an -s is so easy to add/remove). Something more explicit like .page-entries-tag might work better.

[personal profile] swaldman 2012-09-28 12:34 pm (UTC)(link)
Wot she said ;-)
kyrielle: A photo of kyrielle, in profile, turned slightly toward the viewer (Default)

[personal profile] kyrielle 2012-09-28 01:39 pm (UTC)(link)
Ooo, changing to this. :)
turlough: small purple crocuses, March 2016 (Default)

[personal profile] turlough 2012-09-28 03:01 pm (UTC)(link)
+1
susanreads: my avatar, a white woman with brown hair and glasses (Default)

[personal profile] susanreads 2012-09-28 03:51 pm (UTC)(link)
+1
kerravonsen: (Default)

[personal profile] kerravonsen 2012-09-28 11:50 pm (UTC)(link)
+1

[personal profile] tamouse 2012-09-30 07:53 am (UTC)(link)
+1 on this
stasha2g: Torchwood quote: "I know everything! Plus it says so at the bottom of the screen." (I know everything)

[personal profile] stasha2g 2012-09-30 03:41 pm (UTC)(link)
+1
matgb: Artwork of 19th century upper class anarchist, text: MatGB (Default)

[personal profile] matgb 2012-09-28 03:07 pm (UTC)(link)
My change: where possible have it something like .tag-ACTUAL-TAG

In other words put the tag itself into the class, so you can if you wish style each separate tag (one of the blogs I read does this for its electoral law section, that has a much more "professional" look than the main site.

I'd say if possible any punctuation within the tag name should be replaced by a hyphen.
cesy: "Cesy" - An old-fashioned quill and ink (Default)

[personal profile] cesy 2012-09-29 05:24 pm (UTC)(link)
I'd like to give it both classes, so that CSS designers can do what they like - either one consistent one, or specific ones.
matgb: Artwork of 19th century upper class anarchist, text: MatGB (Default)

[personal profile] matgb 2012-09-30 03:03 am (UTC)(link)
You already get classes added for the poster name and similar, it shouldn't be extra strain to simply get the S2 layer to give more info.