From 10946cd926e972c8e043b623553d4883bbc575cc Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Sat, 15 Jun 2024 10:56:15 +0500 Subject: [PATCH] add comments to css --- assets/css/custom.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/assets/css/custom.css b/assets/css/custom.css index a23ac64..65b988b 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -1,9 +1,11 @@ +/* styling picture captions */ figcaption.wp-element-caption { width: fit-content; margin: 0; padding: 8px 12px; } +/* style header nav */ .main-header-nav .wp-block-navigation-item { justify-content: center; border: 1px solid; @@ -27,6 +29,7 @@ ul.wp-block-navigation.mobile-header-nav li { margin-block: .5em; } +/* style footer on mobile */ @media (min-width: 1080px) { .wp-block-column.footer-gradient-column { padding-left: 2rem !important; @@ -41,10 +44,12 @@ ul.wp-block-navigation.mobile-header-nav li { } } +/* utulity class for overlapping items */ .overlap { z-index: 21; } +/* style blog posts */ .home-post-item { height: 100% }