File tree 3 files changed +43
-8
lines changed
3 files changed +43
-8
lines changed Original file line number Diff line number Diff line change 17
17
font-family : "Poppins" , sans-serif;
18
18
}
19
19
20
+ .infobox {
21
+ list-style-type : disc;
22
+ padding-inline-start : 40px ;
23
+ }
24
+
25
+ .infobox__row {
26
+ display : list-item;
27
+ }
28
+
29
+ .infobox__heading ,
30
+ .infobox__details {
31
+ display : inline;
32
+ }
33
+
34
+ .infobox__heading {
35
+ color : var (--text-bright );
36
+ font-weight : 600 ;
37
+ }
38
+
39
+ .infobox__details {
40
+ margin-left : 0 ;
41
+ }
42
+
20
43
.btn {
21
44
appearance : button;
22
45
border-radius : 6px ;
Original file line number Diff line number Diff line change @@ -15,10 +15,16 @@ block content
15
15
.center
16
16
img( src =thumbnailUrl alt =` A preview image of the '${ title} ' session.` )
17
17
18
- ul
19
- li #[ strong Host:] #{hostUsername}
20
- li #[ strong Version:] #{appVersion}
21
- li #[ strong Users (#{totalJoinedUsers}/#{maxUsers}):] #{sessionUsers .map (user => user .username ).join (" , " )}
18
+ dl.infobox
19
+ .infobox__row
20
+ dt.infobox__heading Host:
21
+ dd.infobox__details #{hostUsername}
22
+ .infobox__row
23
+ dt.infobox__heading Version:
24
+ dd.infobox__details #{appVersion}
25
+ .infobox__row
26
+ dt.infobox__heading Users (#{totalJoinedUsers} /#{maxUsers} ):
27
+ dd.infobox__details #{sessionUsers .map (user => user .username ).join (" , " )}
22
28
div.center
23
29
a.btn ( href =` ressession:///${ sessionId} ` ) Join Session!
24
30
p.center
Original file line number Diff line number Diff line change @@ -14,10 +14,16 @@ block content
14
14
.center
15
15
img( src =thumbnailUri alt =` A preview image of the '${ title} ' world.` )
16
16
17
- ul
18
- li #[ strong By:] #{ownerName}
19
- li #[ strong Description:] #{description}
20
- li #[ strong Tags:] #{tags .join (" , " )}
17
+ dl.infobox
18
+ .infobox__row
19
+ dt.infobox__heading By:
20
+ dd.infobox__details #{ownerName}
21
+ .infobox__row
22
+ dt.infobox__heading Description:
23
+ dd.infobox__details #{description}
24
+ .infobox__row
25
+ dt.infobox__heading Tags:
26
+ dd.infobox__details #{tags .join (" , " )}
21
27
div.center
22
28
a.btn ( href =` resrec:///${ ownerId} /${ id} ` ) Open World!
23
29
p.center
You can’t perform that action at this time.
0 commit comments