@charset "UTF-8"; /* La feuille de style est encodée en UTF-8 */ /****************************/ /* FICHIER: style.css */ /* AUTEURS: Léa Dezothez, Jérémy Hébert, Andres David Herrera Escorcia et Stanislas Royal */ /****************************/ /****************************/ /* PAGE: Style commun a l'ensemble des pages du projet */ /* AUTEUR: Léa Dezothez, Jérémy Hébert, Andres David Herrera Escorcia et Stanislas Royal */ /* Nav + footer: Jérémy Hébert */ /****************************/ * { 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: inline-block; text-decoration: none; color: #ffefe5; padding: 10.8px 16px; margin: 16px 4px; background-color: #13172c; border-radius: 20px; } nav a.active { background-color: #273a5666; } nav a:hover { background-color: #b47871; } .boutonAccueil { display: contents; } footer { background-color: #13172c; text-align: center; color: #ffefe5; width: 100%; padding: 16px; display: flex; justify-content: space-around; align-items: center; } footer a { display: inline-block; text-decoration: none; color: #ffefe5; padding: 10.8px 16px; margin: 8px 4px; background-color: #726F9A; border-radius: 20px; } footer a:hover { background-color: #b47871; } ::selection { /*Source: https://openclassrooms.com/forum/sujet/couleur-surlignage-34526*/ background-color: #641a10; color: #ffefe5; } /****************************/ /* PAGE: Accueil */ /* AUTEUR: Léa Dezothez */ /****************************/ .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: 100%; display: block; } .accueil #texte { background-color: #13172cb0; position: absolute; top: 5%; height: 125%; left: 50%; 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 Royal */ /****************************/ .aPropos { background-color: rgb(99, 241, 99); } .aPropos main { margin: auto; /* min-height: calc(100vh - 60px); */ /* display: block; */ align-content: center; text-align: center; } .aPropos .conteneurMaps { max-width: 700px; max-height: 600px; overflow: scroll; } .aPropos .conteneurMaps­ iframe { border: 0; margin: 10px; display: block; } .aPropos .sidebyside>div { margin: 5px 20px; } .aPropos .sidebyside>h1 { width: 120%; } .aPropos textarea { resize: none; width: 100%; } .aPropos>main { margin: auto; display: flex; justify-content: center; } .aPropos form { width: 70ch; margin: auto; background-color: #726F9A; border-radius: 15px; padding: 10px; color: #E6ECF3; overflow: scroll; /*!SECTION COULEUR #B47871 #641A10 #13172C #726F9A #273A56 #C19F8A Couleur texte : #FFEFE5 */ } .aPropos p { width: 100%; } .aPropos #contactInfo { background-color: #273A56; padding: 10px; border-radius: 15px; color: #E6ECF3; } .aPropos a:link { color: #E6ECF3; font-weight: 800; text-decoration: underline; text-align: right; float: right; } .aPropos a:visited { color: #c19f8a; } .aPropos a:hover { color: #726F9A; } .aPropos .sidebyside label { margin: 10px; padding: 1px; } .aPropos fieldset { padding: 10px; width: 100%; border-color: #606060; margin: 10px auto; } /*.aPropos div {*/ /* display: block; */ /*}*/ /****************************/ /* PAGE: L'équipe */ /* AUTEUR: Jérémy Hébert */ /****************************/ .team { background: #13172c center; background-size: cover; background-position: top; color: #ffefe5; } .team header.introduction { background: #13172c url("../images/imagesTeam/BackgroundHeader.webp") center/cover fixed; background-position: top; height: 100vh; display: block; text-align: center; align-content: center; } .team header.introduction h1, .team header.introduction p { line-height: 5; font-size: 2rem; } .team header.introduction div.introduction { background-color: #13172cd5; height: 100vh; } .team header.introduction div.introduction a { display: inline-block; text-decoration: none; color: #ffefe5; padding: 10.8px 16px; margin: 160px 4px; background-color: #13172c; border-radius: 20px; } .team header.introduction div.introduction a:hover { border-radius: 20px; background-color: #b47871; } .team main { margin: auto; } .team section article { display: flex; padding: 16px; height: 100vh; align-items: center; } .team section article.grilleGauche { text-align: left; } .team section article.grilleDroite { text-align: right; } .team section article#lea { background: #13172c url("../images/imagesTeam/BackgroundLea.webp") center/cover fixed; } .team section article#jeremy { background: #13172c url("../images/imagesTeam/BackgroundJeremy.webp") center/cover fixed; } .team section article#andres { background: #13172c url("../images/imagesTeam/BackgroundAndres.webp") center/cover fixed; } .team section article#stanislas { background: #13172c url("../images/imagesTeam/BackgroundStanislas.webp") center/cover fixed; } .team section article div.box { background-color: rgba(19, 23, 44, 0.8); padding: 16px; margin: 16px; border-radius: 20px; } .team section article div.box:hover { background-color: rgba(39, 58, 86, 0.9); } .team section article.grilleGauche div.box { margin-right: 50%; } .team section article.grilleDroite div.box { margin-left: 50%; } .team section article h2, .team section article h3, .team section article p { padding: 8px 0; } .team section article h3 { color: #f1f1f1af; } /****************************/ /* PAGE: Histoire de DE */ /* AUTEUR: Jérémy Hébert */ /****************************/ .histoire { background: #13172c 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: 160px 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 section article { display: flex; padding: 16px; height: 75vh; align-items: center; } .histoire section article.grilleGauche { text-align: left; } .histoire section article.grilleDroite { text-align: right; } .histoire section article#contexte { background: #13172c url("../images/imagesDE/Contexte.webp") center/cover; } .histoire section article#chapitre1 { background: #13172c url("../images/imagesDE/Chapitre1.webp") center/cover; } .histoire section article#chapitre2 { background: #13172c url("../images/imagesDE/Chapitre2.webp") center/cover; } .histoire section article#chapitre3 { background: #13172c url("../images/imagesDE/Chapitre3.webp") center/cover; } .histoire section article#chapitre4 { background: #13172c url("../images/imagesDE/Chapitre4.webp") center/cover; } .histoire section article#chapitre5 { background: #13172c url("../images/imagesDE/Chapitre5.webp") center/cover; } .histoire section article#chapitre6 { background: #13172c url("../images/imagesDE/Chapitre6.webp") center/cover; } .histoire section article#chapitre7 { background: #13172c url("../images/imagesDE/Chapitre7.webp") center/cover; } .histoire section article#chapitre8 { background: #13172c url("../images/imagesDE/Chapitre8.webp") center/cover; } .histoire section article div.box { background-color: rgba(19, 23, 44, 0.8); padding: 16px; margin: 16px; border-radius: 20px; } .histoire section article div.box:hover { background-color: rgba(39, 58, 86, 0.9); } .histoire section article.grilleGauche div.box { margin-right: 50%; } .histoire section article.grilleDroite div.box { margin-left: 50%; } .histoire section article h2, .histoire section article h3, .histoire section article p { padding: 8px 0; } .histoire section article h2.titre { font-size: 2rem; } .histoire section article h3.nomChapitre { font-size: 1.5rem; } .histoire section article p.contenuChapitre { font-size: 1rem; } /**************************************/ /* PAGE: Univers Sci-fi et sous-pages */ /* AUTEUR: Léa Dezothez */ /**************************************/ .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; left: 5px; } .lore .nextArc { display: block; } .lore aside a { display: inline-block; text-decoration: none; color: #13172c; padding: 10px 16px; margin: 5px; background-color: #c19f8a; border-radius: 20px; width: 6.5%; text-align: center; } .lore aside a:hover { 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 Royal */ /****************************/ .missions { background-color: rgb(43, 189, 226); } /****************************/ /* PAGE: Warframes */ /* AUTEUR: Andres David Herrera Escorcia */ /****************************/ .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; } .perso .bg-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.80); z-index: 1; } .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 .perso .habilites img { width: 100%; height: auto; border-radius: 10px; display: block; } .armures .habilites { position: relative; z-index: 15; } .armures .perso .habilites { flex: 1; } .armures .perso .habilites-video { flex: 1; } .armures .perso .habilites-row img, .armures .perso .habilites-row video { width: 100%; height: 500px; object-fit: cover; display: block; } .armures .wf-nav { position: fixed; bottom: 20px; left: 50%; top: 80px; transform: translateX(-50%); background: rgba(0, 0, 0, 0.4); padding: 10px 25px; border-radius: 10px; backdrop-filter: blur(5px); z-index: 999; } .armures .perso { scroll-margin-top: 140px; } .armures .descarmure { background-color: #13172c; } .armures .armtxt { color: white; padding: 10px; } .armures .infoarm { text-align: center; color: white; background-color: #13172c; padding-top: 10px; } .armures .wf-table-simple { width: 90%; margin: auto; border-collapse: collapse; background: rgba(0, 0, 0, 0.4); } .armures .wf-table-simple th { padding: 15px; font-size: 1.5rem; border: 2px solid white; } .armures .wf-table-simple td { border: 2px solid white; padding: 15px; } .armures .wf-table-simple img { width: 200px; height: auto; border-radius: 15px; display: block; margin: auto; } .armures .wf-table-simple p { margin-top: 10px; font-size: 1.2rem; } .wikiwar { background-color: #273A56; color: white; text-align: center; } .wikiinfo { padding: 10px; } /****************************/ /* PAGE: Crédits */ /* AUTEUR: Jérémy Hébert */ /****************************/ .credits { background: #C19F8A center; background-size: cover; background-position: top; color: #ffefe5; } .credits header.introduction { background: #13172c url("../images/ImagesCredits/Header.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 header.introduction div.introduction a { display: inline-block; text-decoration: none; color: #ffefe5; padding: 10.8px 16px; margin: 160px 4px; background-color: #13172c; border-radius: 20px; } .credits header.introduction div.introduction a:hover { border-radius: 20px; background-color: #b47871; } .credits main { margin: auto; } .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 section article { display: flex; padding: 16px; align-items: center; } .credits section article div.box { background-color: rgba(19, 23, 44, 0.8); padding: 16px; margin: 16px; border-radius: 20px; } .credits section article div.box:hover { background-color: rgba(39, 58, 86, 0.9); } .credits section article h2, .credits section article h3, .credits section article .contenu { padding: 8px 0; list-style: none; } /****************************/ /* PAGE: Merci */ /* AUTEUR: Jérémy Hébert */ /****************************/ .reponse { background: #C19F8A url("../images/ImagesReponse/Merci.png") center; background-size: cover; background-position: top; color: #ffefe5; }