refactor et travail css
This commit is contained in:
@@ -1,23 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="">
|
||||
<head>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="icon" type="image/png" href="logo_noir.png">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>formulaire mémoire</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
</head>
|
||||
|
||||
<header>
|
||||
<body>
|
||||
<!-- ENTÊTE -->
|
||||
|
||||
<div id="header">
|
||||
<h1><a href="index.html">Mémoire post-ERG/A life after ERG</a></h1>
|
||||
</div>
|
||||
|
||||
</header>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<a href="index.html">Mémoire post-ERG/A life after ERG</a>
|
||||
</header>
|
||||
|
||||
<!-- MENU -->
|
||||
|
||||
@@ -27,7 +23,7 @@
|
||||
<a href="apropos.html" button class="boutton boutton1">À propos</a>
|
||||
<a href="contact.html" button class="boutton boutton1">Contact</a>
|
||||
<a href="licences.html" button class="boutton boutton1">Licences</a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="wrapper">
|
||||
|
||||
|
||||
@@ -129,5 +125,6 @@
|
||||
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
29
index.html
29
index.html
@@ -3,7 +3,7 @@
|
||||
|
||||
<head>
|
||||
|
||||
<link href="reset.css" >
|
||||
<link href="reset.css">
|
||||
<link href="style.css" rel="stylesheet">
|
||||
<meta charset="UTF-8">
|
||||
<meta name="author" content="">
|
||||
@@ -17,27 +17,30 @@
|
||||
|
||||
<body>
|
||||
<!-- ENTÊTE -->
|
||||
<header>
|
||||
<a href="index.html">Mémoire post-ERG/A life after ERG</a>
|
||||
</header>
|
||||
|
||||
<!-- MENU -->
|
||||
|
||||
<header>
|
||||
<a href="index.html">Mémoire post-ERG / A life after ERG</a>
|
||||
<div class="menu">
|
||||
<div class="menu-content">
|
||||
<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="apropos.html" button class="boutton boutton1">À propos</a>
|
||||
<a href="contact.html" button class="boutton boutton1">Contact</a>
|
||||
<a href="licences.html" button class="boutton boutton1">Licences</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<!-- MENU -->
|
||||
|
||||
|
||||
|
||||
<!-- GRILLE -->
|
||||
|
||||
<div class="grille01">
|
||||
<div class="grille_01">Colonne 1</div>
|
||||
<div class="grille_02">Colonne 2</div>
|
||||
<div class="grid-section">
|
||||
<div class="grid-main">
|
||||
<div class="grid1">Colonne 1</div>
|
||||
<div class="grid2">Colonne 2</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
|
||||
38
style.css
38
style.css
@@ -3,10 +3,6 @@
|
||||
src: url("fonts/Combinedd.otf");
|
||||
}
|
||||
|
||||
html {
|
||||
display: block;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: white;
|
||||
/* overflow-x: hidden; */
|
||||
@@ -43,15 +39,21 @@
|
||||
/* MENU */
|
||||
|
||||
.menu {
|
||||
position: inherit;
|
||||
width: 100vw;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.menu-content{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: left;
|
||||
align-items: flex-start;
|
||||
margin-top: 6vh;
|
||||
padding: 2em;
|
||||
gap: 0.3em;
|
||||
align-self: flex-start;
|
||||
width: 70vw;
|
||||
justify-content: center;
|
||||
/* align-items: flex; */
|
||||
/* margin-top: 8vh; */
|
||||
padding: 2rem;
|
||||
gap: 1rem;
|
||||
/* align-self: flex-start; */
|
||||
|
||||
}
|
||||
|
||||
.boutton {
|
||||
@@ -65,6 +67,7 @@
|
||||
transition-duration: 0.4s;
|
||||
cursor: pointer;
|
||||
border-radius: 16px;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.boutton1 {
|
||||
@@ -80,23 +83,28 @@
|
||||
|
||||
|
||||
/* GRILLE */
|
||||
.grid-section{
|
||||
display: block;
|
||||
/* position: fixed; */
|
||||
margin: 30%;
|
||||
}
|
||||
|
||||
.grille01 {
|
||||
.grid-main {
|
||||
display: grid;
|
||||
margin-top: 40vh;
|
||||
/* margin-top:20vh; */
|
||||
margin-right: 1vw;
|
||||
grid-template-columns: repeat(5, 1fr);
|
||||
grid-gap: 10px;
|
||||
grid-auto-rows: minmax(100px, auto);
|
||||
}
|
||||
|
||||
.grille_01 {
|
||||
.grid1 {
|
||||
grid-column: 1 / 5;
|
||||
grid-row: 1 / 12;
|
||||
background-color: #c104fc;
|
||||
}
|
||||
|
||||
.grille_02 {
|
||||
.grid2 {
|
||||
grid-column: 5 / 5;
|
||||
grid-row: 1 / 12;
|
||||
background-color: #4da870;
|
||||
|
||||
Reference in New Issue
Block a user