diff --git a/static/css/custom.css b/static/css/custom.css index e2f98ca..bb067f6 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -504,7 +504,7 @@ body.dark-mode a { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; - align-items: center; + align-items: start; max-width: 720px; margin: 0.8rem 0 2.2rem; } @@ -515,18 +515,18 @@ body.dark-mode a { width: 180px; height: 135px; object-fit: cover; + margin: 0 !important; border-radius: 3px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18); - margin-top: 0; } .employee-info { min-width: 0; - padding-top: 0; + padding: 0; } .employee-degree { - margin: 0 0 17px; + margin: 0 0 14px; color: #1d1d1d; font-size: 1.05rem; font-weight: 700; @@ -538,13 +538,6 @@ body.dark-mode a { } .employee-details p { - margin: 8px 0; - line-height: 1.45; -} - -@media (max-width: 600px) { - .employee-header { - grid-template-columns: 1fr; - gap: 15px; - } + margin: 6px 0; + line-height: 1.4; } \ No newline at end of file