From ccbeeb073c9e677ac13026150a5a605bcac6e8c4 Mon Sep 17 00:00:00 2001 From: jak-ing Date: Tue, 9 Jan 2018 00:21:45 +0100 Subject: [PATCH 1/2] Highlight correct section when jumping to section via navbar #13 - Put the navbar links in the right order - Use display: table for an element in the location section so that the pixel height value of the section is rounded to the closest integer (it seems like the decimal pixel height value caused the issue with wrong sections being highlighted), this hinted at me at the solution: https://stackoverflow.com/a/13103868 (decimal height value is yielded by bootstrap class 'img-responsive' inside location-card --- hackhpi_assets/style.css | 5 ++++- index.html | 23 +++++++++++++++-------- 2 files changed, 19 insertions(+), 9 deletions(-) diff --git a/hackhpi_assets/style.css b/hackhpi_assets/style.css index 16815e6..a14a323 100644 --- a/hackhpi_assets/style.css +++ b/hackhpi_assets/style.css @@ -316,6 +316,10 @@ section > .container { position: relative; } +section#location > .container { + display: table; +} + section h1 { margin:0px 0px 30px; } @@ -363,7 +367,6 @@ section table thead { padding-top:40px; } - section .row + .row, section .row > div > * + *, .location-card p + p { diff --git a/index.html b/index.html index 6971dad..571669d 100644 --- a/index.html +++ b/index.html @@ -59,8 +59,8 @@
  • Schedule
  • Venue
  • FAQ
  • -
  • Team
  • Sponsors
  • +
  • Team
  • Tickets
  • Contact
  • @@ -99,7 +99,8 @@

    What to expect at HackHPI 2018

    -
    +
    +
    @@ -123,7 +124,8 @@

    Sunday, x+1th of May|June|July

    Keep in mind that we may have to adjust some of the times.

    -
    +
    +
    @@ -148,7 +150,8 @@
    Universität Potsdam
    -
    +
    +
    @@ -198,7 +201,8 @@

    Can I sponsor this hackathon?

    -
    +
    +
    @@ -266,7 +270,8 @@

    Supporter

    -
    +
    +
    @@ -295,7 +300,8 @@

    Organizers

    -
    +
    +
    @@ -315,7 +321,8 @@

    Apply for your ticket:

    -
    +
    +
    From 47dbc146abd884ce03d2847270b4eb489b03375d Mon Sep 17 00:00:00 2001 From: FWirtz Date: Tue, 9 Jan 2018 12:23:35 +0100 Subject: [PATCH 2/2] :bug: Fix 2016 ticket link --- 2016/index.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/2016/index.html b/2016/index.html index 18d62f7..c4915fd 100644 --- a/2016/index.html +++ b/2016/index.html @@ -306,10 +306,7 @@

    Get your ticket

    -
    - - -
    +

    The ticket sale is closed now.