home/static/style.css

42 lines
474 B
CSS

.icon {
height: 100px;
float: left;
margin-right: 1em;
border-radius: 5px;
}
.list {
display: flex;
flex-direction: column;
}
.card {
border: 1px solid #1948e3;
border-radius: 25px;
margin: 0 auto;
padding: 1em;
}
.card.trunc {
height: 100px;
.text {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.footer {
display: none;
}
}
.card:hover {
background-color: lightblue;
}
.card:not(:last-of-type) {
margin-bottom: 20px;
}