Rounded icons

Jul. 23rd, 2013 04:10 pm
tropicsbear: Tadashi carrying Ainosuke bridal style (Default)
[personal profile] tropicsbear posting in [community profile] style_system
The layout I'm currently using originally had the user icons for entries set not to display. I removed the display: none in the CSS, now my problem is that the user icons in entries don't match how they're displayed in the comments (rounded, gray border). Also, I'd like to move them up a bit too.

This is the code I'm using:



Thanks in advance for any help!

Date: 2013-07-23 04:36 pm (UTC)
foxfirefey: A guy looking ridiculous by doing a fashionable posing with a mouse, slinging the cord over his shoulders. (geek)
From: [personal profile] foxfirefey
Do you want all icons displayed like they are in the entries, or like they are in the comments?

Date: 2013-07-23 05:14 pm (UTC)
poulpette: cropped picture of an illustrated octopus (Default)
From: [personal profile] poulpette
This should do the trick (copied verbatim from the stylesheet's div.module-content div.userpic img rule):

   .entry div.userpic img {
        background: #d4cae2;
        border: none;
        border-radius: 100px;
        padding: 10px;
        margin-top: -50px; /*raises the userpics up by N pixels*/
    }


if you want to raise all the userpics you can remove '.entry'.
Edited (More info, html-fix) Date: 2013-07-23 05:24 pm (UTC)

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. 8th, 2025 05:10 am
Powered by Dreamwidth Studios