From 8f122e409a652914e6380a9083980830fd2e4b6c Mon Sep 17 00:00:00 2001 From: Lucia Enriquez Bos <81951721+luciaenriquezbos@users.noreply.github.com> Date: Thu, 5 Sep 2024 17:26:46 +0200 Subject: [PATCH] add responsive styles --- 2024/speakers.html | 12 +++++ assets/2024/seville.css | 99 ++++++++++++++++++++++++-------------- index.html | 102 ++++++++++++++++++---------------------- 3 files changed, 123 insertions(+), 90 deletions(-) diff --git a/2024/speakers.html b/2024/speakers.html index 854e748..8d78805 100644 --- a/2024/speakers.html +++ b/2024/speakers.html @@ -46,6 +46,12 @@ height: 1.5rem; } + .speaker a.social:hover img { + filter: grayscale(0%) sepia(100%) hue-rotate(-30deg) saturate(2) + brightness(1.2); + transition: filter 0.3s ease; + } + h2 { text-align: left; font-size: 1.3rem; @@ -67,6 +73,12 @@ .footer { margin-top: 10rem; } + + @media (max-width: 480px) { + .speaker { + flex-direction: column; + } + } diff --git a/assets/2024/seville.css b/assets/2024/seville.css index 32a1f0b..c48f9de 100644 --- a/assets/2024/seville.css +++ b/assets/2024/seville.css @@ -64,7 +64,7 @@ ul { } .logo-frame { background-color: #f0f0f0; - height: 4rem; + height: 3rem; margin: 2rem; padding: 0.7rem; } @@ -133,6 +133,11 @@ h3 { text-decoration: none; } +a.btn:hover span { + color: var(--accent-color); + transition: all 0.3s ease; +} + .cta { background-color: var(--accent-color); color: #ffffff; @@ -165,7 +170,8 @@ a:visited { color: var(--main-color); } a:hover { - color: #fff; + color: var(--accent-color); + transition: all 0.3s ease; } .ml2 { margin-left: 3rem; @@ -326,7 +332,7 @@ iframe { @media (max-width: 900px) { .flex { - flex-direction: column; + display: block; } .menu-icon { @@ -663,51 +669,74 @@ table.schedule tr.break td:nth-child(2) { height: 12rem; } -table.inscription { - border-spacing: 0px; - margin: 2rem; - padding: 0px; - text-align: center; +.inscription { + display: grid; + gap: 1rem; + grid-template-columns: 1fr 2fr 2fr; + margin: 2rem 0; + width: 100%; } -.inscription th.col1 { - height: 4rem; - margin: 0; - width: 15rem; +.inscription .col1 { + align-items: flex-end; + display: flex; + flex-direction: column; + margin-right: 1rem; } -.inscription th.col2, -.inscription td.col2 { - background-color: #5f6875; - height: 4rem; - margin: 0; - width: 25rem; + +.inscription .col1 span, +.col4 span { + height: 3.625rem; } -.inscription th.col3, -.inscription td.col3 { - background-color: #4c535e; - height: 4rem; - margin: 0; - width: 25rem; + +.inscription .col2, +.col3 { + background-color: #5f6875; + padding: 0 1rem; + text-align: center; } -table.inscription th, -table.inscription td { - border: none; - margin: 0; - padding: 0; +.inscription .col1 p:nth-child(3), +.col2 p:nth-child(3), +.col3 p:nth-child(3), +.col4 p:nth-child(3) { + padding-top: 2rem; } -table.inscription td { - margin: 0; - padding: 1rem; - text-align: center; +.inscription p { + height: 5rem; + line-height: 1.1; } + .big { font-size: 1.5rem; font-weight: bold; } -ol.inscription { + +.col4 { + display: none; +} + +ol.instructions { + display: block; margin-bottom: 3rem; - margin-left: 3rem; + padding-left: 3rem; +} + +@media (max-width: 768px) { + .inscription { + display: grid; + gap: 1rem; + grid-template-columns: 1fr 3fr; + margin: 2rem 0; + width: 100%; + } + + .col4 { + align-items: flex-end; + display: flex; + flex-direction: column; + margin-right: 1rem; + } } .session-details { diff --git a/index.html b/index.html index 8ce85c4..cb94e8c 100644 --- a/index.html +++ b/index.html @@ -106,7 +106,7 @@

Collaborators

href="https://espacial.sevilla.org/en/" alt="Sevilla Ariane Citie 2024" > Location the event is covered by assistants, speakers via inscriptions & sponsors.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Early Bird TicketRegular Ticket
When: - from August 26th
- till September 15th -
- from September 16th
- till October 4th
(or complete full capacity) -
Price:100 EUR*125 EUR*
Includes: -
    -
  • Pass for all sessions
  • -
  • Coffee breaks & lunches
  • -
  • Social Dinner
  • -
  • Guided City Tour
  • -
-
-
    -
  • Pass for all sessions
  • -
  • Coffee breaks & lunches
  • -
  • Social Dinner
  • -
  • Guided City Tour
  • -
-
+ + +
+
+ +

When:

+

Price:

+

Includes:

+
+
+

Early Bird Ticket

+

+ from August 26th
+ till September 15th +

+

100 EUR*

+
    +
  • Pass for all sessions
  • +
  • Coffee breaks & lunches
  • +
  • Social Dinner
  • +
  • Guided City Tour
  • +
+
+
+ +

When:

+

Price:

+

Includes:

+
+
+

Regular Ticket

+

+ from September 16th
+ till October 4th
(or complete full capacity) +

+

125 EUR*

+
    +
  • Pass for all sessions
  • +
  • Coffee breaks & lunches
  • +
  • Social Dinner
  • +
  • Guided City Tour
  • +
+
+

* Applicable taxes (VAT) incluided.

@@ -254,7 +248,7 @@

Location

How to get inscribed:

-
    +
    1. Complete the inscription form per attendee with the button below. If you need it, ask for an invoice providing your tax data. @@ -293,9 +287,7 @@

      Important Dates

    2. 2024-10-[17..19]: LangDev’24
    3. -
      -

      Call for Presentations

      -
      +

      Call for Presentations

      From: June 6th till July 12th (closed).