rdrew 3 hours ago
parent
commit
7454401dca
  1. 81
      css/components/unsorted.css

81
css/components/unsorted.css

@ -1,49 +1,42 @@
.leaflet-popup-content { .path-frontpage .field--name-body .kln-logo-grid--five-columns {
& .node--view-mode-teaser .field { display: grid;
margin-block-end: 0; grid-template-columns: repeat(5, 145px);
} gap: 0;
& .node__title { margin: 2rem 0 5rem;
font-size: 1.4rem; background: #fff;
} box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
& article { width: fit-content;
margin-bottom: 0;
}
& .node__content {
padding-bottom: 0;
font-size: 0.9rem;
& .field__label,
.field__items {
font-size: 0.9rem;
font-weight: normal;
}
}
} }
.view-alphabetical-title-list {
& .node--view-mode-teaser .field { .path-frontpage .field--name-body .kln-logo-grid--five-columns a {
margin-block-end: 0; display: flex;
} align-items: center;
& .node__title { justify-content: center;
/*font-size: 1.4rem;*/ width: 145px;
} height: 135px;
& article { padding: 8px;
/*margin-bottom: 0;*/ background: #fff;
} border: 1px solid #e5e5e5;
& .node__content { box-sizing: border-box;
/*padding-bottom: 0;*/ text-decoration: none;
/*font-size: 0.9rem;*/
& .field__label,
.field__items {
/*font-size: 0.9rem;*/
font-weight: normal;
}
}
} }
.node--type-book {
figure { .path-frontpage .field--name-body .kln-logo-grid--five-columns img {
border: 1px solid #ccc; max-width: 125px;
border-bottom: 0; max-height: 115px;
width: auto;
height: auto;
object-fit: contain;
}
@media (max-width: 800px) {
.path-frontpage .field--name-body .kln-logo-grid--five-columns {
grid-template-columns: repeat(2, 145px);
} }
figcaption { }
border: 1px solid #ccc;
@media (max-width: 400px) {
.path-frontpage .field--name-body .kln-logo-grid--five-columns {
grid-template-columns: 145px;
} }
} }

Loading…
Cancel
Save