<html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <style> body { font-family: sans; } .entry { display: inline-block; padding: 20px; min-width: 50%; } .entry_list div:nth-child(odd) { background-color: #ddd; } </style> <title>/home/user/stuff</title> </head> <body> <div class="entry_list"> <div> <a class="entry" href="https://example.com">../</a> </div> <div> <a class="entry" href="some_dir/">some_dir/</a> </div> <div> <a class="entry" href="alice">alice</a> </div> <div> <a class="entry" href="alice">alice</a> </div> </div> </body> </html>