diff --git a/static/css/products.css b/static/css/products.css index 4aeb158..b15b85f 100644 --- a/static/css/products.css +++ b/static/css/products.css @@ -1,5 +1,28 @@ /* Product Information*/ +.product-link:after { + content: ''; + position: absolute; + bottom: 0; + left: 15%; + width: 0%; + border-bottom: 2px solid var(--fg); + transition: 0.4s; +} + +.product-link:hover:after { + width: 70%; + color: var(--hover); +} + +.product-link:hover { + color: var(--hover); +} + +.product-link:active { + color: var(--header); +} + .product-container { width: 95%; background-color: var(--bg-grad-3); diff --git a/templates/content.html b/templates/content.html index 7032fe8..1b98811 100644 --- a/templates/content.html +++ b/templates/content.html @@ -3,7 +3,7 @@
{% if products != None %} {% for product in products %} -
+
{{product.name}}
@@ -15,7 +15,7 @@
-
+ {% endfor %} {% endif %}