parent
c78411872b
commit
30bc5f49e8
@ -22,6 +22,7 @@ $enable-responsive-typography: true;
|
|||||||
}
|
}
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
|
--pico-font-size: 80%;
|
||||||
--spacing: 0.4rem;
|
--spacing: 0.4rem;
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
@ -306,27 +307,31 @@ header .title {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.title.small h1 {
|
||||||
|
font-size: 150%;
|
||||||
|
}
|
||||||
|
|
||||||
.navigation {
|
.navigation {
|
||||||
@media only screen and (min-width: 992px) {
|
|
||||||
margin-top: -3.5em;
|
|
||||||
}
|
|
||||||
margin: 1em 0;
|
margin: 1em 0;
|
||||||
|
height: 2.5em;
|
||||||
|
@media only screen and (min-width: 992px) {
|
||||||
|
margin: -3.4em 0 3.4em 0;
|
||||||
|
height: fit-content;
|
||||||
|
}
|
||||||
|
|
||||||
padding: 0;
|
padding: 0;
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
gap: 0.2em;
|
|
||||||
div {
|
div {
|
||||||
width: 0;
|
width: fit-content;
|
||||||
flex: 1 1 0px;
|
float: left;
|
||||||
a {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
@media only screen and (min-width: 992px) {
|
@media only screen and (min-width: 992px) {
|
||||||
a {
|
a {
|
||||||
width: 10em;
|
width: 10em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
div.right {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
<article>
|
<article>
|
||||||
<header>
|
<header>
|
||||||
<div class="title"><h1>{{ calendar.firstdate | date:"F o" }}</h1></div>
|
<div class="title small"><h1>{{ calendar.firstdate | date:"F o" }}</h1></div>
|
||||||
<div class="navigation">
|
<div class="navigation">
|
||||||
<div>
|
<div>
|
||||||
{% if calendar.firstdate|shift_day:-1|not_before_first %}
|
{% if calendar.firstdate|shift_day:-1|not_before_first %}
|
||||||
|
@ -28,7 +28,12 @@
|
|||||||
|
|
||||||
<article>
|
<article>
|
||||||
<header>
|
<header>
|
||||||
<div class="title"><h1>Semaine du {{ calendar.calendar_days_list.0.date |date|frdate }}</h1></div>
|
<div class="title small"><h1>
|
||||||
|
{% if calendar.today_in_calendar %}
|
||||||
|
Cette semaine
|
||||||
|
{% else %}
|
||||||
|
semaine du {{ calendar.calendar_days_list.0.date |date:"j F"|frdate }}
|
||||||
|
{% endif %}</h1></div>
|
||||||
<div class="navigation">
|
<div class="navigation">
|
||||||
<div>
|
<div>
|
||||||
{% if calendar.firstdate|shift_day:-1|not_before_first %}
|
{% if calendar.firstdate|shift_day:-1|not_before_first %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user