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

This commit is contained in:
masterpmi 2026-07-27 11:56:42 +03:00
parent 876210d8b8
commit 8279db36dd

View File

@ -503,66 +503,55 @@ body.dark-mode a {
.employee-header { .employee-header {
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
gap: 24px; gap: 22px;
max-width: 800px; max-width: 660px;
margin: 1.25rem 0 2.5rem; margin: 0.6rem 0 1.8rem;
padding: 0 0 20px; padding: 0 0 14px;
border-bottom: 1px solid rgba(0, 60, 120, 0.35); 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: 200px; width: 175px;
height: 150px; height: 132px;
object-fit: cover; object-fit: cover;
border-radius: 4px; 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 { .employee-info {
flex: 1; flex: 1;
min-width: 0; 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 { .employee-degree {
margin: 4px 0 18px; margin: 0 0 14px;
font-size: 1.05rem;
font-weight: 700; 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; line-height: 1.4;
} }
.employee-details dt { .employee-details p {
font-weight: 700; margin: 7px 0;
} line-height: 1.4;
.employee-details dt::after {
content: ":";
}
.employee-details dd {
margin: 0;
} }
@media (max-width: 600px) { @media (max-width: 600px) {
.employee-header { .employee-header {
flex-direction: column; flex-direction: column;
gap: 16px; gap: 14px;
} }
.employee-photo { .employee-photo {
width: 180px; width: 180px;
height: 135px; height: 135px;
} }
.employee-info {
width: 100%;
box-sizing: border-box;
}
} }