generated from mmistakes/mm-github-pages-starter
-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathpeople-card.scss
61 lines (49 loc) · 897 Bytes
/
people-card.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
div.author-avatar {
aspect-ratio: 1;
margin-top: 10px;
margin-right: 10px;
display: flex;
float: left;
img {
border-radius: 50%;
height: 100%;
width: 100%;
object-fit: cover;
}
max-height: 150px;
max-width: 150px;
height: 33%;
width: 33%;
}
.author-info {
display: inline-block;
width: max(calc(99% - 160px), calc(65% - 10px));
a {
text-decoration: none;
}
}
.author-name {
font-size: x-large;
font-weight: bold;
}
.author-bio {
font-size: medium;
font-style: italic;
}
.author-note {
font-size: medium;
}
.author-advisor {
font-size: medium;
}
.author-card {
display: inline-block;
vertical-align: top;
padding: 15px 5px 0px 0px;
@media (max-width: 600px) {
width: 100%;
}
@media (min-width: 601px) {
width: 49%;
}
}