Public Access
5
0
Files
web01/www/css/style.css
2025-11-22 18:26:29 -05:00

277 lines
4.9 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;
}
#updateDate {
visibility: hidden;
}
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;
}
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;
}
/****************************/
/* PAGE: Accueil */
/* AUTEUR: Léa */
/****************************/
.accueil body {
background-color: rgb(138, 43, 226);
}
.accueil main p {
margin: auto;
display: flex;
width: 50%;
}
/****************************/
/* PAGE: à Propos */
/* AUTEUR: Stanislas */
/****************************/
.aPropos body {
background-color: rgb(99, 241, 99);
}
/****************************/
/* PAGE: L'équipe */
/* AUTEUR: Jérémy & Andres */
/****************************/
.team body {
background-color: rgb(172, 45, 45);
}
/****************************/
/* PAGE: Histoire de DE */
/* AUTEUR: Jérémy */
/****************************/
.histoire body {
background-color: rgb(104, 170, 56);
}
/**************************************/
/* 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: auto;
width: 1300px;
}
.lore h1, h2, h3{
margin: 10px;
}
.lore article p, blockquote{
margin-left: 10px;
margin-top: 15px;
}
.lore blockquote {
width: 60%;
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 {
width: 95%;
margin: 15px 0px;
}
.lore th a, blockquote a{
color: #C19F8A;
}
.lore .wrap {
display: flex;
align-items: flex-start;
}
.lore .text {
width: 70%;
flex-grow: 1;
}
.lore .nextArc {
width: 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 aside {
position: sticky;
left: 15px;
bottom: 15px;
}
.lore #awakening, #vorsPrize, #professor, #onceAwake, #deimos, #secondDream, #natah, #risingTide, #warWithin, #chainsOfHarrow, #apostasy, #sacrifice, #newWar {
display: flex;
align-items: flex-start;
}
.lore #secondDream div img {
padding: 10px;
margin-top: 13%;
border-radius: 20px;
}
.lore #awakening img, #professor img, #onceAwake img, #deimos img, #warWithin img {
padding: 10px;
margin-top: 12%;
border-radius: 20px;
}
.lore #vorsPrize img, #archwing img, #sacrifice img{
padding: 10px;
margin-top: 5px;
border-radius: 20px;
}
.lore #voxSolaris img, #natah img, #risingTide img, #chainsOfHarrow img, #newWar img{
width: 30%;
margin-top: 4.5%;
border-radius: 20px;
}
.lore article {
scroll-margin-top: 110px;
}
.lore #apostasy img {
border-radius: 20px;
margin-top: 3.5%;
}
.lore #PreludeToWar img {
width: 30%;
flex-shrink: 0;
margin-left: 5px;
border-radius: 20px;
}
/****************************/
/* PAGE: Missions */
/* AUTEUR: Stanislas */
/****************************/
.missions body {
background-color: rgb(43, 189, 226);
}
/****************************/
/* PAGE: Armures */
/* AUTEUR: Andres */
/****************************/
.armures body {
background-color: rgb(255, 119, 0);
}