the-mvm / the-mvm.github.io

The Minimum Viable Model website and Jekyll theme.
https://the-mvm.github.io
GNU General Public License v3.0
86 stars 398 forks source link

How to remove shaded box from the home page post-cards? #25

Closed roaldarbol closed 2 years ago

roaldarbol commented 2 years ago

Thanks for an awesome update to the Adam theme! I'm currently playing around with it trying to transition from the 1.0, so hopefully I can help with some pull requests along the way. Full disclosure, I don't work much with CSS and html, so I'm learning as I go.

My current problem is that I actually quite liked the simplicity of the post cards in Adam 1.0 and would like to get back to that. Specifically, I'm trying to remove the shaded box around the post cards, but I'm having some trouble locating where to do that. Hope you can help!

Cheers!

roaldarbol commented 2 years ago

...or maybe even just edit it. E.g. getting rounded corners or increasing space around the text. :-)

intergalacticmammoth commented 2 years ago

Hey, in case you didn't figure it out by now, all the CSS related to the post cards is here: https://github.com/the-mvm/the-mvm.github.io/blob/b67602cb28b96d37de9e31f4f64f483ddbfbd50f/assets/css/main.css#L817

So if you play around with the values there you'll probably find what you want to change.

The related code in Adam V1 theme is here: https://github.com/artemsheludko/adam-blog/blob/master/assets/css/sass/parts/_post-card.scss

In Adam V1 it is SCSS code though, so you have to convert it to CSS to be comparable (use an online converter).

I hope this helps!