diff --git a/assets/css/custom.css b/assets/css/custom.css index c215b33..95c5bd1 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -351,8 +351,8 @@ footer.bg-light { /* Category Filter Button Styles */ #category-filters .btn { border-radius: 20px; /* Rounded corners */ - padding: 8px 20px; - font-size: 0.9rem; + padding: 6px 12px; + font-size: 0.8rem; font-weight: 600; line-height: 1.5; border: 1px solid rgba(255, 255, 255, 0.2); @@ -501,4 +501,30 @@ footer.bg-light { flex-wrap: wrap; gap: 0.5rem; } +} + +/* Search Input with Icon */ +.search-container { + position: relative; +} + +@media (min-width: 769px) { + .btn-primary, + #print-shopping-list-btn { + padding-top: 8px; + padding-bottom: 8px; + } +} + +.search-container .bi-search { + position: absolute; + top: 50%; + left: 1rem; + transform: translateY(-50%); + z-index: 2; + color: rgba(255, 255, 255, 0.5); +} + +#recipe-search { + padding-left: 2.5rem; } \ No newline at end of file diff --git a/index.php b/index.php index a612c59..166f80f 100644 --- a/index.php +++ b/index.php @@ -56,7 +56,8 @@ Add Recipe -