generated from mmistakes/mm-github-pages-starter
-
Notifications
You must be signed in to change notification settings - Fork 19
/
display-publications.scss
66 lines (58 loc) · 1.18 KB
/
display-publications.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
article.publication-card {
display: grid;
grid-template-areas:
"thumbnail title"
"thumbnail authors"
"thumbnail venue"
"thumbnail links"
"thumbnail .";
grid-template-columns: 300px 1fr;
@media (max-width: 600px) {
grid-template-areas:
"title"
"authors"
"venue"
"links"
"thumbnail";
grid-template-columns: 1fr;
}
column-gap: 15px;
margin-top: 1.5em;
align-items: start;
align-content: start;
}
.publication-thumbnail {
grid-area: thumbnail;
object-fit: contain;
width: 100%;
max-width: 300px;
margin: 0 auto;
}
.publication-title {
grid-area: title;
margin: 0 0 5px 0;
>a {
text-decoration: none;
}
}
.publication-authors {
grid-area: authors;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
font-style: italic;
}
.publication-venue {
grid-area: venue;
font-weight: bold;
}
.publication-links {
grid-area: links;
}
.publication-ext-link {
text-decoration: none;
margin-right: 15px;
display: inline-block;
}