angular-docs-cn/public/resources/css/module/_bio-card.scss

36 lines
541 B
SCSS
Raw Normal View History

2015-03-02 02:48:31 -05:00
.bio-card {
2015-03-02 09:01:47 -05:00
max-width: 360px;
2015-03-05 10:47:49 -05:00
height: 420px;
2015-03-02 09:01:47 -05:00
margin-bottom: $unit * 4;
overflow: hidden;
2015-03-02 02:48:31 -05:00
h3 {
2015-03-05 01:38:45 -05:00
margin: 0px 0px $unit 0px;
2015-03-02 09:01:47 -05:00
white-space: nowrap;
2015-03-02 02:48:31 -05:00
}
2015-03-05 01:38:45 -05:00
.bio-link {
font-size: 14px;
2015-03-02 02:48:31 -05:00
text-decoration: none;
2015-03-05 01:38:45 -05:00
display: inline-block;
2015-03-05 10:47:49 -05:00
margin: 0px $unit $unit 0px;
&:last-child {
margin: 0px 0px $unit 0px
}
2015-03-02 02:48:31 -05:00
}
img {
width: 100%;
}
p {
2015-03-02 08:43:46 -05:00
height: 72px;
2015-03-02 02:48:31 -05:00
overflow: hidden;
cursor: pointer;
font-size: 14px;
line-height: 24px;
2015-03-05 01:38:45 -05:00
margin: 0;
2015-03-05 10:47:49 -05:00
text-overflow: ellipsis;
2015-03-02 02:48:31 -05:00
}
}