Browse Source

lp grid

master
rdrew 6 months ago
parent
commit
e3af28e82f
  1. 22
      css/components/landing_page.css

22
css/components/landing_page.css

@ -22,11 +22,22 @@ article.node.node--type-landing-page h2 {
} }
.path-frontpage .region--content { .path-frontpage .region--content {
margin-bottom: 0; margin-bottom: 0;
} }
#block-olives-views-block-front-page-featured-books-block-2 .view-content, #block-olives-views-block-front-page-featured-books-block-2 .view-content,
#block-olives-views-block-front-page-featured-books-block-1 .view-content { #block-olives-views-block-front-page-featured-books-block-1 .view-content {
/*display: none;*/
.node__title {
font-size: 1.2rem;
/*margin: 0;*/
}
.node__content {
img {
min-width:100%;
border:1px solid #ccc;
background:#fff;
padding:1rem;
}
}
.views-field-did-image { .views-field-did-image {
float: none; float: none;
max-width: 100%; max-width: 100%;
@ -35,6 +46,7 @@ article.node.node--type-landing-page h2 {
} }
.views-row { .views-row {
padding: 15px; padding: 15px;
background: #ece8e3;
border: 1px solid #ccc; border: 1px solid #ccc;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -49,6 +61,12 @@ article.node.node--type-landing-page h2 {
width: 100%; width: 100%;
} }
} }
.node__title a {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
overflow: hidden;
}
} }
@media (min-width: 43.75rem) { @media (min-width: 43.75rem) {
#block-olives-views-block-front-page-featured-books-block-1 .view-content { #block-olives-views-block-front-page-featured-books-block-1 .view-content {

Loading…
Cancel
Save