Files
old-web/frontend-react/src/components/items/itemcard/ItemCard.css
2019-01-29 20:30:43 +01:00

41 lines
668 B
CSS

.item {
display: grid;
border: solid #ffc600 1px;
border-radius: 5px;
max-width: 200px;
min-height: 150px;
grid-template-areas:
"image"
"title";
margin: 3%;
background-color: #272727;
justify-items: center;
align-items: center;
}
.item > a > img {
width: 90%;
height: 90%;
min-height: 100px !important;
min-width: 150px !important;
grid-area: image;
}
.item > a {
text-decoration: none;
}
.basic-info {
grid-area: title;
width: 100%;
margin: 0 auto;
text-align: center;
}
.basic-info > h3 {
font-size: 90%;
margin: 5%;
margin-bottom: 0px;
color: #ffc600;
padding-bottom: 10px;
overflow-wrap: break-word;
}