amélioration rendus
This commit is contained in:
parent
91f452a8fa
commit
036f07073d
@ -1,11 +1,13 @@
|
|||||||
/* Custom Pink version */
|
/* Custom Pink version */
|
||||||
|
|
||||||
// Override default variables
|
// Override default variables
|
||||||
$primary-500: #00aaaa;
|
/*$primary-500: #00aaaa;
|
||||||
$primary-600: #009696;
|
$primary-600: #009696;
|
||||||
$primary-700: #008080;
|
$primary-700: #008080;*/
|
||||||
|
|
||||||
|
$primary-500: #008989;
|
||||||
|
$primary-600: #008080;
|
||||||
|
$primary-700: #006c6c;
|
||||||
|
|
||||||
// Import Pico
|
// Import Pico
|
||||||
@import "./pico/pico";
|
@import "./pico/pico";
|
||||||
@ -114,7 +116,8 @@ svg {
|
|||||||
padding: 0.8em 0;
|
padding: 0.8em 0;
|
||||||
margin: 0 1em 0 0;
|
margin: 0 1em 0 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width: 7em;
|
width: 25%;
|
||||||
|
min-width: 7em;
|
||||||
|
|
||||||
.large {
|
.large {
|
||||||
font-size: 140%;
|
font-size: 140%;
|
||||||
@ -133,7 +136,8 @@ svg {
|
|||||||
.ephemeris-hour {
|
.ephemeris-hour {
|
||||||
@extend .ephemeris;
|
@extend .ephemeris;
|
||||||
padding: 1.5em 0.1em;
|
padding: 1.5em 0.1em;
|
||||||
width: 5em;
|
width: 15%;
|
||||||
|
min-width: 5em;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -208,8 +212,9 @@ article.day>ul {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.day.today>header {
|
.day.today>header,
|
||||||
background: rgba(255, 0, 140, 0.15);
|
.day.today {
|
||||||
|
background: rgba(255, 0, 76, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.day.past {
|
.day.past {
|
||||||
|
@ -17,8 +17,10 @@
|
|||||||
{% if display == "in list" %}
|
{% if display == "in list" %}
|
||||||
{% include "agenda_culturel/ephemeris-inc.html" with event=event %}
|
{% include "agenda_culturel/ephemeris-inc.html" with event=event %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{{ event.category | small_cat }}
|
||||||
{% if event.location %}<hgroup>{% endif %}
|
{% if event.location %}<hgroup>{% endif %}
|
||||||
{% if display == "in list" %}<h2>{% else %}<h3>{% endif %}
|
{% if display == "in list" %}<h2>{% else %}<h3>{% endif %}
|
||||||
|
|
||||||
<a href="{{ event.get_absolute_url }}">{{ event.title }}</a>
|
<a href="{{ event.get_absolute_url }}">{{ event.title }}</a>
|
||||||
{% if display == "in list" %}</h2>{% else %}</h3>{% endif %}
|
{% if display == "in list" %}</h2>{% else %}</h3>{% endif %}
|
||||||
{% if event.location %}
|
{% if event.location %}
|
||||||
@ -66,6 +68,7 @@
|
|||||||
{% else %}
|
{% else %}
|
||||||
<header>
|
<header>
|
||||||
{% include "agenda_culturel/ephemeris-inc.html" with event=event %}
|
{% include "agenda_culturel/ephemeris-inc.html" with event=event %}
|
||||||
|
{{ event.category | small_cat }}
|
||||||
<h1>{{ event.title }}</h1>
|
<h1>{{ event.title }}</h1>
|
||||||
<p><svg width="1em" height="1em" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
<p><svg width="1em" height="1em" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
||||||
<use href="{% static 'images/feather-sprite.svg' %}#calendar" />
|
<use href="{% static 'images/feather-sprite.svg' %}#calendar" />
|
||||||
@ -114,18 +117,6 @@
|
|||||||
|
|
||||||
<footer class="infos-and-buttons">
|
<footer class="infos-and-buttons">
|
||||||
<div class="infos">
|
<div class="infos">
|
||||||
<p>
|
|
||||||
{% if mode %}
|
|
||||||
{% if category %}
|
|
||||||
{{ event.category | small_cat }}
|
|
||||||
{% else %}
|
|
||||||
{% url 'view_mode_cat' selected_mode.name event.category.pk as url_cat %}
|
|
||||||
{{ event.category | small_cat:url_cat }}
|
|
||||||
{% endif %}
|
|
||||||
{% else %}
|
|
||||||
{{ event.category | small_cat }}
|
|
||||||
{% endif %}
|
|
||||||
</p>
|
|
||||||
<p>
|
<p>
|
||||||
{% for tag in event.tags %}
|
{% for tag in event.tags %}
|
||||||
<a href="{% url 'view_tag' tag %}" role="button" class="small-cat">{{ tag }}</a>
|
<a href="{% url 'view_tag' tag %}" role="button" class="small-cat">{{ tag }}</a>
|
||||||
|
@ -53,7 +53,7 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<article>
|
<article>
|
||||||
Il n'y a pas d'événement prévu à cette date.
|
<em>Il n'y a pas d'événement prévu à cette date.</em>
|
||||||
</article>
|
</article>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user