Public Access
5
0
Files
web01/www/css/style.css

997 lines
18 KiB
CSS

@charset "UTF-8";
/* La feuille de style est encodée en UTF-8 */
/****************************/
/* PAGE: Tous */
/* AUTEUR: Tous */
/* Nav + footer: Jérémy */
/****************************/
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/** SECTION modifier par script **/
#updateDate {
visibility: hidden;
display: none;
}
#updateDateV {
visibility: visible;
display: block;
background-color: yellow;
font-weight: bold;
color: black;
}
#updateDateW {
visibility: visible;
display: block;
font-weight: bold;
color: white;
}
#pageCouranteNAV {
text-shadow: violet 2px;
box-shadow: #ffefe5;
}
/** FIN DE SECTION modifier par script **/
.sidebyside {
display: flex;
}
.centered {
text-align: center;
margin: auto;
display: block;
}
body {
min-height: 100vh;
/* Pour footer at bottom from : https://douiri.org/blog/fix-footer-bottom-css/ */
display: grid;
grid-template-rows: auto 1fr auto;
/* SEE: https://www.geeksforgeeks.org/css/css-grid-layout-the-fr-unit/ */
font-family: "Rubik", sans-serif;
font-weight: 300;
font-style: normal;
}
nav {
display: flex;
background-color: #13172c;
justify-content: space-between;
position: sticky;
top: 0;
height: 60px;
font-weight: 500;
z-index: 100;
}
nav ul {
display: flex;
list-style: none;
align-items: center;
}
nav img {
justify-self: left;
width: 15%;
}
nav a {
display: flex;
align-items: center;
text-decoration: none;
color: #ffefe5;
padding: 0 16px;
margin: 0 4px;
}
nav a:hover {
height: 40px;
border-radius: 20px;
background-color: #b47871;
}
.boutonAccueil {
display: contents;
}
footer {
background-color: #13172c;
text-align: center;
color: #ffefe5;
width: 100%;
padding: 16px;
}
::selection {
/*Source: https://openclassrooms.com/forum/sujet/couleur-surlignage-34526*/
background-color: #641a10;
}
/****************************/
/* PAGE: Accueil */
/* AUTEUR: Léa */
/****************************/
.accueil {
color: #ffefe5;
}
.accueil h1 {
font-size: 3.5rem;
}
.accueil h2:not(#rencontreEquipe h2) {
font-size: 2.5rem;
margin-bottom: 30px;
}
.accueil main p:not(#rencontreEquipe p, .droite p) {
margin: auto;
padding: 1% 45% 1% 0%;
}
.accueil .droite p {
margin: auto;
padding: 1% 0% 1% 45%;
}
.accueil section {
width: 100%;
}
.accueil header div {
width: 100%;
padding: 5%;
}
.accueil #video {
width: 100%;
height: auto;
display: block;
}
.accueil #texte {
background-color: #13172cb0;
position: absolute;
top: 5%;
left: 50%;
padding-bottom: 36.6%;
transform: translate(-50%, 0);
z-index: 10;
}
.accueil #rencontreEquipe {
display: flex;
flex-wrap: wrap;
background-color: #E6ECF3;
color: #606060;
height: 85vh;
}
.accueil #rencontreEquipe div {
width: 25%;
padding-top: 30px;
justify-content: center;
}
.accueil #rencontreEquipe div p {
margin: 5px;
text-align: center;
}
.accueil #rencontreEquipe div img {
width: 80%;
border-radius: 50%;
padding: 15px;
margin: 0px 10% 0px 10%;
}
.accueil #rencontreEquipe a {
display: inline-block;
text-decoration: none;
color: #FFEFE5;
padding: 10.8px 16px;
margin: auto;
background-color: #273A56;
border-radius: 20px;
}
.accueil #rencontreEquipe a:hover {
border-radius: 20px;
background-color: #b47871;
}
.accueil main a:not(#rencontreEquipe a) {
display: inline-block;
text-decoration: none;
color: #ffefe5;
padding: 10.8px 16px;
margin: 4px 0px;
background-color: #13172c;
border-radius: 20px;
}
.accueil main a:hover:not(#rencontreEquipe a) {
border-radius: 20px;
background-color: #b47871;
}
.accueil #histoireDE {
background: #13172c url("../images/ImagesLea/warframeStoryDE.jpg") center/cover;
}
.accueil .fondOpaqueGauche {
background-color: #13172cb0;
height: 75vh;
padding: 5%;
margin: auto;
}
.accueil #universSciFi {
background: #13172c url("../images/ImagesLea/sciFi1999.jpg") bottom/cover;
}
.accueil #universSciFi h2 {
margin-top: 4%;
}
.accueil .fondOpaqueDroite div {
background-color: #13172cb0;
text-align: right;
height: 75vh;
padding: 5%;
}
.accueil #stylesMission {
background: #13172c url("../images/ImagesLea/warframeOrowyrm.jpg") top/cover;
}
.accueil #armures {
background: #13172c url("../images/ImagesLea/warframeWeapons.jpg") top/cover;
}
/****************************/
/* PAGE: à Propos */
/* AUTEUR: Stanislas */
/****************************/
.aPropos {
background-color: rgb(99, 241, 99);
}
.aPropos main {
margin: auto;
/* min-height: calc(100vh - 60px); */
/* display: block; */
}
.aPropos .sidebyside>div {
margin: 5px 20px;
}
.aPropos textarea {
resize: none;
width: 100%;
}
.aPropos form {
width: 70ch;
margin: auto;
background-color: #273A56;
border-radius: 15px;
padding: 10px;
color: #E6ECF3;
overflow: scroll;
}
.aPropos fieldset {
padding: 10px;
width: 100%;
border-color: #606060;
margin: 10px auto;
}
/*.aPropos div {*/
/* display: block; */
/*}*/
/****************************/
/* PAGE: L'équipe */
/* AUTEUR: Jérémy */
/****************************/
.team {
background: #13172c url("../images/imagesTeam/Intro.png") center;
background-size: cover;
background-position: top;
color: #ffefe5;
}
.team header.introduction {
background: #13172c url("../images/imagesTeam/Introduction.png") center/cover fixed;
background-position: top;
height: 100vh;
display: block;
text-align: center;
align-content: center;
line-height: 5;
font-size: 2rem;
}
.team header.introduction div.introduction {
background-color: #13172cd5;
height: 100vh;
}
.team header.introduction button {
color: #ffefe5;
padding: 0 16px;
margin: 0 4px;
height: 40px;
border: none;
border-radius: 20px;
background-color: #13172c;
}
.team header.introduction button a {
display: flex;
align-items: center;
align-content: center;
text-decoration: none;
}
.team header.introduction button:hover {
height: 40px;
border-radius: 20px;
background-color: #b47871;
}
.team main {
margin: auto;
}
.team div.titre {
grid-area: titre;
text-align: center;
font-size: 2rem;
padding-top: 66px;
}
.team div.grilleGauche {
background-color: rgb(19 23 44 / 90%);
border-radius: 20px;
display: grid;
align-items: flex-start;
grid-template-areas:
"avatar nom"
"avatar description";
grid-template-columns: 1fr 5fr;
grid-template-rows: 1fr 5fr;
padding: 16px;
margin: 16px 5%;
text-align: justify;
}
.team div.grilleDroite {
background-color: rgb(19 23 44 / 90%);
border-radius: 20px;
display: grid;
align-items: flex-start;
grid-template-areas:
"nom avatar"
"description avatar";
grid-template-columns: 5fr 1fr;
grid-template-rows: 1fr 5fr;
padding: 16px;
margin: 16px 5%;
text-align: justify;
}
.team div.avatar {
grid-area: avatar;
grid-template-columns: 15%;
display: flex;
justify-content: center;
align-items: center;
}
.team div.nom {
grid-area: nom;
grid-template-columns: 85%;
text-align: center;
}
.team div.description {
grid-area: description;
grid-template-columns: 85%;
}
.team div.avatar img {
width: 100%;
aspect-ratio: 1 / 1;
/* hauteur = largeur */
border-radius: 20%;
padding: 16px;
}
.team div.grilleDroite:hover,
.team div.grilleGauche:hover {
background-color: rgba(39, 58, 86, 90%);
}
/****************************/
/* PAGE: Histoire de DE */
/* AUTEUR: Jérémy */
/****************************/
.histoire {
background: #13172c url("../images/imagesTeam/Intro.png") center;
background-size: cover;
background-position: top;
color: #ffefe5;
}
.histoire header.introduction {
background: #13172c url("../images/imagesDE/history.jpg") center/cover fixed;
background-position: top;
height: 100vh;
display: block;
text-align: center;
align-content: center;
}
.histoire header.introduction h1,
.histoire header.introduction p {
line-height: 5;
font-size: 2rem;
}
.histoire header.introduction div.introduction {
background-color: #13172cd5;
height: 100vh;
}
.histoire header.introduction div.introduction a {
display: inline-block;
text-decoration: none;
color: #ffefe5;
padding: 10.8px 16px;
margin: 0 4px;
background-color: #13172c;
border-radius: 20px;
}
.histoire header.introduction div.introduction a:hover {
border-radius: 20px;
background-color: #b47871;
}
.histoire main {
margin: auto;
}
.histoire div.titre {
grid-area: titre;
text-align: center;
font-size: 2rem;
padding-top: 66px;
}
.histoire div.grilleGauche {
background-color: rgb(19 23 44 / 90%);
border-radius: 20px;
display: grid;
align-items: flex-start;
grid-template-areas:
"image soustitre"
"image description";
grid-template-columns: 1fr 5fr;
grid-template-rows: 1fr 5fr;
padding: 16px;
margin: 16px 5%;
text-align: justify;
}
.histoire div.grilleDroite {
background-color: rgb(19 23 44 / 90%);
border-radius: 20px;
display: grid;
align-items: flex-start;
grid-template-areas:
"soustitre image"
"description image";
grid-template-columns: 5fr 1fr;
grid-template-rows: 1fr 5fr;
padding: 16px;
margin: 16px 5%;
text-align: justify;
}
.histoire div.image {
grid-area: image;
grid-template-columns: 15%;
display: flex;
justify-content: center;
align-items: center;
}
.histoire div.soustitre {
grid-area: soustitre;
grid-template-columns: 85%;
text-align: center;
}
.histoire div.description {
grid-area: description;
grid-template-columns: 85%;
}
.histoire div.image img {
width: 100%;
aspect-ratio: 1 / 1;
/* hauteur = largeur */
border-radius: 20%;
padding: 16px;
}
.histoire div.grilleDroite:hover,
.histoire div.grilleGauche:hover {
background-color: rgba(39, 58, 86, 90%);
}
/**************************************/
/* PAGE: Univers Sci-fi et sous-pages */
/* AUTEUR: Léa */
/**************************************/
.lore:not(footer) {
background-color: #13172c;
background-size: cover;
background-position: top;
color: #ffefe5;
}
.lore header {
background: #13172c url("../images/ImagesLea/warwithin.jpg") center/cover;
}
.lore header div {
background-color: #13172cb0;
padding: 5%;
}
.lore header h1 {
margin-left: -10px;
width: 60%;
font-size: 4.5rem;
}
.lore h1:not(.lore header h1) {
font-size: 4.5rem;
}
.lore h2,
.lore h3 {
margin: 10px 0px;
}
.lore main p:not(.droite p),
.lore main h2:not(.droite h2) {
margin: auto;
padding: 1% 35% 1% 2.5%;
}
.lore article p,
.lore article blockquote {
margin: 10px 0px;
}
.lore .droite blockquote {
margin: auto;
padding: 1% 35% 1% 0%;
font-weight: bold;
}
.lore blockquote:not(.droite blockquote) {
margin: auto;
padding: 1% 65% 1% 2.5%;
font-weight: bold;
}
.lore table {
width: 100%;
position: sticky;
top: 68px;
border: 2px solid #ffefe5;
margin-left: auto;
margin-right: auto;
margin-top: 5px;
}
.lore th {
padding: 10px;
border: 1px solid #ffefe5;
background-color: #13172c;
}
.lore td {
border: 1px solid #ffefe5;
background-color: #13172c;
}
.lore td img {
display: block;
margin-left: auto;
margin-right: auto;
padding: 5px;
width: 90%;
}
.lore .fondOpaqueGauche {
background-color: #13172cb0;
text-align: left;
height: 100%;
padding: 5%;
margin: auto;
}
.lore .fondOpaqueDroite {
background-color: #13172cb0;
height: 100%;
padding: 5%;
}
.lore .droite {
margin: auto;
padding: 1% 0% 1% 35%;
}
.lore th a,
.lore blockquote a {
color: #c19f8a;
}
.lore aside {
position: sticky;
bottom: 5px;
margin-bottom: 5px;
}
.lore .nextArc {
width: 6.5%;
margin: 5px;
display: block;
text-align: center;
background-color: #c19f8a;
border-radius: 15px;
}
.lore .nextArc a {
padding: 10px 5px;
display: block;
color: #13172c;
text-decoration: none;
}
.lore .nextArc a:hover {
border-radius: 15px;
text-align: center;
background-color: #bf815b;
color: #ffefe5;
}
/*Sous Page Lore 1*/
.lore #awakening {
background: #13172c url("../images/ImagesLea/awakening.jpg") center/cover;
height: 85vh;
}
.lore #vorsPrize {
background: #13172c url("../images/ImagesLea/vorSPrize.jpg") top/cover;
height: 85vh;
}
.lore #professor {
background: #13172c url("../images/ImagesLea/theTeacher.jpg") center/cover;
height: 85vh;
}
.lore #voxSolaris {
background: #13172c url("../images/ImagesLea/warframeFortuna.jpg") bottom/cover;
height: 85vh;
}
.lore #onceAwake {
background: #13172c url("../images/ImagesLea/warframeDeimos.jpg") center/cover;
height: 85vh;
}
.lore #deimos {
background: #13172c url("../images/ImagesLea/warframeVome.jpg") bottom/cover;
height: 85vh;
}
.lore #archwing {
background: #13172c url("../images/ImagesLea/archwing.jpg") center/cover;
height: 85vh;
}
/*Sous Page Lore 2*/
.lore #natah {
background: #13172c url("../images/ImagesLea/warframeSentientRemains.jpg") center/cover;
height: 85vh;
}
.lore #secondDream {
background: #13172c url("../images/ImagesLea/secondDream.jpg") center/cover;
height: 100vh;
}
.lore #risingTide {
background: #13172c url("../images/ImagesLea/warframeRailjack.jpg") center/cover;
height: 85vh;
}
.lore #warWithin {
background: #13172c url("../images/ImagesLea/warframeGrineerFortress.jpg") center/cover;
height: 85vh;
}
.lore #chainsOfHarrow {
background: #13172c url("../images/ImagesLea/warframeRedVeil.jpg") center/cover;
height: 85vh;
}
.lore #apostasy {
background: #13172c url("../images/ImagesLea/apostasy.jpg") center/cover;
height: 85vh;
}
.lore #sacrifice {
background: #13172c url("../images/ImagesLea/warframeUmbra.jpg") center/cover;
height: 85vh;
}
/*Sous Page Lore 3*/
.lore #PreludeToWar {
background: #13172c url("../images/ImagesLea/warframeRailjackInterior.jpg") center/cover;
height: 85vh;
}
.lore #newWar {
background: #13172c url("../images/ImagesLea/newWar.jpg") center/cover;
height: 85vh;
}
.lore #duviri {
background: #13172c url("../images/ImagesLea/warframeOrowyrm.jpg") center/cover;
height: 95vh;
}
/*Sous Page Lore 4*/
.lore #whispersInTheWalls {
background: #13172c url("../images/ImagesLea/warframeEntratiLab.jpg") top/cover;
height: 85vh;
}
.lore #lotusEater {
background: #13172c url("../images/ImagesLea/warframeEntratiLab2.jpg") top/cover;
height: 85vh;
}
.lore #hex {
background: #13172c url("../images/ImagesLea/excaliburArthur.jpg") center/cover;
height: 85vh;
}
/****************************/
/* PAGE: Missions */
/* AUTEUR: Stanislas */
/****************************/
.missions {
background-color: rgb(43, 189, 226);
}
/****************************/
/* PAGE: Warframes */
/* AUTEUR: Andres */
/****************************/
.armures {
max-width: 100%;
}
.armures .video-header {
position: relative;
}
.armures #entete {
width: 100%;
height: auto;
display: block;
}
.armures #title {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
font-size: 10rem;
font-weight: bold;
text-shadow: 0 0 10px black;
z-index: 10;
}
.armures .perso {
position: relative;
overflow: hidden;
padding: 40px;
color: white;
min-height: 500px;
}
.armures .perso .bg-video {
position: absolute;
top: 50%;
left: 50%;
width: 110%;
height: 100%;
object-fit: cover;
transform: translate(-50%, -50%);
z-index: 0;
}
.armures .perso .content {
position: relative;
z-index: 10;
flex-direction: row;
gap: 30px;
align-items: flex-start;
}
.armures .perso .habilites-row {
display: flex;
flex-direction: row;
gap: 30px;
align-items: flex-start;
margin-top: 20px;
}
.armures .perso .habilites-video {
flex: 1;
position: relative;
z-index: 20;
}
.armures .perso .habilites-video video {
width: 100%;
height: auto;
border-radius: 10px;
display: block;
}
.armures .habilites {
position: relative;
z-index: 15;
}
/****************************/
/* PAGE: Crédits */
/* AUTEUR: Jeremy */
/****************************/
.credits {
background: #13172c url("../images/imagesTeam/Intro.png") center;
background-size: cover;
background-position: top;
color: #ffefe5;
}
.credits header.introduction {
background: #13172c url("../images/imagesDE/temporaire.webp") center/cover fixed;
background-position: top;
height: 100vh;
display: block;
text-align: center;
align-content: center;
}
.credits header.introduction h1,
.credits header.introduction p {
line-height: 5;
font-size: 2rem;
}
.credits header.introduction div.introduction {
background-color: #13172cd5;
height: 100vh;
}
.credits div.bouton a {
display: inline-block;
text-decoration: none;
color: #ffefe5;
padding: 10.8px 16px;
margin: 0 4px;
background-color: #13172c;
border-radius: 20px;
}
.credits div.bouton a:hover {
border-radius: 20px;
background-color: #b47871;
}
.credits main {
margin: auto;
}
.credits div.titre {
text-align: center;
font-size: 2rem;
padding-top: 66px;
}
.credits div.grille {
background-color: rgba(115, 110, 154, 0.9);
border-radius: 20px;
display: grid;
align-items: flex-start;
grid-template-areas:
"soustitre soustitre"
"description description"
"bouton bouton";
/*grid-template-columns: 1fr 3fr;*/
padding: 16px;
margin: 16px 5%;
text-align: center;
}
.credits div.bouton {
grid-area: bouton;
grid-template-columns: 15%;
display: flex;
justify-content: center;
align-items: center;
margin: 16px;
}
.credits div.soustitre {
grid-area: soustitre;
grid-template-columns: 85%;
text-align: center;
}
.credits div.description {
grid-area: description;
grid-template-columns: 85%;
}
.credits div.image img {
width: 100%;
aspect-ratio: 1 / 1;
/* hauteur = largeur */
border-radius: 20%;
padding: 16px;
}
.credits div.grilleDroite:hover,
.credits div.grilleGauche:hover {
background-color: rgba(39, 58, 86, 90%);
}