forked from creativecommons/ccos-website-source
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsingle-post-page.scss
116 lines (92 loc) · 2.11 KB
/
single-post-page.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
// Single Post page
.single-post {
@include from($desktop) {
.container {
padding-left: 6rem;
padding-right: 6rem;
}
}
@include until($desktop) {
.container {
padding-left: 1.5rem;
padding-right: 1.5rem;
}
}
.single-post-header {
background-color: $color-lighter-gray;
.title {
@extend .padding-top-big;
overflow-wrap: break-word;
}
.author {
@extend .padding-top-big;
@extend .padding-bottom-normal;
@extend .body-big;
line-height: 1.8125;
.image {
height: 3.75rem;
width: 3.75rem;
}
}
.series-header {
@extend .margin-top-normal;
@extend .padding-horizontal-big;
@extend .padding-vertical-normal;
@extend .body-normal;
background-color: $color-white;
line-height: 1.5625;
font-weight: bold;
}
}
.single-post-body {
@extend .padding-top-bigger;
@extend .has-text-dark-slate-gray;
&:last-of-type::after {
content: '';
display: block;
@extend .padding-top-bigger;
border-bottom: 0.1875rem solid $color-light-gray;
}
}
.single-post-footer {
.category {
.category-title {
@extend .b-header;
@extend .padding-top-big;
}
.categories {
@extend .padding-top-small;
.tag {
@extend .margin-top-small;
@extend .margin-right-small;
}
}
}
.series-posts {
@extend .margin-top-large;
@extend .padding-horizontal-larger;
@extend .padding-vertical-large;
background-color: $color-lighter-gray;
border-top: 0.375rem solid $color-forest-green;
.title {
@extend .b-header;
@extend .padding-bottom-normal;
}
.posts {
@extend .body-normal;
font-weight: bold;
line-height: 1.5;
overflow-wrap: break-word;
.icon {
@extend .padding-right-small;
font-size: 0.375rem;
color: $color-gray;
}
}
}
}
.comments {
@extend .padding-top-large;
@extend .padding-bottom-xxl;
}
}