Compare commits
3 commits
2afc5cd36b
...
dfe6575b26
Author | SHA1 | Date | |
---|---|---|---|
dfe6575b26 | |||
09d1777aa7 | |||
e65d24700c |
5 changed files with 60 additions and 10 deletions
|
@ -1,4 +1,6 @@
|
|||
#news {
|
||||
overflow: auto;
|
||||
height: 150px;
|
||||
border: solid black;
|
||||
padding-left: 1em;
|
||||
}
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
body {
|
||||
margin: 0;
|
||||
/*display: flex;
|
||||
flex-direction: column;*/
|
||||
display: grid;
|
||||
min-height: 100vh;
|
||||
/*grid-template-rows: auto 1fr auto;*/
|
||||
grid-template-columns: 0.2fr 1fr;
|
||||
grid-template-areas:
|
||||
"header header"
|
||||
"menu main"
|
||||
"footer footer";
|
||||
}
|
||||
|
||||
header {
|
||||
|
@ -14,7 +13,7 @@ header {
|
|||
margin-top: 2em;
|
||||
margin-left: 3em;
|
||||
margin-right: 3em;
|
||||
grid-column: 1 / 3;
|
||||
grid-area: header;
|
||||
}
|
||||
|
||||
header a {
|
||||
|
@ -59,7 +58,7 @@ header h2 {
|
|||
margin: 2em 0 2em 3em;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
grid-column: 1;
|
||||
grid-area: menu;
|
||||
}
|
||||
|
||||
#header-links a {
|
||||
|
@ -74,13 +73,14 @@ header h2 {
|
|||
|
||||
#main {
|
||||
margin: 2em 3em 5em 1em;
|
||||
grid-area: main;
|
||||
}
|
||||
|
||||
footer {
|
||||
background-color: #304B99;
|
||||
padding: 1em;
|
||||
padding-bottom: 0;
|
||||
grid-column: 1/4;
|
||||
grid-area: footer;
|
||||
}
|
||||
|
||||
#buttons {
|
||||
|
@ -130,3 +130,46 @@ footer {
|
|||
#buttons div {
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
<html lang="%lang%">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src 'self';">
|
||||
<link rel="icon" href="/img/favicon.gif" type="image/gif" />
|
||||
<link rel="stylesheet" href="/css/style.css" />
|
||||
|
|
|
@ -37,7 +37,9 @@ rel="stylesheet" href="/css/index.css"
|
|||
<p><code>13-04-2022:</code> add this section.</p>
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
<!--
|
||||
<hr />
|
||||
-->
|
||||
|
||||
<!--
|
||||
<h3>A propos de l'annuaire</h3>
|
||||
|
|
|
@ -37,7 +37,9 @@ rel="stylesheet" href="/css/index.css"
|
|||
<p><code>13-04-2022:</code> ajout de cette section.</p>
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
<!--
|
||||
<hr />
|
||||
-->
|
||||
|
||||
<!--
|
||||
<h2>L'annuaire est temporairement supprimé.</h2>
|
||||
|
|
Loading…
Add table
Reference in a new issue