Update event title and subtitle styling

Removed redundant CSS for `.event-title` and adjusted font sizes directly in relevant selectors. Simplified HTML structure in `event_page.html` to align with updated styles. These changes improve consistency and maintainability of the event page layout.
main
Arne Schauf 2 weeks ago
parent fdbbb45298
commit 1768e1845d
  1. 8
      core/static/css/theme/events.css
  2. 4
      core/templates/core/event_page.html

@ -78,12 +78,6 @@
overflow: hidden; overflow: hidden;
} }
.event-title {
font-size: 1rem;
margin-bottom: 0.5rem;
font-weight: var(--font-weight-regular);
}
.event-link { .event-link {
color: #333; color: #333;
text-decoration: none; text-decoration: none;
@ -183,6 +177,7 @@
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
position: relative; position: relative;
display: inline-block; display: inline-block;
font-size: 2rem;
} }
.event-title::after { .event-title::after {
@ -200,6 +195,7 @@
color: #666; color: #666;
font-weight: var(--font-weight-light); font-weight: var(--font-weight-light);
margin-top: 1rem; margin-top: 1rem;
font-size: 1.25rem;
} }
/* Responsive adjustments for titles */ /* Responsive adjustments for titles */

@ -71,9 +71,9 @@
<!-- Event Header --> <!-- Event Header -->
<div class="event-title-container"> <div class="event-title-container">
<h1 class="event-title display-4">{{ self.title }}</h1> <h1 class="event-title">{{ self.title }}</h1>
{% if self.subtitle %} {% if self.subtitle %}
<h2 class="event-subtitle h3">{{ self.subtitle }}</h2> <h2 class="event-subtitle">{{ self.subtitle }}</h2>
{% endif %} {% endif %}
</div> </div>

Loading…
Cancel
Save