96 lines
1.5 KiB
CSS
96 lines
1.5 KiB
CSS
.card {
|
|
display: grid;
|
|
gap: var(--space-4);
|
|
min-width: 0;
|
|
padding: var(--space-4);
|
|
border: var(--line-thin) solid var(--color-divider);
|
|
border-radius: var(--radius-m);
|
|
background: var(--color-surface);
|
|
}
|
|
|
|
.header {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: var(--space-3) var(--space-5);
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.name {
|
|
overflow-wrap: anywhere;
|
|
font-size: var(--font-size-l);
|
|
font-weight: var(--font-weight-bold);
|
|
}
|
|
|
|
.level,
|
|
.sphere,
|
|
.description {
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.sphere {
|
|
max-width: 24rem;
|
|
color: var(--color-text-secondary);
|
|
}
|
|
|
|
.description {
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.contacts {
|
|
display: grid;
|
|
gap: var(--space-2);
|
|
min-width: 0;
|
|
}
|
|
|
|
.contact {
|
|
display: grid;
|
|
grid-template-columns: minmax(8rem, max-content) minmax(0, 1fr);
|
|
gap: var(--space-2) var(--space-4);
|
|
}
|
|
|
|
.contact dt {
|
|
color: var(--color-text-secondary);
|
|
}
|
|
|
|
.contact dd {
|
|
min-width: 0;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.representatives {
|
|
display: grid;
|
|
gap: var(--space-2);
|
|
}
|
|
|
|
.representatives h4 {
|
|
font-weight: var(--font-weight-bold);
|
|
}
|
|
|
|
.representatives ul {
|
|
display: grid;
|
|
gap: var(--space-2);
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.representatives li {
|
|
display: grid;
|
|
gap: var(--space-1);
|
|
}
|
|
|
|
.representatives li span + span {
|
|
color: var(--color-text-secondary);
|
|
}
|
|
|
|
@media (width < 30rem) {
|
|
.card {
|
|
padding: var(--space-3);
|
|
}
|
|
|
|
.contact {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
gap: var(--space-1);
|
|
}
|
|
}
|