diff --git a/content/schedule.md b/content/schedule.md index 2c901a0..92760b8 100644 --- a/content/schedule.md +++ b/content/schedule.md @@ -1,8 +1,8 @@ --- --- -{{< box >}} # Schedule +{{< table-scroll >}} | Title | Speakers | Type | |-------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|-----------------------------------------------------------------------------------------| | Speed Dating | lassulus | Workshop/Training | @@ -51,4 +51,4 @@ | Python Packaging with AI | Nitin Passa | Lightning talk | | Infecting Your Server with NixOS | João Thallis | Workshop/Training | -{{< /box >}} +{{< /table-scroll >}} diff --git a/themes/nixcon-2024/assets/css/main.css b/themes/nixcon-2024/assets/css/main.css index c19698f..18e4dcd 100644 --- a/themes/nixcon-2024/assets/css/main.css +++ b/themes/nixcon-2024/assets/css/main.css @@ -99,6 +99,15 @@ footer > p { text-align: center; } +#schedule { + margin-bottom: 0; + padding-left: .5rem; +} + +.table-scroll { + overflow-x: auto; +} + table, th, td { border: 2px solid black; border-collapse: collapse; diff --git a/themes/nixcon-2024/layouts/shortcodes/table-scroll.html b/themes/nixcon-2024/layouts/shortcodes/table-scroll.html new file mode 100644 index 0000000..be5d32e --- /dev/null +++ b/themes/nixcon-2024/layouts/shortcodes/table-scroll.html @@ -0,0 +1,3 @@ +