[personal profile] jana posting in [community profile] style_system
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.

Date: 2010-08-10 07:02 pm (UTC)
ninetydegrees: Art & Text: heart with aroace colors, "you are loved" (Default)
From: [personal profile] ninetydegrees
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 Date: 2010-08-10 07:07 pm (UTC)

Date: 2010-08-10 09:16 pm (UTC)
ninetydegrees: Art & Text: heart with aroace colors, "you are loved" (Default)
From: [personal profile] ninetydegrees
Yep and not all feeds have two syndication links either...

Date: 2010-08-10 08:10 pm (UTC)
foxfirefey: A wee rat holds a paw to its mouth. Oh, the shock! (myword)
From: [personal profile] foxfirefey
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::

Date: 2010-08-10 09:13 pm (UTC)
ninetydegrees: Art: girl in a superhero costume holding a pencil (superheroine)
From: [personal profile] ninetydegrees
XD Except they're both top links... But http://bugs.dwscoalition.org/show_bug.cgi?id=2903 is waiting for you, I think. :P

Profile

Dreamwidth style system discussion

April 2025

S M T W T F S
  12345
6 78910 1112
13 141516171819
2021 2223242526
27282930   

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 6th, 2025 08:02 am
Powered by Dreamwidth Studios