@@ -217,6 +217,22 @@ h3 a:hover {
217217 scale : 1.05 ;
218218 box-shadow : 0 0 25px 10px # 00F8F1 ;
219219}
220+
221+ /* Ensure project cards on /projects behave like the home page thumbnails */
222+ .projects .project-card {
223+ width : 19% ;
224+ display : block;
225+ }
226+ .projects .project-card img {
227+ width : 100% ;
228+ display : block;
229+ border-radius : 10px ;
230+ transition : all 0.2s ease-in-out;
231+ }
232+ .projects .project-card : hover img {
233+ scale : 1.05 ;
234+ box-shadow : 0 0 25px 10px # 00F8F1 ;
235+ }
220236/* =============================
221237 6) Skills (Charts, Donuts, Labels, Table Layout)
222238 ============================= */
@@ -545,7 +561,7 @@ footer {
545561 ============================= */
546562: root {
547563 /* Approximate sticky nav height (padding + line-height). Tweak as needed. */
548- --nav-height : 40 px ;
564+ --nav-height : 35 px ;
549565}
550566
551567/* If the nav wraps into two lines on smaller screens, increase the offset */
@@ -563,5 +579,18 @@ html {
563579[id ] {
564580 scroll-margin-top : var (--nav-height );
565581}
582+ /* Center text/placeholder visually across the whole input group (input + toggle button)
583+ by compensating the space taken by the right-side button. */
566584
585+ .form-control .center-compensated {
586+ text-align : center; /* center the input text and placeholder */
587+ /* Add LEFT padding equal to the toggle button width so the visual center
588+ aligns with the center of the whole input group (input + button). */
589+ padding-left : var (--toggle-offset , 2.75rem );
590+ }
591+
592+ /* Ensure placeholder inherits centering in some browsers */
593+ .form-control .center-compensated ::placeholder {
594+ text-align : center;
595+ }
567596
0 commit comments