forked from eleven-labs/blog.eleven-labs.com
/
_index.scss
62 lines (56 loc) · 1.11 KB
/
_index.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
// Header text feature
.call-out {
@extend %padding-regular;
display: inline-block;
width: 100%;
background-color:$header-desc-background-color;
background-size: cover;
font-size: 1.2rem;
text-align: center;
color: $header-desc-text-color;
}
.call-out p:last-child {
margin-bottom: 0;
}
// Post listing
.posts {
&-teaser {
width: 100%;
margin-bottom: 0;
display: inline-block;
background-size: $feature-image-size;
p a:hover {
@extend %link-hover;
}
}
&-title {
@extend %h2;
margin: 0 0 5px;
a {
color: $brand-black;
text-decoration: none;
}
}
&-date {
display: inline-block;
margin-bottom: 1.5rem;
}
&-button {
margin-top: 1.5rem;
}
.excerpt {
margin-top: 1rem;
margin-bottom: 1.5rem;
}
}
// Pagination
.pagination .button {
margin: 0 1.5rem;
i {
vertical-align: middle;
}
}
.pagination {
padding: $padding-small $padding-large 0 $padding-large;
text-align: center;
}