[personal profile] jana posting in [community profile] style_system
[1] The first question is related to this entry and this comment. The CSS (see cut) worked fine just a few weeks ago, but now the CSS doesn't take out the space between the tag and the comma anymore, so the tags run occasionally onto the next line which looks kinda ugly. What happened? I use the same browser(s), so I can only assume something in DW's style system has changed...? [The 'plot' thickens here]


.module-tags_cloud .module-list-item:after{content: ", "; }
.module-tags_cloud .module-list-item:last-child:after{content: " "; }

[2] Is it possible to add via the theme layer a comment count to the "Active Entries" module (like in the "Page summary" module)? [Possible, but someone needs to code it first :) ]

[3] Is there a way (via CSS or theme layer) to set some kind of "default icon" for entries without userpic on your reading/network page? Feeds don't have an user icon (which they should, IMO) and sometimes people post entries without an icon. [SOLVED here]

[4] Is it somehow possible to change the month order (latest calendar month first) on a journal's/community's archive page? [SOLVED with a workaround. A bug is being filed about this.]

That's all (for know) :) Thanks in advance for any help or advice!

Date: 2010-08-02 03:42 pm (UTC)
matgb: Artwork of 19th century upper class anarchist, text: MatGB (Default)
From: [personal profile] matgb
1) the code has changed, yes, they were SPAN tags, they're now LI tags within a UL, not sure why you're getting the space though.

3) Yes, I agree, and was going to submit this as a suggestion but your question has told me there is a workaround. For feeds only:

.journal-type-Y .userpic { background: url(http://s.dreamwidth.org/img/feed100x100.png) no-repeat;
width:100px;
height:100px;
background-color:#000; }

NB, I've set that to display with a black background, feel free to change or delete the last line.

If instead you want a default pic for all posts that have no userpic, including DW users that don't use them, replace .journal-type-y with .no-userpic and give the URL of your own selected picture.

2) Theoretically, yes, and I think I'd like that, so I'll go havk in a bit, time for breakfast first (it's only 1641, that's far too early to get up)

4) no idea, but probably.

Date: 2010-08-02 05:42 pm (UTC)
matgb: Artwork of 19th century upper class anarchist, text: MatGB (Default)
From: [personal profile] matgb
Re 2), not actually sure my coding skills are up to it (yet), having looked at the source, I think it's doable, but I need more practise at simpler stuff first I think.

3) yes, that'd work as well.

Date: 2010-08-02 08:17 pm (UTC)
matgb: Artwork of 19th century upper class anarchist, text: MatGB (Default)
From: [personal profile] matgb
Ah, yeah, but that's nested. .invisible is a new trick for accessiblity, was documented in DW_Styles I think, basically anything with that is moved to display so far off screen it's not visible, so that screenreaders can see how many comments there are but the rest of us get them as a tooltip and through relative size of tag.

Which is why they're not on a list, because the list displays the number, and isn't predicated on a visual effect, which obviously someone blind can't see.

Ooh, actually, yes, that could be the problem, there's a space there that doesn't display. Hence it might be a bug or an unthought of effect, I'll have a look later, I suspect if you started the span with a space, it'd work fine.

Profile

Dreamwidth style system discussion

June 2025

S M T W T F S
12345 67
891011121314
15161718192021
22232425262728
2930     

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 6th, 2025 09:36 pm
Powered by Dreamwidth Studios