site: update resource card style

This commit is contained in:
afc163 2018-01-13 14:34:50 +08:00
parent dc5dd90752
commit 8de2b470b0

View File

@ -7,14 +7,14 @@
.resource-card {
display: flex;
max-width: 420px;
width: 40%;
width: ~"calc(50% - 24px)";
min-width: 300px;
height: 130px;
border: 1px solid #ced4d9;
border: 1px solid @border-color-base;
border-radius: @border-radius-base;
font-size: 12px;
color: #777;
margin: 20px 40px 10px 0;
margin: 24px 24px 0 0;
vertical-align: middle;
transition: all 0.3s ease;
position: relative;
@ -67,5 +67,5 @@
.resource-card-description {
display: block;
color: #697b8c;
padding-right: 8px;
padding-right: 16px;
}