Skip to content

Commit 0a9af97

Browse files
committed
Style the live schedule block
1 parent b991351 commit 0a9af97

File tree

2 files changed

+119
-0
lines changed

2 files changed

+119
-0
lines changed

css/includes/schedule.css

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,3 +280,62 @@ body.single-wcb_session {
280280
}
281281
}
282282

283+
.wordcamp-live-schedule .wordcamp-live-schedule__session {
284+
flex-direction: column;
285+
gap: 1rem;
286+
margin-bottom: 1rem;
287+
border-width: 1px;
288+
border-style: solid;
289+
border-color: var(--wp--preset--color--contrast-3);
290+
padding: 0.5rem;
291+
}
292+
293+
.wordcamp-live-schedule .wordcamp-live-schedule__session-track {
294+
display: inline-block;
295+
padding: 0 10px;
296+
width: unset;
297+
max-width: 16rem;
298+
border: 1px solid currentcolor;
299+
background: var(--wp--preset--color--custom-accent-eight);
300+
border-color: var(--wp--preset--color--accent-5);
301+
302+
&.track-track-2-rose-city {
303+
background: var(--wp--preset--color--custom-accent-six);
304+
border-color: var(--wp--preset--color--contrast);
305+
}
306+
307+
&.track-track-3-stumptown {
308+
color: var(--wp--preset--color--base);
309+
background: var(--wp--preset--color--accent-2);
310+
border-color: var(--wp--preset--color--contrast);
311+
}
312+
}
313+
314+
.wordcamp-live-schedule .wordcamp-live-schedule__session-title {
315+
margin-block-end: 0;
316+
}
317+
318+
.wordcamp-live-schedule .wordcamp-live-schedule__session-cats {
319+
display: none;
320+
}
321+
322+
.wordcamp-live-schedule .wordcamp-live-schedule__session-details {
323+
margin-left: unset !important;
324+
width: unset !important;
325+
326+
& a {
327+
text-decoration: none;
328+
}
329+
330+
& a:hover {
331+
text-decoration: underline;
332+
}
333+
}
334+
335+
body.page-template-page-no-title footer.wp-block-template-part {
336+
margin-block-start: 0;
337+
338+
& > div {
339+
padding-block-start: 0 !important;
340+
}
341+
}

style.css

Lines changed: 60 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)