Merge branch 'master' of codeberg.org:memoireERG/posterg-front-end

This commit is contained in:
Olivia Marly
2022-12-21 14:24:12 +01:00
3 changed files with 151 additions and 133 deletions

View File

@@ -1,23 +1,19 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang=""> <html lang="">
<head>
<head>
<meta charset="utf-8"> <meta charset="utf-8">
<link rel="icon" type="image/png" href="logo_noir.png"> <link rel="icon" type="image/png" href="logo_noir.png">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>formulaire mémoire</title> <title>formulaire mémoire</title>
<link rel="stylesheet" href="style.css"> <link rel="stylesheet" href="style.css">
</head> </head>
<header> <body>
<!-- ENTÊTE --> <!-- ENTÊTE -->
<header>
<div id="header"> <a href="index.html">Mémoire post-ERG/A life after ERG</a>
<h1><a href="index.html">Mémoire post-ERG/A life after ERG</a></h1> </header>
</div>
</header>
<body>
<!-- MENU --> <!-- MENU -->
@@ -27,10 +23,9 @@
<a href="apropos.html" button class="boutton boutton1">À propos</a> <a href="apropos.html" button class="boutton boutton1">À propos</a>
<a href="contact.html" button class="boutton boutton1">Contact</a> <a href="contact.html" button class="boutton boutton1">Contact</a>
<a href="licences.html" button class="boutton boutton1">Licences</a> <a href="licences.html" button class="boutton boutton1">Licences</a>
</div> </div>
<div id="wrapper"> <div id="wrapper">
<section id="main-content"> <section id="main-content">
@@ -124,10 +119,12 @@
</form> </form>
</section> </section>
</div> </div>
</body> </body>
</html> </html>

View File

@@ -3,7 +3,7 @@
<head> <head>
<link href="reset.css" > <link href="reset.css">
<link href="style.css" rel="stylesheet"> <link href="style.css" rel="stylesheet">
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="author" content=""> <meta name="author" content="">
@@ -14,34 +14,33 @@
</head> </head>
<header>
<!-- ENTÊTE -->
<div id="header">
<h1><a href="index.html">Mémoire post-ERG/A life after ERG</a></h1>
</div>
</header>
<body> <body>
<!-- ENTÊTE -->
<!-- MENU --> <header>
<a href="index.html">Mémoire post-ERG / A life after ERG</a>
<div class="menu"> <div class="menu">
<div class="menu-content">
<input type="search" name="search" placeholder="Recherche..." button class="boutton boutton1"></input> <input type="search" name="search" placeholder="Recherche..." button class="boutton boutton1"></input>
<a href="formulaire.html" button class="boutton boutton1">Partager un mémoire</a> <a href="formulaire.html" button class="boutton boutton1">Partager un mémoire</a>
<a href="apropos.html" button class="boutton boutton1">À propos</a> <a href="apropos.html" button class="boutton boutton1">À propos</a>
<a href="contact.html" button class="boutton boutton1">Contact</a> <a href="contact.html" button class="boutton boutton1">Contact</a>
<a href="licences.html" button class="boutton boutton1">Licences</a> <a href="licences.html" button class="boutton boutton1">Licences</a>
</div> </div>
</div>
</header>
<!-- MENU -->
<!-- GRILLE --> <!-- GRILLE -->
<div class="grid-section">
<div class="grille01"> <div class="grid-main">
<div class="grille_01">Colonne 1</div> <div class="grid1">Colonne 1</div>
<div class="grille_02">Colonne 2</div> <div class="grid2">Colonne 2</div>
</div>
</div> </div>
</body> </body>

126
style.css
View File

@@ -1,54 +1,62 @@
html{ @font-face {
display: block; font-family: police1;
} src: url("fonts/Combinedd.otf");
}
header{ body {
background-color: white;
/* overflow-x: hidden; */
/* width: 100%; */
}
/* ENTÊTE */
header {
font-family: 'police1';
position: fixed; position: fixed;
background: rgb(77,168,112); background: linear-gradient(315deg, rgba(77, 168, 112, 1) 0%, rgba(193, 4, 252, 1) 66%);
background: linear-gradient(315deg, rgba(77,168,112,1) 0%, rgba(193,4,252,1) 66%);
top: 0; top: 0;
left: 0; left: 0;
margin: 0; margin: 0;
height: 10vh; padding: 1.2rem;
width: 100%;} height: auto;
width: 100%;
body { text-decoration: none;
background-color:white; outline: none;
/* overflow-x: hidden; */
/* width: 100%; */
margin-top: 8vh;
margin-left: 0s;
}
@font-face{
font-family:police1;
src:url("fonts/Combinedd.otf");}
h1{
font-family:police1;
font-size: 2rem; font-size: 2rem;
color: white; }
margin-left: 1.5vw;
margin-top: 4vh;
}
header a {
text-decoration: none;
color: white;
outline: none;
}
header a:hover {
color: rgba(77, 168, 112, 1);
}
/* MENU */ /* MENU */
.menu { .menu {
position: inherit;
width: 100vw;
left: 0;
}
.menu-content{
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content:left; justify-content: center;
align-items: flex-start; /* align-items: flex; */
margin: 0; /* margin-top: 8vh; */
padding: 2em; padding: 2rem;
gap: 0.3em; gap: 1rem;
align-self: flex-start; /* align-self: flex-start; */
width: 70vw;
}
.boutton { }
/* border: none; */
.boutton {
margin: 0; margin: 0;
width: auto; width: auto;
padding: 0.8rem; padding: 0.8rem;
@@ -58,32 +66,46 @@ h1{
font-family: police1; font-family: police1;
transition-duration: 0.4s; transition-duration: 0.4s;
cursor: pointer; cursor: pointer;
border-radius: 16px;} border-radius: 16px;
.boutton1 { background-color: white;
}
.boutton1 {
background-color: none; background-color: none;
color: rgb(193,4,252); color: rgb(193, 4, 252);
border: 1px solid rgb(193,4,252);} border: 1px solid rgb(193, 4, 252);
.boutton1:hover { }
background-color: rgb(193,4,252);
color: white;} .boutton1:hover {
background-color: rgb(193, 4, 252);
color: white;
}
/* GRILLE */ /* GRILLE */
.grid-section{
display: block;
/* position: fixed; */
margin: 30%;
}
.grille01 { .grid-main {
display: grid; display: grid;
margin-top: 40vh; /* margin-top:20vh; */
margin-right: 1vw; margin-right: 1vw;
grid-template-columns: repeat(5, 1fr); grid-template-columns: repeat(5, 1fr);
grid-gap: 10px; grid-gap: 10px;
grid-auto-rows: minmax(100px, auto); grid-auto-rows: minmax(100px, auto);
} }
.grille_01 {
.grid1 {
grid-column: 1 / 5; grid-column: 1 / 5;
grid-row: 1 / 12; grid-row: 1 / 12;
background-color: #c104fc; background-color: #c104fc;
} }
.grille_02 {
.grid2 {
grid-column: 5 / 5; grid-column: 5 / 5;
grid-row: 1 / 12; grid-row: 1 / 12;
background-color: #4da870;} background-color: #4da870;
}