jana: [Naruto] Sakura (Default)
Jana ([personal profile] jana) wrote in [community profile] style_system2010-08-10 08:50 pm
Entry tags:

[Partly SOLVED] Feeds on reading page

I tried to add a vertical space between the two syndication links at the top of each feed entry and the actual feed content. The problem, however, is that the same css class -- .ljsyndicationlink -- is applied to both syndication links. This makes it somewhat difficult to style one syndication link without affecting the other. Then I thought I could work around the problem by adding margin-top to the actual feed content, but this isn't possible either since no separate css class is applied to the feed content; it consist basically of many p-components. This means .journal-type-Y p:first-child{} doesn't work either since the syndication links and the syndication author are a subset of p. My "solution" to the problem was to remove the syndication links altogether, and to add margin-bottom to .syndicationauthor. But the syndication links can be quite useful sometimes... So, the big question is: have I missed something here? As usual, any help is greatly appreciated :)

P.S: A p-tag doesn't seem to be properly closed in all hathorlegacy feed entries. Not sure if this is a problem on our end or if it can be traced back to the feed source. This isn't a big deal for me, I've only noticed it while trying to figure out the problem above.
ninetydegrees: Art & Text: heart with aroace colors, "you are loved" (Default)

[personal profile] ninetydegrees 2010-08-10 07:02 pm (UTC)(link)
Hmm. This worked for me:

.ljsyndicationlink + p {
margin-top: 2em;
}

Edit: argh! No good since it also applies to the content p. *thinks some more*

Ah! This seems to work better:

.syndicationauthor + p + p {
margin-top: 5em;
}
Edited 2010-08-10 19:07 (UTC)
ninetydegrees: Art & Text: heart with aroace colors, "you are loved" (Default)

[personal profile] ninetydegrees 2010-08-10 09:16 pm (UTC)(link)
Yep and not all feeds have two syndication links either...
foxfirefey: A wee rat holds a paw to its mouth. Oh, the shock! (myword)

[personal profile] foxfirefey 2010-08-10 08:10 pm (UTC)(link)
Oh...oh man oh man. I feel like stripping the lj from .ljsyndication link and I could even add a .toplink and .bottomlink to the classes while I was at it. ::puppy eyes::
ninetydegrees: Art: girl in a superhero costume holding a pencil (superheroine)

[personal profile] ninetydegrees 2010-08-10 09:13 pm (UTC)(link)
XD Except they're both top links... But http://bugs.dwscoalition.org/show_bug.cgi?id=2903 is waiting for you, I think. :P