D10 theme for Booklives
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

101 lines
2.1 KiB

/*collection grid*/
.grid-item {
border: 1px solid #ccc;
padding: 8px;
border-radius: 4px;
box-shadow: 0px 5px 11px -2px rgb(0 0 0 / 39%);
/*background: #ece8e3;*/
.grid-item__image {
margin: 0;
/*height: 180px;*/
background: #ece8e3;
overflow: hidden;
img {
width: 100%;
}
}
.views-field-field-abstract,
.abstract {
/* line-height: 1.4; */
display: block;
/* line-height: 1.4; */
line-height: 1.4;
margin-bottom: 5px;
font-size: 0.9em;
color: var(--color-text-neutral-medium);
a.views-more-link {
text-decoration: underline;
}
}
.grid-item__title {
display: block;
padding: 0.5em 0;
/* text-align: center; */
line-height: 1.2;
margin: 5px 0 6px 0;
/* height: 3em; */
/* background: #fff; */
font-weight: bold;
border-bottom: 1px dotted #574938;
a {
text-decoration: none;
font-family: var(--font-serif);
/*font-size: var(--font-size-l);*/
color: #574938;
}
}
.views-field-member-of-title {
line-height: 1.2;
.field__label {
font-size: 0.9em;
font-family: var(--font-serif);
color: #574938;
}
.field__item {
font-size: 0.9em;
}
}
}
.collection-view .view-content,
.view-grid > .view-content {
display: grid;
grid-template-columns: 1fr; /* mobile: single column */
}
@media (min-width: 600px) {
.collection-view .view-content,
.view-grid > .view-content {
grid-template-columns: repeat(2, 1fr); /* tablet portrait: 2 across */
}
}
@media (min-width: 900px) {
.collection-view .view-content,
.view-grid > .view-content {
grid-template-columns: repeat(3, 1fr); /* tablet landscape: 3 across */
}
}
@media (min-width: 1200px) {
.collection-view .view-content,
.view-grid > .view-content {
grid-template-columns: repeat(4, 1fr); /* desktop: 4 across */
}
}
#toggle-facets {
background-color: #574938;
}
nav.pager {
display: flex;
justify-content: space-around;
}
.views-field.views-field-dc-description a {
/* color: black; */
text-decoration: none;
color: var(--color-text-neutral-medium);
}
.search-result.views-row {
min-width: 0;
}