blob: 247b3831469121f28dbc92ccc39a7540c696b57c (
plain)
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
67
68
69
70
71
72
|
@mixin page-home($profile, $posts) {
.home {
@if $profile {
.home-profile {
@include transform(translateY(if($posts, 0, 16vh)));
padding: if($posts, 2rem, 0) 0 .5rem;
text-align: center;
.home-avatar {
padding: 0.6rem;
img {
display: inline-block;
width: if($posts, 6rem, 8rem);
height: auto;
margin: 0 auto;
@include border-radius(100%);
@include box-shadow(0 0 0 .3618em rgba(0, 0, 0, .05));
@include transition(all 0.4s ease);
cursor: pointer;
&:hover {
position: relative;
@include transform(translateY(-.75rem));
cursor: pointer;
}
}
}
.home-subtitle {
font-size: 1rem;
font-weight: normal;
margin: 0;
padding: .4rem;
}
.social-links {
padding: .4rem 0;
a, i {
font-size: 1.6rem;
line-height: 2rem;
}
img {
height: 1.4rem;
padding: 0 .25rem;
}
}
.home-disclaimer {
font-size: 1rem;
line-height: 1.4rem;
font-weight: normal;
margin: 0;
padding: .4rem;
color: $global-font-secondary-color;
.dark & {
color: $global-font-secondary-color-dark;
}
}
}
}
@if $posts {
@include summary;
}
}
}
@include page-home($home-profile, $home-posts);
|