How can it be applied and layout with css and obsidian?

Hello, I have a doubt, I don’t know if it’s basic, but I’ve tried many ways but it doesn’t work for me the way I want it to work.

How can I generate custom lists that within each link goes to another .md in my vault?

I already configured my .css within snippets, I can generate any style of my own by writing html directly and combining it with classes, but when I use markcdown and I want to layout using flex, I cannot do it. Also, do I know if there is any documentation on this topic since I have searched and not found any more What responses from the forum.

Thanks in advance

What I’m trying to do

Things I have tried