Salta al contenuto

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

PieFed CSS

5 Discussioni 5 Post View Original

<p>Share CSS snippets that make your PieFed experience a wee bit different.</p>
<p>In your settings at <a href="https://your-instance.com/user/settings" rel="nofollow ugc" target="">https://your-instance.com/user/settings</a> there is a field ‘Additional CSS’ where you can put snippets of CSS code. </p>

  • Hide image and video posts from home page

    1
    0 Votazioni
    1 Post
    4 Visualizzazioni
    rimu@piefed.social
    .home .type_3, .home .type_4 { display: none; } If you go into a community there won't be a 'home' css class so you'll see image and video posts in there. To hide all image and video posts everywhere: .type_3, .type_4 { display: none; }
  • Hide copy-to-clipboard icons on code blocks

    1
    0 Votazioni
    1 Post
    4 Visualizzazioni
    rimu@piefed.social
    code button { display: none; }
  • Hide red triangle warnings on accounts with bad reputation

    1
    0 Votazioni
    1 Post
    4 Visualizzazioni
    rimu@piefed.social
    .fe-warning { display: none; }
  • my_post and my_comment classes on content you've authored

    1
    0 Votazioni
    1 Post
    7 Visualizzazioni
    rimu@piefed.social
    You can use my_post and my_comment classes to target CSS at your content. For example, here is how to hide the vote score on your own content: .my_post .score { display: none; } .my_comment .score { display: none; }
  • Hide animated gif avatars

    1
    0 Votazioni
    1 Post
    7 Visualizzazioni
    rimu@piefed.social
    Soon people will be able to upload an animated gif for their profile picture. This could get annoying so I put a special css class on all profiles with an animated gif: .render_username a .gif { display: none!important; }