loaded materials form solr with jsonapi, and display them

This commit is contained in:
2019-06-10 18:30:48 +02:00
parent 058aed796a
commit 01cee3ba8a
19 changed files with 719 additions and 17 deletions

View File

@@ -210,3 +210,53 @@ article.node--type-frontpage{
}
}
}
// ___ _
// / __|__ _ _ _ __| |___
// | (__/ _` | '_/ _` (_-<
// \___\__,_|_| \__,_/__/
.cards-list{
&>ul{
margin:0; padding:0;
&>li{
list-style: none;
margin:0 1em 1em 0; padding:0;
display: inline-block;
vertical-align: top;
}
}
}
.card{
position: relative;
width:200px; height:295px;
header{
position: absolute;
bottom:0;
z-index:10;
color: #fff;
background-color: rgba(0,0,0,0.5);
width:100%;
h1, h4{ margin:0; padding:0; }
h1{
font-size: 1.5em;
}
h4{
font-size: 1em;
font-weight: normal;
}
}
section.images{
position: relative;
img:first-of-type{
z-index:5
}
img:not(:first-of-type){
position: absolute;
top:0; left:0;
}
}
}