Téléverser les fichiers vers "css"
This commit is contained in:
parent
341467dd34
commit
61106dabbc
5 changed files with 294 additions and 0 deletions
56
css/alerte.css
Normal file
56
css/alerte.css
Normal file
|
|
@ -0,0 +1,56 @@
|
||||||
|
/*
|
||||||
|
* @file css/alerte.css
|
||||||
|
* @description
|
||||||
|
* @author mougnibas <mougnibas@insa-toulouse.fr>
|
||||||
|
* @createTime 2024-11-29 10:35:07
|
||||||
|
* @lastModified 2024-12-15 18:53:32
|
||||||
|
* Copyright ©Théo Mougnibas All rights reserved
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Le conteneur de l'alerte, va couvrir tout l'écran*/
|
||||||
|
.modal {
|
||||||
|
display: none; /* on la cache par défaut */
|
||||||
|
position: fixed;
|
||||||
|
z-index: 1; /* BAM ! AU DESSUS DE TOUT */
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
background-color: rgba(0, 0, 0, 0.4); /* On floute le derrière */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Contenu de l'alerte */
|
||||||
|
.modal-content {
|
||||||
|
background-color: #fefefe;
|
||||||
|
margin: 15% auto; /* on le centre */
|
||||||
|
padding: 20px;
|
||||||
|
border: 1px solid #888;
|
||||||
|
width: 80%;
|
||||||
|
max-width: 400px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Bouton pour fermer l'alerte */
|
||||||
|
.close-btn {
|
||||||
|
color: #aaa;
|
||||||
|
float: right;
|
||||||
|
font-size: 28px;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.close-btn:hover,
|
||||||
|
.close-btn:focus {
|
||||||
|
color: black;
|
||||||
|
text-decoration: none;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Bouton OK */
|
||||||
|
.modal.button {
|
||||||
|
padding: 10px 20px;
|
||||||
|
background-color: #4CAF50;
|
||||||
|
color: white;
|
||||||
|
border: none;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
53
css/index.css
Normal file
53
css/index.css
Normal file
|
|
@ -0,0 +1,53 @@
|
||||||
|
@keyframes faireTournerImage {
|
||||||
|
0% {
|
||||||
|
transform: rotate(0deg);
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
transform: rotate(360deg);
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#image-collegue-animee {
|
||||||
|
width: auto;
|
||||||
|
height: auto;
|
||||||
|
animation: faireTournerImage 2s linear forwards infinite;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.div-centrer-contenu{
|
||||||
|
width: 100%;
|
||||||
|
justify-content: center;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@keyframes pluieConfetti {
|
||||||
|
0% {
|
||||||
|
transform: translateY(-100px) rotate(0deg);
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
transform: translateY(100vh) rotate(720deg);
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.confetti {
|
||||||
|
position: absolute;
|
||||||
|
width: 10px;
|
||||||
|
height: 20px;
|
||||||
|
animation: pluieConfetti 5s linear infinite;
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.confetti-container {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
overflow: hidden;
|
||||||
|
pointer-events: none; /* pour ne pas interagir avec les confettis */
|
||||||
|
}
|
||||||
33
css/t1.css
Normal file
33
css/t1.css
Normal file
|
|
@ -0,0 +1,33 @@
|
||||||
|
/* t1.css - HTML */
|
||||||
|
body {
|
||||||
|
font-family: Arial, sans-serif;
|
||||||
|
background-color: white;
|
||||||
|
color: black;
|
||||||
|
margin: 500;
|
||||||
|
padding: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
button {
|
||||||
|
padding: 5px 15px;
|
||||||
|
border: 1px solid #000;
|
||||||
|
background-color: white;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
table {
|
||||||
|
width: 100%;
|
||||||
|
border-collapse: collapse;
|
||||||
|
border: 1px solid #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.table_magasin{
|
||||||
|
width: 150px;
|
||||||
|
padding: 12px;
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
|
||||||
|
}
|
||||||
74
css/t2.css
Normal file
74
css/t2.css
Normal file
|
|
@ -0,0 +1,74 @@
|
||||||
|
/* t2.css - HTML+ */
|
||||||
|
body {
|
||||||
|
font-family: Arial, sans-serif;
|
||||||
|
background-color: #f55555;
|
||||||
|
color: #333333;
|
||||||
|
margin: 10;
|
||||||
|
padding: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
output {
|
||||||
|
color: aqua;
|
||||||
|
font-size: 75px;
|
||||||
|
border:dotted #00ff62;
|
||||||
|
border-radius: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
padding: 8px 15px;
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
background-color: #0206ff;
|
||||||
|
cursor: pointer;
|
||||||
|
border-radius: 5px;
|
||||||
|
color: #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
button:hover {
|
||||||
|
background-color: #bbb;
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
max-width: 100%;
|
||||||
|
height: auto;
|
||||||
|
border-radius: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
th {
|
||||||
|
font-family:Impact;
|
||||||
|
color: rgb(38, 231, 17);
|
||||||
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
width: 100%;
|
||||||
|
border-collapse: collapse;
|
||||||
|
border: 15px solid #e99d0f;
|
||||||
|
}
|
||||||
|
|
||||||
|
td, th {
|
||||||
|
padding: 8px;
|
||||||
|
text-align: left;
|
||||||
|
border: 8px solid #fc04fc;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.ad{
|
||||||
|
visibility: visible;
|
||||||
|
display: block !important;
|
||||||
|
|
||||||
|
width: 150px;
|
||||||
|
padding: 12px;
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
border: 1px solid #87bc44;
|
||||||
|
background: #e0ff92;
|
||||||
|
line-height: 1.2;
|
||||||
|
}
|
||||||
|
div.ad.adt3{
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
table.table_magasin{
|
||||||
|
width: 150px;
|
||||||
|
padding: 12px;
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
|
||||||
|
}
|
||||||
78
css/t3.css
Normal file
78
css/t3.css
Normal file
|
|
@ -0,0 +1,78 @@
|
||||||
|
/* t3.css - HTML 2.0 */
|
||||||
|
body {
|
||||||
|
font-family: 'Segoe UI', sans-serif;
|
||||||
|
background-color: #f0f0f0;
|
||||||
|
color: #ddd;
|
||||||
|
margin: 0;
|
||||||
|
padding: 30px;
|
||||||
|
background-image: url(../img/codevert.jpg);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
button {
|
||||||
|
padding: 10px 20px;
|
||||||
|
border: none;
|
||||||
|
background-color: #000000;
|
||||||
|
color: white;
|
||||||
|
cursor: pointer;
|
||||||
|
border-radius: 10px;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
button:hover {
|
||||||
|
background-color: #66ff00;
|
||||||
|
}
|
||||||
|
|
||||||
|
output {
|
||||||
|
color: #ddd;
|
||||||
|
font-size: 50px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
max-width: 100%;
|
||||||
|
height: auto;
|
||||||
|
border-radius: 8px;
|
||||||
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
width: 100%;
|
||||||
|
border-collapse: collapse;
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
}
|
||||||
|
th {
|
||||||
|
font-size: 20px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
td {
|
||||||
|
padding: 10px;
|
||||||
|
text-align: left;
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.ad{
|
||||||
|
visibility: visible;
|
||||||
|
display: block !important;
|
||||||
|
float: right;
|
||||||
|
width: 162px;
|
||||||
|
padding: 12px;
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
border: 1px solid #87bc44;
|
||||||
|
background: #e0ff92;
|
||||||
|
line-height: 1.2;
|
||||||
|
}
|
||||||
|
div.ad.adt3{
|
||||||
|
visibility: visible;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.table_magasin{
|
||||||
|
width: 150px;
|
||||||
|
padding: 12px;
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue