diff --git a/config/static/css/pycon.css b/config/static/css/pycon.css index b5e1833..2e2534e 100644 --- a/config/static/css/pycon.css +++ b/config/static/css/pycon.css @@ -99,6 +99,10 @@ h4 { pointer-events: none !important; } +.speakers-desc { + margin: 0 auto; +} + /* Additional styles for the sponsor hover */ .tooltip { diff --git a/pyconph/home/templates/home/_keynotes.html b/pyconph/home/templates/home/_keynotes.html index bd175dc..13c86c3 100644 --- a/pyconph/home/templates/home/_keynotes.html +++ b/pyconph/home/templates/home/_keynotes.html @@ -1,7 +1,7 @@ {% load wagtailimages_tags %} {% load static %} -
+

{{ page.keynote_subtitle }} @@ -14,25 +14,35 @@

-
-
- {% for speaker in page.keynote_speakers.all %} -
-
- {% image speaker.display_photo original fill-1000x1000 %} -
-

- {{ speaker.first_name }} {{ speaker.last_name }} -

-

- {{ speaker.title }} -

-

- {{ speaker.introduction }} -

+
+
+
+
    + {% for speaker in page.keynote_speakers.all %} +
  • + + {% image speaker.display_photo original fill-1000x1000 %} +

    + {{ speaker.full_name }} +

    +

    + {{ speaker.description }} +

    +

    + {{ speaker.introduction }} +

    +
  • + {% endfor %} +
- {% endfor %}
+
diff --git a/pyconph/home/templates/home/_speakers.html b/pyconph/home/templates/home/_speakers.html index 79880c1..309af63 100644 --- a/pyconph/home/templates/home/_speakers.html +++ b/pyconph/home/templates/home/_speakers.html @@ -16,7 +16,7 @@

-
+
    {% for speaker in page.speakers.all %} @@ -34,7 +34,7 @@

    {{ speaker.description }}

    {{ speaker.introduction }}