@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 **/ 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 { background-color: rgb(138, 43, 226); 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) { margin: auto; padding: 1% 45% 1% 0%; } .accueil section { width: 100%; } .accueil header { background: #13172c url("../images/ImagesLea/warframeEnvironment.jpg") center/cover; } .accueil header div { background-color: #13172cb0; height: 75vh; padding: 5%; } .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: 0 4px; 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/warframeFight.jpg") center/cover; height: 75vh; } .accueil #histoireDE div { background-color: #13172cb0; height: 75vh; padding: 5%; } /****************************/ /* PAGE: à Propos */ /* AUTEUR: Stanislas */ /****************************/ .aPropos { background-color: rgb(99, 241, 99); } /****************************/ /* 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 { color: #ffefe5; padding: 0 16px; margin: 0 4px; height: 40px; border: none; border-radius: 20px; background-color: #13172c; } .histoire header.introduction div a { display: flex; align-items: center; align-content: center; text-decoration: none; }*/ /*.histoire header.introduction div.bouton { height: 40px; } .histoire header.introduction div.bouton a { border: none; background-color: #13172c; text-decoration: none; border-radius: 20px; font-size: 1rem; display: inline-block; align-items: center; text-decoration: none; color: #ffefe5; padding: 0 16px; margin: 0 4px; }*/ .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 { background: #13172c url("../images/ImagesLea/warframeLore.jpg") no-repeat center; background-size: cover; background-position: top; color: #ffefe5; } .lore main { margin: 0px auto; width: 85%; } .lore h1, .lore h2, .lore h3 { margin: 10px; } .lore article p, blockquote { margin: 10px 10px; } .lore blockquote { width: 80%; 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; } .lore td img { display: block; margin-left: auto; margin-right: auto; padding: 5px; width: 90%; } .lore article img:not(.specialAlign img) { border-radius: 20px; width: 30%; } .lore article:not(.exception) { margin: 15px 0px; scroll-margin-top: 110px; display: flex; align-items: flex-start; } .lore th a, blockquote a { color: #c19f8a; } .lore .wrap { display: flex; align-items: flex-start; } .lore .text { width: 70%; flex-grow: 1; } .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; } .lore #warWithin img { padding: 10px; margin-top: 10%; } .lore .specialAlign { width: 30%; padding: 10px; margin-top: 6%; border-radius: 20px; } .lore .specialAlign img { margin: 5px; border-radius: 20px; } .lore #duviri img { margin-top: 15%; } .lore #vorsPrize img, #professor img, #onceAwake img, #deimos img, #archwing img, #hex img { padding: 10px; margin-top: 35px; } .lore #voxSolaris img, #natah img, #risingTide img, #chainsOfHarrow img, #newWar img, #lotusEater img { margin-top: 4%; } .lore #apostasy img { margin-top: 3.5%; } .lore #whispersInTheWalls img { margin-top: 15px; } .lore #PreludeToWar img, #sacrifice img { flex-shrink: 0; margin-left: 5px; } /****************************/ /* 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; }