Шаблон:JobPageHeader/styles.css: различия между версиями
Aylong (обсуждение | вклад) мНет описания правки |
Aylong (обсуждение | вклад) мНет описания правки |
||
Строка 40: | Строка 40: | ||
.jobpageheader-info { | .jobpageheader-info { | ||
flex: 1; | |||
overflow: hidden; | |||
line-clamp: 5; | |||
height: 6.5em; /* ~5lh */ | |||
transition-duration: var(--transition-time); | |||
transition-property: height; | |||
} | |||
.jobpageheader-info:hover { | |||
height: auto; | |||
line-clamp: none; | |||
} | } |
Версия от 09:40, 8 мая 2025
.jobpageheader {
overflow: hidden;
display: flex;
flex-direction: column;
gap: 0.25rem;
padding: 0.25rem;
margin: 0.5rem 0;
background-color: var(--jobheader-transparent);
border: var(--border-classic);
border-color: var(--jobheader-secondary);
border-radius: var(--border-radius-medium);
box-shadow: 0 0 0.5rem -0.1rem var(--jobheader-secondary);
}
.jobpageheader-title {
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
height: 1.75rem;
line-height: 1.3em;
padding: 0 0.5rem;
background-color: var(--jobheader-primary);
color: var(--color-white);
border-radius: var(--border-radius-small);
}
.jobpageheader-content {
display: flex;
align-items: center;
gap: 0.25rem;
line-height: 1.3em;
}
.jobpageheader-preview {
display: flex;
flex-direction: column;
align-items: center;
}
.jobpageheader-info {
flex: 1;
overflow: hidden;
line-clamp: 5;
height: 6.5em; /* ~5lh */
transition-duration: var(--transition-time);
transition-property: height;
}
.jobpageheader-info:hover {
height: auto;
line-clamp: none;
}