[–] [S] 1 point 3 weeks ago (1 child)

That's actually a good hint on the problem that I see; if it was not just pictures, but articles, you'd want to READ (open) them. But reading them would make them disappear with the setting that Rimu kindly pointed at (“Do not display posts with which I have already interacted (opened/upvoted/downvoted)”).

  • source
  • parent
  • context
  • [–] 1 point 3 weeks ago (2 children)

    I see rimu already mentioned. I have that setting and just now hit the read button. I love to not mark animal pictures as read so that when I refresh I see them again as I scroll through.

  • source
  • [–] 2 points 3 months ago (1 child)

    Hey, I wrote that guide! I'll try to help simplify it a bit.

    tl;dr of creating a basic theme is that all your css changes live in a styles.css file inside your theme's folder.

    Here is what you actually need to do to create a theme:

    First, you will need some way to experiment with css yourself to create your theme. That can either be running a development instance where you do your work (relevant guide), or it can be something like running a browser extension that lets you define a custom css to a web page (like stylus that was mentioned in the theming guide).

    The actual process of defining what your css should be is kind of tedious. If there is an element on the web page you want to apply styling to, you can right click -> inspect on that element to see the page source for it. That can help inform you about any css classes or an id that might be present on that element to help you write your css selectors. If there is an element where a custom css class would be really helpful, you can either add it yourself if you are going the full local development route by editing the relevant jinja template, or you can ask in the PieFed matrix room for it to get added to the source by somebody else to make your life easier.

    I am not really a css expert by any means, but you can reference the css changes that other themes make by browsing the different themes and looking at their styles.css files (link to themes folder).

    Once you have a file with all the css changes you want for your theme, the next step would be to get your theme added to the source code. That is where you would reach out to rimu and pass your css to him. He would likely do a QC pass on it before adding it to the main project.

    Then, when the next version of PieFed is released and is live, your theme is now part of the project and should be select-able as a community theme! Well done!

  • source
  • [–] 1 point 7 months ago (1 child)

    I see you already got the background color of the navbar sorted. As for the text color, if you really want to change the text color for pretty much everything that isn't a link (including stuff like icons), then you could do something like this (using red as an example):

    * {  
        color: red;  
    }  
    

    However, you might want to be more selective and only change the text color in certain areas.

    • Post body and comments:
    body {  
        color: red;  
    }  
    
    • Text in the cards on the sidebar:
    .card-body {  
        color: red;  
    }  
    
    • The color of hyperlinks:
    a {  
        color: red;  
    }  
    
  • source
  • [–] 2 points 7 months ago* (last edited 7 months ago) (3 children)

    FYI: The browser's Web Developer Console is super helpful to poke at things. You right-click on an element and choose "Inspect". And a tab will open with something called Inspector or Elements. And you can then mess with the styles and change them around to see what you like. It's temporary changes, so a refresh will revert everything. Somewhere below the HTML there will also be an overview with how to access the element. Unfortunately it's not super straightforward to make sense of it without prior knowledge of CSS.

    I'd say the navbar is something like this:

    div.navbar { background-color: aqua; }  
    .nav-link { color: red; }  
    
  • source
  • [–] 3 points 10 months ago

    Looks good!

    Some things I would prefer differently and wasn't able to properly get to work by editing this code of yours:
    The space for an image should be used even if there is no image. Yeah, will waste space, but looks a lot nicer!

    Also, I'd prefer the upvote buttons and such to be underneath the left part of the text, not as the righthandmost element!

    So, here's how PieFed looks with your CSS:

    image
    .
    .
    .
    .
    And here's what I did with an image editor to show what would be the most very awesomesest look:
    (though, I am not sure if the preview text makes the most sense where I put it now.

    image

  • source
  • view more: next ›