From e3af28e82fd8256da2c5a22d5a4a98832a335bbd Mon Sep 17 00:00:00 2001 From: rdrew Date: Mon, 29 Apr 2024 11:21:49 -0300 Subject: [PATCH] lp grid --- css/components/landing_page.css | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/css/components/landing_page.css b/css/components/landing_page.css index 94e35d3..61f8e74 100755 --- a/css/components/landing_page.css +++ b/css/components/landing_page.css @@ -22,11 +22,22 @@ article.node.node--type-landing-page h2 { } .path-frontpage .region--content { margin-bottom: 0; - - } #block-olives-views-block-front-page-featured-books-block-2 .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 { float: none; max-width: 100%; @@ -35,6 +46,7 @@ article.node.node--type-landing-page h2 { } .views-row { padding: 15px; + background: #ece8e3; border: 1px solid #ccc; display: flex; flex-direction: column; @@ -49,6 +61,12 @@ article.node.node--type-landing-page h2 { width: 100%; } } + .node__title a { + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 3; + overflow: hidden; + } } @media (min-width: 43.75rem) { #block-olives-views-block-front-page-featured-books-block-1 .view-content {