Обновить static/css/custom.css

This commit is contained in:
masterpmi 2026-07-27 11:58:33 +03:00
parent 8279db36dd
commit 44de30433f

View File

@ -501,57 +501,49 @@ body.dark-mode a {
} }
.employee-header { .employee-header {
display: flex; display: grid;
align-items: flex-start; grid-template-columns: 180px minmax(0, 1fr);
gap: 22px; gap: 24px;
max-width: 660px; align-items: start;
margin: 0.6rem 0 1.8rem; max-width: 720px;
padding: 0 0 14px; margin: 0.8rem 0 2.2rem;
border-bottom: 1px solid rgba(0, 60, 120, 0.32);
} }
.employee-photo { .employee-photo {
display: block; display: block;
float: none !important; float: none !important;
width: 175px; width: 180px;
height: 132px; height: 135px;
object-fit: cover; object-fit: cover;
border-radius: 4px; border-radius: 3px;
box-shadow: 0 2px 7px rgba(0, 0, 0, 0.18); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
} }
.employee-info { .employee-info {
flex: 1;
min-width: 0; min-width: 0;
padding: 10px 14px; padding-top: 3px;
background: rgba(255, 255, 255, 0.35);
border-left: 3px solid rgba(0, 60, 120, 0.55);
} }
.employee-degree { .employee-degree {
margin: 0 0 14px; margin: 0 0 17px;
color: #1d1d1d;
font-size: 1.05rem;
font-weight: 700; font-weight: 700;
line-height: 1.4; line-height: 1.4;
} }
.employee-details {
margin: 0;
}
.employee-details p { .employee-details p {
margin: 7px 0; margin: 8px 0;
line-height: 1.4; line-height: 1.45;
} }
@media (max-width: 600px) { @media (max-width: 600px) {
.employee-header { .employee-header {
flex-direction: column; grid-template-columns: 1fr;
gap: 14px; gap: 15px;
}
.employee-photo {
width: 180px;
height: 135px;
}
.employee-info {
width: 100%;
box-sizing: border-box;
} }
} }