refactorisation du css et index.html
This commit is contained in:
12
index.html
12
index.html
@@ -14,16 +14,12 @@
|
|||||||
</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 -->
|
||||||
|
<header>
|
||||||
|
<a href="index.html">Mémoire post-ERG/A life after ERG</a>
|
||||||
|
</header>
|
||||||
|
|
||||||
<!-- MENU -->
|
<!-- MENU -->
|
||||||
|
|
||||||
|
|||||||
68
style.css
68
style.css
@@ -1,37 +1,44 @@
|
|||||||
|
@font-face {
|
||||||
|
font-family: police1;
|
||||||
|
src: url("fonts/Combinedd.otf");
|
||||||
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
header{
|
|
||||||
position: fixed;
|
|
||||||
background: rgb(77,168,112);
|
|
||||||
background: linear-gradient(315deg, rgba(77,168,112,1) 0%, rgba(193,4,252,1) 66%);
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
margin: 0;
|
|
||||||
height: 10vh;
|
|
||||||
width: 100%;}
|
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: white;
|
background-color: white;
|
||||||
/* overflow-x: hidden; */
|
/* overflow-x: hidden; */
|
||||||
/* width: 100%; */
|
/* width: 100%; */
|
||||||
margin-top: 8vh;
|
|
||||||
margin-left: 0s;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face{
|
/* ENTÊTE */
|
||||||
font-family:police1;
|
header {
|
||||||
src:url("fonts/Combinedd.otf");}
|
font-family: 'police1';
|
||||||
|
position: fixed;
|
||||||
h1{
|
background: linear-gradient(315deg, rgba(77, 168, 112, 1) 0%, rgba(193, 4, 252, 1) 66%);
|
||||||
font-family:police1;
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
margin: 0;
|
||||||
|
padding: 1.2rem;
|
||||||
|
height: auto;
|
||||||
|
width: 100%;
|
||||||
|
text-decoration: none;
|
||||||
|
outline: none;
|
||||||
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 */
|
||||||
|
|
||||||
@@ -40,7 +47,7 @@ h1{
|
|||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: left;
|
justify-content: left;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
margin: 0;
|
margin-top: 6vh;
|
||||||
padding: 2em;
|
padding: 2em;
|
||||||
gap: 0.3em;
|
gap: 0.3em;
|
||||||
align-self: flex-start;
|
align-self: flex-start;
|
||||||
@@ -48,7 +55,6 @@ h1{
|
|||||||
}
|
}
|
||||||
|
|
||||||
.boutton {
|
.boutton {
|
||||||
/* border: none; */
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
width: auto;
|
width: auto;
|
||||||
padding: 0.8rem;
|
padding: 0.8rem;
|
||||||
@@ -58,14 +64,19 @@ 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 {
|
.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 {
|
.boutton1:hover {
|
||||||
background-color: rgb(193, 4, 252);
|
background-color: rgb(193, 4, 252);
|
||||||
color: white;}
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* GRILLE */
|
/* GRILLE */
|
||||||
@@ -78,12 +89,15 @@ h1{
|
|||||||
grid-gap: 10px;
|
grid-gap: 10px;
|
||||||
grid-auto-rows: minmax(100px, auto);
|
grid-auto-rows: minmax(100px, auto);
|
||||||
}
|
}
|
||||||
|
|
||||||
.grille_01 {
|
.grille_01 {
|
||||||
grid-column: 1 / 5;
|
grid-column: 1 / 5;
|
||||||
grid-row: 1 / 12;
|
grid-row: 1 / 12;
|
||||||
background-color: #c104fc;
|
background-color: #c104fc;
|
||||||
}
|
}
|
||||||
|
|
||||||
.grille_02 {
|
.grille_02 {
|
||||||
grid-column: 5 / 5;
|
grid-column: 5 / 5;
|
||||||
grid-row: 1 / 12;
|
grid-row: 1 / 12;
|
||||||
background-color: #4da870;}
|
background-color: #4da870;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user