Compare commits

..

No commits in common. "dfe6575b268b67eba59f158204ed02f47080ae0a" and "2afc5cd36b80ac2d649e736bb5c501a91197e97f" have entirely different histories.

5 changed files with 10 additions and 60 deletions

View file

@ -1,6 +1,4 @@
#news { #news {
overflow: auto; overflow: auto;
height: 150px; height: 150px;
border: solid black;
padding-left: 1em;
} }

View file

@ -1,10 +1,11 @@
body { body {
margin: 0; margin: 0;
/*display: flex;
flex-direction: column;*/
display: grid; display: grid;
grid-template-areas: min-height: 100vh;
"header header" /*grid-template-rows: auto 1fr auto;*/
"menu main" grid-template-columns: 0.2fr 1fr;
"footer footer";
} }
header { header {
@ -13,7 +14,7 @@ header {
margin-top: 2em; margin-top: 2em;
margin-left: 3em; margin-left: 3em;
margin-right: 3em; margin-right: 3em;
grid-area: header; grid-column: 1 / 3;
} }
header a { header a {
@ -58,7 +59,7 @@ header h2 {
margin: 2em 0 2em 3em; margin: 2em 0 2em 3em;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
grid-area: menu; grid-column: 1;
} }
#header-links a { #header-links a {
@ -73,14 +74,13 @@ header h2 {
#main { #main {
margin: 2em 3em 5em 1em; margin: 2em 3em 5em 1em;
grid-area: main;
} }
footer { footer {
background-color: #304B99; background-color: #304B99;
padding: 1em; padding: 1em;
padding-bottom: 0; padding-bottom: 0;
grid-area: footer; grid-column: 1/4;
} }
#buttons { #buttons {
@ -130,46 +130,3 @@ footer {
#buttons div { #buttons div {
margin-bottom: 1em; margin-bottom: 1em;
} }
@media only screen and (max-width: 641px) {
body {
grid-template-areas:
"header header"
"main main"
"menu menu"
"footer footer";
}
#header-links {
position: sticky;
bottom: 0;
margin-left: 0;
margin-top: 0;
flex-direction: row;
background-color: white;
border-top: solid black;
flex-wrap: wrap;
}
header {
display: flex;
flex-direction: column;
}
#lang {
justify-items: center;
}
#main {
margin: 2em 1em 2em 1em;
}
#footer-main {
display: flex;
flex-direction: column;
}
.pred-buttons {
align-self: center;
}
}

View file

@ -2,7 +2,6 @@
<html lang="%lang%"> <html lang="%lang%">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Security-Policy" content="default-src 'self';"> <meta http-equiv="Content-Security-Policy" content="default-src 'self';">
<link rel="icon" href="/img/favicon.gif" type="image/gif" /> <link rel="icon" href="/img/favicon.gif" type="image/gif" />
<link rel="stylesheet" href="/css/style.css" /> <link rel="stylesheet" href="/css/style.css" />

View file

@ -37,9 +37,7 @@ rel="stylesheet" href="/css/index.css"
<p><code>13-04-2022:</code> add this section.</p> <p><code>13-04-2022:</code> add this section.</p>
</div> </div>
<!-- <hr />
<hr />
-->
<!-- <!--
<h3>A propos de l'annuaire</h3> <h3>A propos de l'annuaire</h3>

View file

@ -37,9 +37,7 @@ rel="stylesheet" href="/css/index.css"
<p><code>13-04-2022:</code> ajout de cette section.</p> <p><code>13-04-2022:</code> ajout de cette section.</p>
</div> </div>
<!-- <hr />
<hr />
-->
<!-- <!--
<h2>L'annuaire est temporairement supprimé.</h2> <h2>L'annuaire est temporairement supprimé.</h2>