From faceaf87ebe4fe9306a2dcaa8453d6b4852f8d08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Mart=C3=ADnez=20Portela?= Date: Sat, 8 Jan 2022 00:54:11 +0100 Subject: [PATCH] Separate sections in cards. --- static/homepage.html | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/static/homepage.html b/static/homepage.html index 192167e..88fea64 100644 --- a/static/homepage.html +++ b/static/homepage.html @@ -13,11 +13,18 @@ text-align: left; padding: 0 1ex; } - .links section { - margin-top: 3em; + margin-top: 1em; + display: inline-block; + box-shadow: 0 2px 4px 0 rgba(0,0,0,0.3); + padding: 1ex; + border-radius: 4px; + width: 100%; + max-width: calc(100vw - 4ex); + } + .links section h2 { + margin-top: 0; } - h2 a { color: black; }