mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 21:19:37 +08:00
site: update resource card style
This commit is contained in:
parent
dc5dd90752
commit
8de2b470b0
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user