File tree Expand file tree Collapse file tree 2 files changed +26
-19
lines changed
Expand file tree Collapse file tree 2 files changed +26
-19
lines changed Original file line number Diff line number Diff line change 1010 <h1 class =" article__title podcast__title" >
1111 {{ episode .data .title }}
1212 </h1 >
13- <section class =" podcast__hosts " >
14- <h2 class = " podcast__hosts-heading " >Ведущие:</ h2 >
15- < ul class = " podcast__hosts-list " >
16- {% for host in episode . data . hosts %}
17- < li class = " podcast__host " >
13+ <dl class =" podcast__participants " >
14+ <div >
15+ < dt >Ведущие:</ dt >
16+ < dd >
17+ {% for host in episode . data . hosts %}
1818 {{ host }} {% if not loop .last %} ,{% endif %}
19- </li >
20- {% endfor %}
21- </ul >
22- </section >
19+ {% endfor %}
20+ </dd >
21+ </div >
22+ {% if episode .data .guests %}
23+ <div >
24+ <dt >Гости:</dt >
25+ <dd >
26+ {% for guest in episode .data .guests %}
27+ {{ guest }} {% if not loop .last %} ,{% endif %}
28+ {% endfor %}
29+ </dd >
30+ </div >
31+ {% endif %}
32+ </dl >
2333 </header >
2434
2535 <div class =" podcast__player player" >
Original file line number Diff line number Diff line change 7171 }
7272}
7373
74- .podcast__hosts-heading {
75- display : inline;
76- margin : 0 0.5em 0 0 ;
77- font-weight : 600 ;
78- font-size : inherit;
79- letter-spacing : 0.01em ;
74+ .podcast__participants {
75+ display : grid;
76+ row-gap : 8px ;
8077}
8178
82- .podcast__hosts-list {
79+ .podcast__participants dt {
8380 display : inline;
84- margin : 0 ;
85- padding : 0 ;
81+ font-weight : bold;
8682}
8783
88- .podcast__host {
84+ .podcast__participants dd {
8985 display : inline;
86+ margin : 0 ;
9087}
9188
9289.podcast__player {
You can’t perform that action at this time.
0 commit comments