Unverified Commit 8106303e authored by Roland Denis's avatar Roland Denis
Browse files

Replacing header-btn id by a class.

Since it is not an unique identifier.
parent 51048e6f
......@@ -193,11 +193,11 @@ a:hover{
line-height: 26px;
}
#header-btn span {
.header-btn span {
font-size: 10px;
}
#header-btn.btn-dark {
.header-btn.btn-dark {
color: white;
background-color: black;
border-radius: 0px;
......@@ -207,7 +207,7 @@ a:hover{
line-height: 10px;
}
#header-btn.btn-dark:before{
.header-btn.btn-dark:before{
content: '';
width: 10px;
height: 10px;
......@@ -258,7 +258,7 @@ a:hover{
}
#header-btn.btn-outline-dark {
.header-btn.btn-outline-dark {
color: black;
border-radius: 0px;
border-color: black;
......
{% macro header_content(article) %}
<div class="container">
<button type="button" class="btn btn-dark mb-2 p-2" id="header-btn">
<button type="button" class="header-btn btn btn-dark mb-2 p-2">
<div class="row m-0 d-flex align-items-center">
<div id="circle-{{article.category}}"></div>
<span class="category text-uppercase pl-2">{{CIRCLES[article.category]}}</span>
......
{% macro header_content(article) %}
<div class="container">
<a href="{{SITEURL}}/{{category.save_as}}" class="btn btn-dark mb-2 p-2" id="header-btn">
<a href="{{SITEURL}}/{{category.save_as}}" class="header-btn btn btn-dark mb-2 p-2">
<div class="row m-0 d-flex align-items-center">
<div id="circle-{{category.slug}}"></div>
<span class="category text-uppercase pl-2">{{CIRCLES[category.slug]}}</span>
......
{% macro header_content(category) %}
<div class="container">
<a href="{{SITEURL}}/{{category.save_as}}" class="btn btn-dark mb-2 p-2" id="header-btn">
<a href="{{SITEURL}}/{{category.save_as}}" class="header-btn btn btn-dark mb-2 p-2">
<div class="row m-0 d-flex align-items-center">
<div id="circle-{{category.slug}}"></div>
<span class="category text-uppercase pl-2">{{CIRCLES[category.slug]}}</span>
......
{% macro header_content(category) %}
<div class="container">
<a href="{{SITEURL}}/{{category.save_as}}" class="btn btn-dark mb-2 p-2" id="header-btn">
<a href="{{SITEURL}}/{{category.save_as}}" class="header-btn btn btn-dark mb-2 p-2">
<div class="row m-0 d-flex align-items-center">
<div id="circle-{{category.slug}}"></div>
<span class="category text-uppercase pl-2">{{CIRCLES[category.slug]}}</span>
......
{% macro header_content(category) %}
<div class="container">
<a href="{{SITEURL}}/{{category.save_as}}" class="btn btn-dark mb-2 p-2" id="header-btn">
<a href="{{SITEURL}}/{{category.save_as}}" class="header-btn btn btn-dark mb-2 p-2">
<div class="row m-0 d-flex align-items-center">
<div id="circle-{{category.slug}}"></div>
<span class="category text-uppercase pl-2">{{CIRCLES[category.slug]}}</span>
......
......@@ -3,7 +3,7 @@
{% block header_content %}
{% set article = articles | highlighted_article(HIGHLIGHT_SETTINGS) -%}
<div class="container">
<a href="{{SITEURL}}/{{article.category.url}}" class="btn btn-dark mb-2 p-2" id="header-btn">
<a href="{{SITEURL}}/{{article.category.url}}" class="header-btn btn btn-dark mb-2 p-2">
<div class="row m-0 d-flex align-items-center">
<div id="circle-{{article.category.slug}}"></div>
<span class="category text-uppercase pl-2">{{CIRCLES[article.category.slug]}}</span>
......@@ -32,7 +32,7 @@
</div>
<p class="font-weight-light text-center pt-4">{{article.summary}}</p>
<a href="{{SITEURL}}/{{article.url}}">
<div class="btn btn-outline-dark detail" id="header-btn">
<div class="header-btn btn btn-outline-dark detail">
L'événement en détail
</div>
</a>
......@@ -180,7 +180,7 @@
<p>Le groupe Calcul est né au sein du département SPM (aujourd'hui MPPU) du CNRS.</p>
<p>Aujourd'hui, c'est plus de 100 événements par an, jusqu'à 50 journées de formations animées lorem ipsum dolor, 1 newsletter mensuelle lorem ipsum dolor sit amet lorem ...</p>
</div>
<button type="button" class="btn btn-outline-dark" id="header-btn">Le groupe en détail</button>
<button type="button" class="header-btn btn btn-outline-dark">Le groupe en détail</button>
</div>
{% endblock content %}
......
......@@ -2,7 +2,7 @@
{% block header_content %}
<div class="container">
<a href="{{SITEURL}}/{{category.save_as}}" class="btn btn-dark mb-2 p-2" id="header-btn">
<a href="{{SITEURL}}/{{category.save_as}}" class="header-btn btn btn-dark mb-2 p-2">
<div class="row m-0 d-flex align-items-center">
<div id="circle-{{category.slug}}"></div>
<span class="category text-uppercase pl-2">{{CIRCLES[category.slug]}}</span>
......
......@@ -5,7 +5,7 @@
{% block header_content %}
<div class="container">
<a href="{{ SITEURL }}/category/job.html" class="btn btn-dark mb-2 p-2" id="header-btn">
<a href="{{ SITEURL }}/category/job.html" class="header-btn btn btn-dark mb-2 p-2">
<div class="row m-0 d-flex align-items-center">
<div id="circle-job"></div>
<span class="category text-uppercase pl-2">{{CIRCLES['job']}}</span>
......
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