From 8279db36ddd887e94c2edf343c6c3d1c9aa03420 Mon Sep 17 00:00:00 2001 From: masterpmi Date: Mon, 27 Jul 2026 11:56:42 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20static/css/custom.css?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/css/custom.css | 53 +++++++++++++++++-------------------------- 1 file changed, 21 insertions(+), 32 deletions(-) diff --git a/static/css/custom.css b/static/css/custom.css index 2a6aeec..8e3d306 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -503,66 +503,55 @@ body.dark-mode a { .employee-header { display: flex; align-items: flex-start; - gap: 24px; - max-width: 800px; - margin: 1.25rem 0 2.5rem; - padding: 0 0 20px; - border-bottom: 1px solid rgba(0, 60, 120, 0.35); + gap: 22px; + max-width: 660px; + margin: 0.6rem 0 1.8rem; + padding: 0 0 14px; + border-bottom: 1px solid rgba(0, 60, 120, 0.32); } .employee-photo { display: block; float: none !important; - width: 200px; - height: 150px; + width: 175px; + height: 132px; object-fit: cover; border-radius: 4px; - box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18); + box-shadow: 0 2px 7px rgba(0, 0, 0, 0.18); } .employee-info { flex: 1; min-width: 0; + padding: 10px 14px; + background: rgba(255, 255, 255, 0.35); + border-left: 3px solid rgba(0, 60, 120, 0.55); } .employee-degree { - margin: 4px 0 18px; - font-size: 1.05rem; + margin: 0 0 14px; font-weight: 700; - line-height: 1.45; -} - -.employee-details { - margin: 0; -} - -.employee-details > div { - display: flex; - gap: 7px; - margin: 10px 0; line-height: 1.4; } -.employee-details dt { - font-weight: 700; -} - -.employee-details dt::after { - content: ":"; -} - -.employee-details dd { - margin: 0; +.employee-details p { + margin: 7px 0; + line-height: 1.4; } @media (max-width: 600px) { .employee-header { flex-direction: column; - gap: 16px; + gap: 14px; } .employee-photo { width: 180px; height: 135px; } + + .employee-info { + width: 100%; + box-sizing: border-box; + } } \ No newline at end of file