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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
|
.post
@extend %narrow
padding: 1rem 1.5rem
margin-top: 1.5rem
h1,h2,h3,h4,h5,h6
margin: 1rem auto
text-align: left
text-transform: initial
padding: 0.25rem 0 0 0
p
padding-bottom: 0.5rem
padding-top: 0.5rem
font-size: 1.05rem
&s
display: flex
justify-content: space-between
flex-flow: row wrap
width: 100%
align-items: stretch
&s:not(.aside)
padding: 0 30px
&_content
h4
margin: 5px 0
text-align: left
p
line-height: 1.65
&:first-child
margin-top: 0
padding-top: 0
a:not(.link)
border-bottom: 2px solid var(--theme)
&:hover
opacity: 0.7
ol, ul
padding: 0.5rem 0 0.5rem 1.2rem
li
padding: 0.33rem 0
&_header
background-size: cover
background-repeat: no-repeat
background-position: center
position: relative
color:#fff
height: 48vh
min-height: 360px
background-color: var(--bg)
margin-top: 60px
padding: 30px
display: flex
justify-content: center
align-items: center
flex-direction: column
&::after
content: ""
position: absolute
top: 0
left: 0
right: 0
bottom: 0
z-index: 1
background: rgba(10, 15, 30, 0.72)
h1
color: inherit
h1, p, h4
position: relative
z-index: 2
&_copy
opacity: 0
transition: opacity 0.3s ease-out
&_item
@include shadow
margin: 1.25rem 0
border-radius: 10px
overflow: hidden
width: 100%
@media screen and (min-width:667px)
width: 47%
&_item:hover &_copy
opacity: 1
&_link
padding: 2.5px 0
font-size: 1.25em
margin: 2.5px 0
text-align: left
&_meta
overflow: hidden
opacity: 0.8
font-size: 0.84rem
font-weight: 500
display: inline-grid
grid-template-columns: auto 1fr
background-color: var(--light)
padding: 0
align-items: center
border-radius: 0.3rem
color: var(--dark)
text-transform: capitalize
a
&:hover
color: var(--theme)
text-decoration: underline
opacity: 0.9
&_extra
display: flex
justify-content: flex-end
&_tag
font-size: 0.75rem !important
font-weight: 500
background: var(--theme)
color: var(--light)
padding: 0.25rem 0.67rem !important
text-transform: uppercase
display: inline-flex
border-radius: 5px
&_title
text-align: center
@extend %narrow
&_author
padding: 0.2rem 0.75rem
a
color: var(--theme)
text-decoration: underline
&_time
background: var(--theme)
display: inline-grid
padding: 0.2rem 0.75rem
color: var(--light)
&_card
display: block
position: relative
background-color: var(--dark)
border-radius: 0.5rem 0.5rem 0 0
background-size: cover
background-position: center
overflow: hidden
height: 10rem
&::after
content: ''
position: absolute
left: 0
right: 0
bottom: 0
top: 0
z-index: 1
&:hover::after
background-color:rgba(0,0,0,0.3)
&_thumbnail
width: 100%
margin: 0
.pager
display: flex
justify-content: center
align-content: center
margin: 30px auto 0 auto
padding: 0 1.5rem
overflow: auto
&, &_link
justify-content: center
align-items: center
&_link
display: flex
background-color: var(--theme)
color: var(--light)
&:hover
opacity: 0.5
&_item, &_link
height: 36px
width: 36px
border-radius: 50%
&_item
margin-left: 5px
margin-right: 5px
margin-bottom: 30px
&:first-child, &:last-child
display: none
&.active, &.disabled
opacity: 0.5
.excerpt
padding: 0 10px 1.5rem 10px
position: relative
z-index: 1
&_meta
display: flex
justify-content: space-between
align-items: center
transform: translateY(-2.5rem)
position: relative
z-index: 5
|