Unverified Commit 5f19eee7 authored by Roland Denis's avatar Roland Denis
Browse files

Replacing event id by a class.

Since it not an unique identifier (e.g. in the archives, for each year)
parent c65ca5a4
Pipeline #3628 passed with stages
in 1 minute and 20 seconds
......@@ -76,7 +76,7 @@ a:hover{
text-align: right;
}
#event.row {
.event.row {
padding-bottom: 66px;
}
......@@ -331,7 +331,7 @@ a:hover{
text-align: center;
}
#event .card-header {
.event .card-header {
padding-left: 0;
font-size: 26px;
font-family: 'Playfair Display';
......@@ -341,7 +341,7 @@ a:hover{
line-height: 30px;
}
#event .card-body {
.event .card-body {
padding: 0;
height: 47px;
font-size: 14px;
......@@ -350,21 +350,21 @@ a:hover{
line-height: 15px;
}
#event .date {
.event .date {
font-family: Roboto;
color: #000000;
font-size: 14px;
font-weight: 700;
}
#event .category {
.event .category {
font-family: Roboto;
color: rgba(0, 0, 0, 0.76);
font-size: 10px;
font-weight: 700;
}
#event .card-footer {
.event .card-footer {
padding-left: 0;
font-size: 14px;
font-family: 'Roboto', serif;
......@@ -375,7 +375,7 @@ a:hover{
height: 57px;
}
#event .card-finished {
.event .card-finished {
opacity: 0.65;
};
......
......@@ -21,7 +21,7 @@
{% for year, year_articles in articles | selectattr("category", "in", ["journee", "formation"]) | group_by_year %}
<h1 class="year-separation" id="year_{{year}}">{{year}}</h1>
<hr class="year-separation">
<div class="row d-flex justify-content-center mx-xl-5 mx-lg-3" id="event" style="margin-top: 22px;">
<div class="row d-flex justify-content-center mx-xl-5 mx-lg-3 event" style="margin-top: 22px;">
{% for article in year_articles %}
{{ cards.dispatch(article) }}
{% endfor %}
......
......@@ -37,7 +37,7 @@
{% macro content(articles) %}
<div class="container-fluid event">
<div class="row d-flex justify-content-center mx-xl-5 mx-lg-3" id="event" style="margin-top: 22px;">
<div class="row d-flex justify-content-center mx-xl-5 mx-lg-3 event" style="margin-top: 22px;">
{% import 'cards.html' as cards with context %}
{% for article in articles %}
{{ cards.dispatch(article) }}
......
......@@ -26,7 +26,7 @@
{% macro content(articles) %}
<div class="container-fluid event">
<div class="row d-flex justify-content-center mx-xl-5 mx-lg-3" id="event" style="margin-top: 22px;">
<div class="row d-flex justify-content-center mx-xl-5 mx-lg-3 event" style="margin-top: 22px;">
{% import 'cards.html' as cards with context %}
{% for article in articles %}
{{ cards.dispatch(article) }}
......
......@@ -26,7 +26,7 @@
{% macro content(articles) %}
<div class="container-fluid event">
<div class="row d-flex justify-content-center mx-xl-5 mx-lg-3" id="event" style="margin-top: 22px;">
<div class="row d-flex justify-content-center mx-xl-5 mx-lg-3 event" style="margin-top: 22px;">
{% import 'cards.html' as cards with context %}
{% for article in articles %}
{{ cards.dispatch(article) }}
......
......@@ -41,7 +41,7 @@
{% block content %}
<div class="container-fluid event">
<div class="row d-flex justify-content-center mx-xl-5 mx-lg-3" id="event" style="margin-top: 22px;">
<div class="row d-flex justify-content-center mx-xl-5 mx-lg-3 event" style="margin-top: 22px;">
{% import 'cards.html' as cards with context %}
{% for article in articles | previewed_articles %}
{{ cards.dispatch(article) }}
......
......@@ -6,7 +6,7 @@
{% macro content(articles) %}
<div class="container-fluid event">
<div class="row d-flex justify-content-center mx-xl-5 mx-lg-3" id="event" style="margin-top: 22px;">
<div class="row d-flex justify-content-center mx-xl-5 mx-lg-3 event" style="margin-top: 22px;">
{% import 'cards.html' as cards with context %}
{% for article in articles %}
{{ cards.dispatch(article) }}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment