Files
Camilou.fr/Archives/CSS.css
T
Camilla Schoeser cc2fd8ebee
Deploy PHP / deploy (push) Successful in 28s
mise à jour des fichiers
2026-06-09 01:55:03 +02:00

1010 lines
24 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@font-face {
font-family: Police; /* Le nom que vous souhaitez attribuer à la police */
src: url(Bread.woff2) format(woff2); /* Le chemin vers votre fichier WOFF */
/* Vous pouvez également spécifier d'autres formats de police ici */
}
*{
font-family: bread, sans-serif;
}
a {
margin-top: 0%;
margin-bottom:0% ;
margin-left: 0px;
color:black;
font-size:16px;
}
/* a:before {content:"٠"} */
p {display: block;
margin-top: 0px;
margin-bottom:0px;
margin-right: 50px;
margin-left: 5%;
padding-top:0px;
padding-bottom:0px;
color:black;
}
td p {
padding:0px !important; /* sinon c'est un last child et donc ça me fait 100px en padding bottom */
margin:0;
}
h1, h2, h3, h4, h5, h6 , thead{
text-align: center;
/* margin-bottom:20px; */
margin-bottom:0px;
margin-top:0px;
margin-right:0px;
margin-left:0px;
}
h1 { margin-top:20px}
li{
list-style-type: none;
padding-bottom:0px;
margin-bottom:0px;
padding-top:0px;
margin-top:0px;
margin-right:5%;
/*display: flex; */
align-items: center; /* Centrer verticalement les éléments dans le <li> */
}
table li {
list-style-type: disc;
}
ul{
margin-left:60px;
margin-top:0px !important;
margin-bottom:0px !important;
padding-top:0px !important;
padding-bottom:0px !important;
}
td {
padding-right: 0px;
margin-right:0px;
}
.list1 {
margin-left:50px;
}
.list2 {
margin-left:80px;
}
.list1:before{
content:"▫ ";
}
.list2:before{
content:"▪ ";
}
.sommaire{
padding-top:30px;
text-indent:20px
}
.place{
margin-bottom:20px;
margin-right:20px;
margin-left:80px
}
.alinéa {
display: inline-block; /* Fait en sorte que le span occupe seulement la largeur nécessaire */
margin-left: 20%; /* Ajoute un retrait à gauche */
}
.none {
margin:0px;
}
body {
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
background-size: cover;
background-attachment: fixed;
background-position: center;
height: 100vh; /* Cela assure que le fond couvre toute la hauteur de la fenêtre */
}
/* @keyframes move-background {
from {
background-position: 50% 0%;
}
to {
background-position: 50% 100%;
}
} */
@keyframes move-background {
from {
background-position: 50% 100%;
}
to {
background-position: 50% 0%;
}
}
@keyframes slide {
0% {
transform: translate3d(0, 0, 0);
}
100% {
transform: translate3d(-500px, 500px, 4);
}
}
body {
animation: linear move-background;
animation-duration: auto;
animation-timeline: scroll(root block);
}
.image-container {
display: flex;
}
img {
max-width: 100%;
height: auto;
}
p:last-child {
/*padding-bottom:100px;*/ /*ça me soule alors je l'enlève*/
}
.zone-titre {
background-color: rgb(236, 250, 241);
}
/* En particulier pour l'écran d'accueil (index.html) */
/* Styles pour l'en-tête */
header {
background-color: #508fb300;
padding:5px;
color: #080808;
padding:0px;
text-align: center;
}
.header1 {
/*background-color: rgb(250, 139, 21); */
background-color: rgb(237, 234, 37);
padding-bottom: 10px;
}
.header1 h1 { text-shadow: 1px 1px 0px #fd4b1f; }
.header1 h2 { text-shadow: 1px 1px 0px #bcbf02; }
.header2 {
background-color: #8ddfe1;
color:rgb(14, 4, 143);
padding:10px;
}
.glow-border {
border: 2px solid transparent; /* Bordure transparente */
padding: 10px; /* Marge intérieure pour l'élément */
border-radius: 10px; /* Rayon de la bordure */
box-shadow: 0 0 10px rgba(0, 0, 255, 0.5); /* Lueur bleue */
}
.encadreAccueil {
display: inline-block;
padding: 20px;
padding-left: 40px;
padding-right: 40px;
background-color: rgb(250, 139, 21);
margin: 20px auto;
border-radius: 500px;
max-width: 500px; /* Définissez la largeur maximale que vous souhaitez */
text-align: center;
}
nav ul {
list-style-type: none;
margin: 0;
padding: 0;
}
nav ul li {
display: inline;
margin-right: 20px;
}
nav ul li a {
color: #2f4093;
text-decoration: none;
}
/* Styles pour la section principale */
main {
display: flex;
}
section {
flex: 2;
padding: 20px;
}
article {
background-color: #f4f4f4;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
margin-bottom:40px;
flex: 1;
padding: 10px;
margin-left:20px;
margin-right:20px;
}
article:first-child { margin-left:20px; } /* pour que chaque article ait une marge sur le coté sauf les articles des extrémités */
article:last-child { margin-right:20px; }
article h2 {
color: #333;
}
@media screen and (max-width: 600px) {
.column-container {
display: block;
margin:0px;
}
}
@media screen and (min-width: 600px) {
.column-container {
display: flex;
margin:0px;
}
}
/* Styles pour la zone latérale */
aside {
width: 352px; /* Définissez la largeur de votre aside */
padding: 10px;
background-color: #eee;
border-radius: 0px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
/* Styles pour le pied de page */
footer {
background-color: rgb(250, 139, 21);
padding: 20px;
text-align: center;
}
@media screen and (max-width: 600px) { /* Styles pour les écrans de petite taille (téléphones) */
.DevoirsEcole {
display: inline-block; /* Permet à l'élément de s'adapter à la largeur de son contenu */
padding: -10px; /* Espace à l'intérieur de l'encadrement */
margin:0px;
margin-right:10px; /* ne sert à rien ? */
display: flex;
align-items: flex-start;
justify-content: space-between;
margin-top: 0px;
flex-direction: column;
}
.colonneDevoirs {
flex: 1;
margin: 0 10px; /* ne sert à rien ? */
}
.colonneAutonomie {
flex: 1;
margin: 0 10px;
}
.encadre {
display: inline-block;
padding: 10px;
background-color: rgba(255, 195, 0, 1);
margin: 20px auto;
border-radius: 500px;
max-width: 400px; /* Définissez la largeur maximale que vous souhaitez */
text-align: center;
}
.encadre2 {
display: inline-block;
padding: 0px;
background-color: rgba(173, 248, 204, 0.667);
margin: 20px auto;
border-radius: 200px;
width: 350px;
text-align: center;
position: relative; /* Ajoutez cette ligne */
}
.encadre2::before {
content: "";
position: absolute;
top: 20%; /* Centre la forme verticalement */
left: 90%; /* Centre la forme horizontalement */
transform: translate(-50%, -50%);
width: 1.5em;
height: 0.75em;
border-radius: 0 50% / 0 100%;
background: rgb(224, 250, 246);
box-shadow: 5px 5px 1px rgba(247, 243, 245, 0.884);
}
.encadre2::after {
content: "";
position: absolute;
top: 10%; /* Centre la forme verticalement */
left: 82%; /* Centre la forme horizontalement */
transform: translate(-50%, -50%);
width: 1em;
height: 0.6em;
border-radius: 0 50% / 0 100%;
background: rgb(224, 250, 246);
box-shadow: 5px 5px 1px rgba(247, 243, 245, 0.884);
}
.encadrement {
display: flex; /* Permet à l'élément de s'adapter à la largeur de son contenu */
padding: -10px; /* Espace à l'intérieur de l'encadrement */
/*margin:5%;*/
/*margin-right:10px;*/
margin-top: 20px;/*
align-items: flex-start;
justify-content: space-between; */
display: flex;
flex-direction: column;
flex-wrap: wrap; /* Permet aux colonnes de revenir à la ligne s'il n'y a plus de place */
gap: 20px; /* Crée un espace propre entre chaque colonne */
align-items: stretch; /* Aligne toutes les colonnes à la même hauteur */
}
.colonne1, .colonne2 {
flex: 1;
min-width: 250px; /* Largeur minimale pour éviter que les colonnes soient trop écrasées */
padding: 10px;
margin-bottom: 20px; /* On remplace les marges compliquées par une marge basse simple */
box-shadow: 10px 10px 5px rgba(111, 154, 87, 0.7);
border-radius: .5rem;
background-image: radial-gradient(circle at top left, rgba(105, 202, 144, 0.868), rgba(214, 249, 228, 0.646));
}
}
@media screen and (min-width: 600px) { /* Styles pour les écrans de grande taille (PC) */
.colonneDevoirs {
flex: 1;
margin: 0 10px;
}
.colonneAutonomie {
flex: 1;
margin: 0 10px;
}
.encadre {
display: inline-block;
padding: 10px;
background-color: rgba(255, 195, 0, 0.5);
margin: 20px auto;
border-radius: 200px;
max-width: 600px; /* Définissez la largeur maximale que vous souhaitez */
text-align: center;
}
.encadre2 {
display: inline-block;
padding: 10px;
background-color: rgba(173, 248, 204, 0.667);
margin: 20px auto;
border-radius: 200px;
width: 400px;
text-align: center;
position: relative; /* Ajoutez cette ligne */
}
.encadre2::before {
content: "";
position: absolute;
top: 20%; /* Centre la forme verticalement */
left: 90%; /* Centre la forme horizontalement */
transform: translate(-50%, -50%);
width: 1.5em;
height: 0.75em;
border-radius: 0 50% / 0 100%;
background: rgb(224, 250, 246);
box-shadow: 5px 5px 1px rgba(247, 243, 245, 0.884);
}
.encadre2::after {
content: "";
position: absolute;
top: 10%; /* Centre la forme verticalement */
left: 82%; /* Centre la forme horizontalement */
transform: translate(-50%, -50%);
width: 1em;
height: 0.6em;
border-radius: 0 50% / 0 100%;
background: rgb(224, 250, 246);
box-shadow: 5px 5px 1px rgba(247, 243, 245, 0.884);
}
.encadrement {
display: inline-block; /* Permet à l'élément de s'adapter à la largeur de son contenu */
padding: -10px;
/*margin:50px;*/
margin-right:10px;
margin-left:20px;
display: flex;
align-items: flex-start;
justify-content: space-between;
/*margin-top: 20px; */
flex-direction: column;
}
.colonneTitre , .colonneGrandTitre {
flex: 1;
padding: 20px;
margin-right: 20px;
margin-left:20px;
margin-bottom: 20px;
width:90%;
}
.colonneTitre { background-color: rgb(243, 222, 236); box-shadow: 10px 10px 5px rgba(252, 191, 238, 0.7);}
.colonneGrandTitre { background-color: rgb(152, 145, 251); box-shadow: 10px 10px 5px rgba(195, 191, 252, 0.7);
margin-top:30px;}
.colonne1 {
flex: 1;
padding: 30px;
width:45%;
margin-bottom:50px;
box-shadow: 10px 10px 5px rgba(111, 154, 87, 0.7);
border-radius: .5rem ;
background-image: radial-gradient(circle at top left, rgba(105, 202, 144, 0.868), rgba(214, 249, 228, 0.646));
}
.colonne2 {
flex: 1;
display: block;
padding: 30px;
margin-left: 55%;
position: absolute;
box-shadow: 10px 10px 5px rgba(111, 154, 87, 0.7);
border-radius: .5rem ;
background-image: radial-gradient(circle at top left, rgba(105, 202, 144, 0.868), rgba(214, 249, 228, 0.646));
}
.colonneMilieu {
flex: 1;
padding: 0px;
margin-right: 53%;
margin-bottom:20px;
border-radius: .5rem ;
}
.colonne1sur3 {
flex: 1;
padding: 0px;
margin-right: 66%;
/*position:relative;*/
margin-bottom:0px;
}
.contenu1:last-child {
margin-bottom:50px;
}
.colonne2sur3 {
flex: 1;
display:block;
padding: 0px;
margin-left: 36%;
margin-right: 35%;
position:absolute;
margin-bottom:50px;
}
.colonne3sur3 {
flex: 1;
display:block;
padding: 0px;
margin-left: 66%;
margin-right:30px;
position: absolute;
margin-bottom:50px;
}
.colonne1et2 {
flex: 1;
padding: 0px;
width:66%;
margin-bottom:0px;
border-radius: .5rem ;
}
.colonne2et3 {
flex: 1;
display:block;
padding: 0px;
margin-left: 36%;
margin-right:30px;
position: absolute;
margin-bottom:50px;
}
.contenu1, .contenu2, .contenu3, .contenu4 {
border-radius: .5rem ;
padding:15px;
margin-bottom:20px;
}
.contenu1 { background-color:#f5f5fa; box-shadow: 10px 10px 10px rgba(136, 169, 118, 0.5); }
.contenu2 { background-color: rgb(222, 243, 243); box-shadow: 10px 10px 5px rgba(167, 206, 254, 0.7); }
.contenu3 { background-color: rgb(243, 222, 236); box-shadow: 10px 10px 5px rgba(252, 191, 238, 0.7); }
.contenu1 li { margin-left:20px;}
.contenu1 p { margin:0px;}
.contenu2 li { margin-left:20px;}
.contenu2 p { margin:0px;}
.contenu3 li { margin-left:20px;}
.contenu3 p { margin:0px;}
.contenu4 li { margin-left:20px;}
.contenu4 p { margin:0px;}
}
.colonne11 {
flex: 1;
padding: 10px;
width:45%;
margin-right:55%;
margin-bottom:10px;
/*box-shadow: 10px 10px 5px rgba(254, 87, 154, 0.7); */
border-radius: .5rem ;
background-image: radial-gradient(circle at top left, rgba(255, 93, 133, 0.868), rgba(214, 249, 228, 0.646));
}
.colonne22 {
flex: 1;
display: block;
padding: 10px;
margin-left: 55%;
width:35%;
position: absolute;
/*box-shadow: 10px 10px 5px rgba(111, 154, 87, 0.7); */
border-radius: .5rem ;
/*background-image: radial-gradient(circle at top left, rgba(105, 202, 144, 0.868), rgba(214, 249, 228, 0.646));*/
}
.bullebleue, .bulleverte, .bullerose, .bullemauve {
/*display: inline-block; */
padding: 0px;
margin: 20px auto;
border-radius: 200px;
width: 100px;
height:50px;
text-align: center;
position: relative; /* Ajoutez cette ligne */
}
.bullebleue { background-color: rgba(117, 242, 251, 0.667); }
.bulleverte { background-color: rgba(68, 254, 118, 0.639); }
.bullerose { background-color: #fd74b2;}
.bullemauve { background-color: rgb(189, 120, 254);}
.meter-container {
display: flex;
align-items: center;
text-align: right;
}
.meter-container span {
}
.meter {
margin-left: auto; /* Déplace le div.meter à droite */
display: flex; /* Utilise la mise en page flexbox pour aligner les éléments à l'intérieur */
align-items: center; /* Aligne les éléments verticalement */
margin-right:50px;
}
.fleche {
margin-right: 10px; /* Ajoute un espace entre la flèche et le texte */
}
span {
margin-right: 5px; /* Ajoute un espace entre le texte et le meder */
}
.texte-a-editer {
background-color: lightyellow; /* Couleur de fond */
padding: 5px; /* Espacement intérieur */
border: 1px solid #ccc; /* Bordure */
border-radius: 5px; /* Coins arrondis */
cursor: text; /* Curseur de texte */
width: 80%; /* Largeur de la zone de texte */
height: 80%; /* Hauteur de la zone de texte */
margin: auto; /* Centre horizontalement */
margin-top: 15px;
display: flex; /* Utiliser le modèle de boîte flexible */
justify-content: center; /* Centrer horizontalement */
align-items: center; /* Centrer verticalement */
}
.encadré-rouge {
background-color: rgba(255, 255, 255, 0.5);
border: 10px solid #fd4b1f;
box-shadow:
2px 2px 4px rgba(247, 102, 220, 0.678), /* Ombre en bas à droite (intérieur) */
2px 2px 4px rgba(247, 102, 220, 0.678) inset ;
}
.boite {
border: 2px solid #fd691f;
padding: 0px;
margin: 0px;
width: 200px;
background-color: #f8f5bb;
background-color: #f8d8bb;
background-color: #bbe7f8;
background-color: #bef8bb;
background-color: #f8bbe1;
border-radius: 5px;
position: absolute;
user-select: none;
text-align: center;
box-shadow:
2px 2px 4px rgba(247, 102, 220, 0.678), /* Ombre en bas à droite (intérieur) */
2px 2px 4px rgba(247, 102, 220, 0.678) inset ;
}
.boite:hover {
}
.custom-button {
padding: 10px 20px;
margin:10px;
border: none;
border-radius: 5px;
background-color: #fd691f; /* Couleur de base */
color: #fff; /* Couleur du texte */
box-shadow: 2px 2px 4px rgba(247, 102, 220, 0.678); /* Ombre */
transition: background-color 1s ease; /* Texture au survol */
cursor: pointer;/* Curseur au survol */
transition: transform 1s ease;
transition: font-size 0.3s ease;
background-image: linear-gradient(to right, transparent 50%, #FF5733 50%);
background-size: 200% 100%;
background-position: right bottom;
transition: background-position 0.3s ease;
}
.custom-button:hover {
background-color: #fc127b; /* Effet de couleur changeante au survol */
transform: translateY(0px); /* Faire monter le bouton de 5 pixels au survol */
/*font-size: 1.1em; /* Taille du texte agrandie */
background-position: left bottom;
}
/* Style des champs de formulaire */
input[type="text"], input[type="email"] {
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 5px;
box-sizing: border-box;
}
.ZoneTexte{
width: 200px;
height:100px;
}
.custom-area {
width: 100px; /* Largeur initiale de la zone de texte */
height: 10px; /* Hauteur initiale de la zone de texte */
/*transition: width 0.3s, height 0.3s; /* Ajout d'une transition pour le changement de taille */
}
.custom-area:hover {
/* width: 150px; /* Nouvelle largeur de la zone de texte au survol */
/* height: 15px; /* Nouvelle hauteur de la zone de texte au survol */
}
.Musique-container {
position: fixed;
bottom: 70%;
right: 10%;
left: 50%;
width: 100%;
background-color: rgba(255, 255, 255, 0.8); /* Couleur de fond opaque (blanc avec opacité 0.8) */
text-align: left; /* Centre le texte */
padding: 10px; /* Espace intérieur autour du texte */
z-index: 999; /* Assure que cet élément soit au-dessus de tout autre contenu */
}
/* titre trio magic*/
.h1triomagic {
border-color: aqua;
border-width: 4px;
border-radius: 2px;
}
/* Le trèfle dans le trio magique du cours d'innovation */
.trefoil {
position: relative;
width: 150px;
height: 400px;
}
.leaf {
position: absolute;
width: 150px;
height: 150px;
background-color: rgb(41, 189, 41);
border-radius: 100% 100% 100% 100% / 100% 100% 100% 100%;
border-radius: 100% 100% 100% 100% ;
}
.leaf.top-left {
top: 200px;
left: -60px;
transform: rotate(0deg);
background-color: rgba(93, 0, 255, 0.50);
z-index: 2;
}
.leaf.top-right {
top: 200px;
left: 60px;
transform: rotate(0deg);
background-color: rgba(93, 0, 255, 0.50);
z-index: 2;
}
.leaf.top {
top: 100px;
left: 0px;
transform: rotate(0deg);
background-color: rgba(93, 0, 255, 0.50);
z-index: 2;
}
.cercle {
position: relative;
border-radius: 100% 100% 100% 100%;
width: 80px;
height: 80px;
background-color: rgb(0, 6, 0);
top: 50px;
left:0px;
}
.rectangleRose {
position: relative;
width: 50%;
display: inline-block;
background-color: #fd96d660;
padding: 10px;
box-sizing: border-box; /* Ajuster la boîte pour inclure le rembourrage */
}
.rectangleBleu {
background-image: linear-gradient(to bottom,#6abbcf, #508fb3,#5591cc, #56a8d1 );
display: inline-block;
padding:15px;
margin-bottom:20px;
margin-top:20px;
border: 5px ridge rgb(156, 186, 222)
}
.text-top {
position:absolute;
left:-5px;
width:200px;
height:80px;
background:#ffffff00;
z-index:999;
}
.text-left {
position:absolute;
left:-300px;
top:250px;
width:200px;
margin-left: auto;
margin-right: auto;
text-align: center;
background:#ffffff00;
z-index:999;
}
.text-right {
position:absolute;
left:300px;
top:250px;
width:200px;
height:80px;
background:#ffffff00;
z-index:999;
}
.Retour-container {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
background-color: rgba(251, 248, 252, 0.534);
text-align: left; /* Centre le texte */
padding: 10px;
z-index: 999; /* Assure que cet élément soit au-dessus de tout autre contenu */
}
.Retour-container2 {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
background-color: rgba(47, 248, 138, 0.8);
text-align: left; /* Centre le texte */
padding: 10px;
z-index: 999; /* Assure que cet élément soit au-dessus de tout autre contenu */
}
.Retour-container a {
margin-left:50px;
}
.Retour {
text-decoration: none;
color: black; /* Couleur du texte */
font-weight: bold;
font-size:20px;
position:relative;
}
.Retour:hover {
color:rgba(3, 91, 57, 0.678);
/*font-size: 1.35em;*/
position:relative;
}
.CeCours {
text-decoration: none;
font-weight:bold;
font-size:20px;
background-color:rgba(3, 91, 57, 0.678);
color: rgb(224, 250, 246);
padding:10px;
}
.CeCoursRose {
text-decoration: none;
font-weight:bold;
font-size:20px;
background-color:rgba(203, 0, 71, 0.678);
color: rgb(250, 224, 231);
padding:10px;
cursor: not-allowed;
}
.RetourAccueil {
text-decoration: none;
color: rgb(7, 7, 7); /* Couleur du texte */
font-weight: bold;
font-size:20px;
}
.table {
border-collapse: collapse;
border-color: black;
table-layout: auto;
margin-left: 5%;
margin-right:20px;
margin-top:15px;
margin-bottom:20px;
empty-cells: hide;
background-color:rgb(244, 250, 248);
padding:0px;
min-width: auto;
}
.fleche {
display: inline-block;
width: 20px; /* Largeur de l'image */
height: 22px; /* Hauteur de l'image */
background-image: url(icones/fleche.png); /* Chemin vers votre image */
background-size: contain; /* Ajuster la taille de l'image */
background-position: center 6px; /* Position verticale ajustée */
background-repeat: no-repeat; /* Ne pas répéter l'image */
margin-right: 5px; /* Espace entre l'image et le texte */
}
.coche {
display: inline-block;
width: 20px; /* Largeur de l'image */
height: 22px; /* Hauteur de l'image */
background-image: url(icones/coche.png); /* Chemin vers votre image */
background-size: contain; /* Ajuster la taille de l'image */
background-position: center 4px; /* Position verticale ajustée */
background-repeat: no-repeat; /* Ne pas répéter l'image */
margin-right: 5px; /* Espace entre l'image et le texte */
}
.cible {
display: inline-block;
width: 20px; /* Largeur de l'image */
height: 22px; /* Hauteur de l'image */
background-image: url(icones/cible.png); /* Chemin vers votre image */
background-size: contain; /* Ajuster la taille de l'image */
background-position: center 2px; /* Position verticale ajustée */
background-repeat: no-repeat; /* Ne pas répéter l'image */
margin-right: 5px; /* Espace entre l'image et le texte */
}
.flecherouge {
display: inline-block;
width: 20px; /* Largeur de l'image */
height: 22px; /* Hauteur de l'image */
background-image: url(icones/fleche\ rouge.png); /* Chemin vers votre image */
background-size: contain; /* Ajuster la taille de l'image */
background-position: center 2px; /* Position verticale ajustée */
background-repeat: no-repeat; /* Ne pas répéter l'image */
margin-right: 5px; /* Espace entre l'image et le texte */
}
.liste{
display: flex;
}