update resource page style

This commit is contained in:
afc163 2016-09-29 11:42:39 +08:00
parent d2b7c4f2ec
commit c93ef7663c

View File

@ -20,7 +20,8 @@
} }
.resource-card:hover { .resource-card:hover {
box-shadow: 0 1px 6px rgba(100, 100, 100, .2); box-shadow: 0 3px 8px #d3ddeb;
border-color: transparent;
} }
.resource-card:hover .resource-card-title { .resource-card:hover .resource-card-title {
@ -58,8 +59,8 @@
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
line-height: 1; line-height: 1.2;
margin-bottom: 8px; margin-bottom: 6px;
} }
.resource-card-description { .resource-card-description {