dinguerie le css

This commit is contained in:
thaaoblues 2024-12-31 16:28:04 +01:00
parent 4f0466f045
commit 879f10659c
9 changed files with 157 additions and 66 deletions

View file

@ -24,10 +24,14 @@ table {
border: 1px solid #000;
}
table.table_magasin{
table.table-magasin{
width: 150px;
padding: 12px;
margin-top: 10px;
margin-bottom: 10px;
}
#table_magasin_collegues{
text-align: center;
}

View file

@ -19,7 +19,6 @@ button {
border: 1px solid #ddd;
background-color: #0206ff;
cursor: pointer;
border-radius: 5px;
color: #ddd;
}
@ -42,6 +41,7 @@ table {
width: 100%;
border-collapse: collapse;
border: 15px solid #e99d0f;
text-align: center;
}
td, th {
@ -65,7 +65,7 @@ div.ad{
div.ad.adt3{
visibility: hidden;
}
table.table_magasin{
table.table-magasin{
width: 150px;
padding: 12px;
margin-top: 10px;

View file

@ -15,9 +15,11 @@ button {
background-color: #000000;
color: white;
cursor: pointer;
border-radius: 10px;
font-weight: bold;
color: #ddd;
border-width: 2px;
border-style: dotted;
border-color: greenyellow;
}
button:hover {
@ -70,7 +72,7 @@ div.ad.adt3{
visibility: visible;
}
table.table_magasin{
table.table-magasin{
width: 150px;
padding: 12px;
margin-top: 10px;

View file

@ -55,7 +55,7 @@ td {
border: 1px solid #ddd;
}
table.table_magasin{
table.table-magasin{
width: 150px;
padding: 12px;
margin-top: 10px;

View file

@ -55,7 +55,7 @@ td, th {
text-align: left;
border: 1px solid #ecf0f1;
}
table.table_magasin{
table.table-magasin{
color: #ddd;
width: 150px;
padding: 12px;

View file

@ -43,7 +43,7 @@ td, th {
text-align: left;
border: 1px solid #ddd;
}
table.table_magasin{
table.table-magasin{
width: 150px;
padding: 12px;
margin-top: 10px;

View file

@ -1,74 +1,142 @@
/* t7.css - XHTML 1.0 */
/* t7.css - XHTML 1.0 - Représentation de la fin des années 2010 */
body {
font-family: 'Segoe UI', serif;
background-color: #ecf0f1;
color: #34495e;
font-family: 'Helvetica Neue', Arial, sans-serif;
background-color: #f4f4f9;
color: #2c3e50;
margin: 0;
padding: 70px;
padding: 0;
line-height: 1.6;
}
output {
font-size: 30px;
header {
background-color: #3498db;
color: white;
padding: 20px 0;
text-align: center;
font-size: 24px;
font-weight: bold;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
main {
max-width: 960px;
margin: 40px auto;
padding: 20px;
background-color: white;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
h1, h2, h3 {
color: #34495e;
margin-bottom: 20px;
font-weight: 600;
text-align: center;
}
p {
margin-bottom: 20px;
}
button {
padding: 15px 30px;
border: 2px solid #e74c3c;
background-color: white;
color: #e74c3c;
padding: 10px 25px;
font-size: 16px;
color: white;
background-color: #e74c3c;
border: none;
border-radius: 5px;
cursor: pointer;
border-radius: 25px;
font-size: 20px;
transition: transform 0.2s ease;
transition: background-color 0.3s ease, transform 0.2s ease;
}
button:hover {
transform: scale(1.05);
background-color: #e74c3c;
color: white;
background-color: #c0392b;
transform: translateY(-2px);
}
button:active {
transform: translateY(0);
}
a {
color: #3498db;
text-decoration: none;
font-weight: bold;
transition: color 0.3s ease;
}
a:hover {
color: #2980b9;
}
img {
display: block;
max-width: 100%;
height: auto;
border-radius: 20px;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
margin: 20px 0;
border-radius: 5px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
table {
width: 100%;
border-collapse: collapse;
border: 2px solid #ff9900;
margin: 20px 0;
border-radius: 5px;
overflow: hidden;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
td, th {
padding: 20px;
table th, table td {
padding: 15px;
text-align: left;
border: 1px solid #ff9900;
}
table.table_magasin{
width: 150px;
padding: 12px;
margin-top: 10px;
margin-bottom: 10px;
}
a{
color: #fda500;
table th {
background-color: #3498db;
color: white;
font-weight: bold;
}
a:visited{
color: #e74c3c;
table tr:nth-child(odd) {
background-color: #ecf0f1;
}
div.score_button{
background-color: #8a9198;
position: fixed;
top: 0%;
}
table tr:nth-child(even) {
background-color: #ffffff;
}
footer {
text-align: center;
padding: 10px 0; border-radius: 5px;
background-color: #2c3e50;
color: white;
margin-top: 40px;
font-size: 14px;
}
div.card {
background-color: white;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
padding: 20px;
margin: 20px 0;
transition: transform 0.2s ease, box-shadow 0.3s ease;
}
div.card:hover {
transform: translateY(-5px);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
div.score-button{
margin-top: 2vh;
margin-bottom: 2vh;
padding: 15px;
background-color: #2c3e50;
color: white;
font-weight: bolder;
font-size: xx-large;
width: 100vw;
}

View file

@ -4,9 +4,6 @@ body {
background-color: #ffffff;
color: #2c3e50;
margin: 0;
padding: 90px;
}
output{
@ -50,10 +47,16 @@ img:hover {
}
table {
width: 100%;
width: 85vw;
border-collapse: collapse;
border: 3px solid #ff9900;
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
transition: box-shadow 0.3s ease;
margin-left: auto;
margin-right: auto;
}
table:hover {
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}
td, th {
@ -78,13 +81,6 @@ table tr:hover {
background-color: #b61212;
}
table.table_magasin{
width: 150px;
padding: 12px;
margin-top: 10px;
margin-bottom: 10px;
}
a{
color: #fda500;
@ -92,4 +88,25 @@ a{
a:visited{
color: #e74c3c;
}
div.score-button{
margin-top: 2vh;
margin-bottom: 2vh;
margin-left: auto;
margin-right: auto;
padding: 15px;
background-color: #fda500;
color: white;
font-weight: bolder;
font-size: xx-large;
width: 75vw;
border-radius: 10px;
text-align: center;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
transition: box-shadow 0.3s ease;
}
div.score-button:hover {
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

View file

@ -16,7 +16,7 @@
<script src="./js/alerte.js"></script>
<script src="./js/collegue.js"></script>
<div id="confetti-container"></div>
<div id="score_button" class="score_button">
<div id="score_button" class="score-button">
<div id="div_score" class="div-centrer-contenu">
</div>
@ -26,7 +26,7 @@
<button id="bouton-prof" onclick="leBoostDuProf()">Le Méga Boost du Prof</button>
</div>
</div>
<table id="table_magasin_technologies" class="table_magasin">
<table id="table_magasin_technologies" class="table-magasin">
<thead id="table_magasin_technologies_head">
</thead>