From 7b2a79364664422c1a14daef78cc736d4c201daf Mon Sep 17 00:00:00 2001 From: mougnibas Date: Fri, 29 Nov 2024 10:44:27 +0100 Subject: [PATCH 1/3] bdd --- bdd/arbre.json | 44 ++++++++------------------------------------ 1 file changed, 8 insertions(+), 36 deletions(-) diff --git a/bdd/arbre.json b/bdd/arbre.json index ea5fe32..43a93d3 100644 --- a/bdd/arbre.json +++ b/bdd/arbre.json @@ -4,10 +4,6 @@ "nom": "HTML", "elements": { "button": { - "nom": "button", - "cout": 30, - "boost": 10, - "borne": 20 } }, "boost": 30, @@ -22,10 +18,7 @@ "nom": "HTML+", "elements": { "button": { - "nom": "button", - "cout": 10, - "boost": 10, - "borne": 5 + } }, "boost": 10, @@ -40,10 +33,7 @@ "nom": "HTML 2.0", "elements": { "button": { - "nom": "button", - "cout": 10, - "boost": 10, - "borne": 10 + } }, "boost": 10, @@ -58,10 +48,7 @@ "nom": "HTML 3.2", "elements": { "button": { - "nom": "button", - "cout": 10, - "boost": 10, - "borne": 10 + } }, "boost": 10, @@ -76,10 +63,7 @@ "nom": "HTML 4.01", "elements": { "button": { - "nom": "button", - "cout": 10, - "boost": 10, - "borne": 10 + } }, "boost": 10, @@ -94,10 +78,7 @@ "nom": "XHTML 4.01", "elements": { "button": { - "nom": "button", - "cout": 10, - "boost": 10, - "borne": 10 + } }, "boost": 10, @@ -112,10 +93,7 @@ "nom": "XHTML 1.0", "elements": { "button": { - "nom": "button", - "cout": 10, - "boost": 10, - "borne": 10 + } }, "boost": 10, @@ -130,10 +108,7 @@ "nom": "HTML 5", "elements": { "button": { - "nom": "button", - "cout": 10, - "boost": 10, - "borne": 10 + } }, "boost": 10, @@ -148,10 +123,7 @@ "nom": "XHTML 5", "elements": { "button": { - "nom": "button", - "cout": 10, - "boost": 10, - "borne": 10 + } }, "boost": 10, From 4199e78a56c23a87116433d2f4a875500c503076 Mon Sep 17 00:00:00 2001 From: beau Date: Fri, 29 Nov 2024 10:45:33 +0100 Subject: [PATCH 2/3] woup woup --- css/t6.css | 10 +++------- css/t7.css | 23 ++++++++++++----------- css/t8.css | 10 +++++----- 3 files changed, 20 insertions(+), 23 deletions(-) diff --git a/css/t6.css b/css/t6.css index 4e85119..8bf1c84 100644 --- a/css/t6.css +++ b/css/t6.css @@ -7,16 +7,12 @@ body { padding: 60px; } -h1, h2, h3 { - color: #9b59b6; - text-align: left; - margin-bottom: 30px; -} + button { padding: 18px 35px; border: none; - background-color: #9b59b6; + background-color: #e74c3c; color: white; cursor: pointer; border-radius: 5px; @@ -24,7 +20,7 @@ button { } button:hover { - background-color: #8e44ad; + background-color: #fda500; } img { diff --git a/css/t7.css b/css/t7.css index 0c35268..e69c811 100644 --- a/css/t7.css +++ b/css/t7.css @@ -1,23 +1,22 @@ /* t7.css - XHTML 1.0 */ body { - font-family: 'Georgia', serif; + font-family: 'Segoe UI', serif; background-color: #ecf0f1; color: #34495e; margin: 0; padding: 70px; } -h1, h2, h3 { - color: #3498db; - text-align: center; - margin-bottom: 20px; +output { + font-size: 30px; + } button { - padding: 20px 40px; - border: 2px solid #3498db; + padding: 15px 30px; + border: 2px solid #e74c3c; background-color: white; - color: #3498db; + color: #e74c3c; cursor: pointer; border-radius: 25px; font-size: 20px; @@ -26,7 +25,7 @@ button { button:hover { transform: scale(1.1); - background-color: #3498db; + background-color: #e74c3c; color: white; } @@ -40,11 +39,13 @@ img { table { width: 100%; border-collapse: collapse; - border: 2px solid #3498db; + border: 2px solid #ff9900; + } td, th { padding: 20px; text-align: left; - border: 1px solid #3498db; + border: 1px solid #ff9900; + } diff --git a/css/t8.css b/css/t8.css index 315497e..93fd7a4 100644 --- a/css/t8.css +++ b/css/t8.css @@ -17,7 +17,7 @@ h1, h2, h3 { button { padding: 20px 40px; border: none; - background-color: #16a085; + background-color: #e74c3c; color: white; cursor: pointer; border-radius: 50px; @@ -27,7 +27,7 @@ button { } button:hover { - background-color: #1abc9c; + background-color: #ff9900; transform: translateY(-3px); } @@ -41,14 +41,14 @@ img { table { width: 100%; border-collapse: collapse; - border: 2px solid #16a085; + border: 2px solid #ff9900; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } td, th { padding: 25px; text-align: left; - border: 1px solid #16a085; + border: 1px solid #ff9900; font-size: 18px; } @@ -57,7 +57,7 @@ td { } th { - background-color: #16a085; + background-color: #ff9900; color: white; } From 508fa2c39ab7d61dd80edf54015f958c7bf60b2f Mon Sep 17 00:00:00 2001 From: mougnibas Date: Fri, 29 Nov 2024 10:47:19 +0100 Subject: [PATCH 3/3] ptit rangement --- css/t3.css | 2 +- css/t4.css | 2 +- css/t5.css | 2 +- css/t9.css | 2 +- {css => img}/codevert.jpg | Bin {css => img}/codevertmatrix.gif | Bin {css => img}/matrix.gif | Bin 7 files changed, 4 insertions(+), 4 deletions(-) rename {css => img}/codevert.jpg (100%) rename {css => img}/codevertmatrix.gif (100%) rename {css => img}/matrix.gif (100%) diff --git a/css/t3.css b/css/t3.css index 41e1329..35c7b20 100644 --- a/css/t3.css +++ b/css/t3.css @@ -5,7 +5,7 @@ body { color: #ddd; margin: 0; padding: 30px; - background-image: url(codevert.jpg); + background-image: url(../img/codevert.jpg); } diff --git a/css/t4.css b/css/t4.css index 91b19c3..ca5cf75 100644 --- a/css/t4.css +++ b/css/t4.css @@ -5,7 +5,7 @@ body { color: #ddd; margin: 0; padding: 40px; - background-image: url(matrix.gif), url(codevert.jpg); + background-image: url(../img/matrix.gif), url(../img/codevert.jpg); } button { diff --git a/css/t5.css b/css/t5.css index e4a15c3..66b8c6a 100644 --- a/css/t5.css +++ b/css/t5.css @@ -5,7 +5,7 @@ body { color: #2c3e50; margin: 0; padding: 50px; - background-image: url(codevertmatrix.gif); + background-image: url(../img/codevertmatrix.gif); } h1, h2, h3 { diff --git a/css/t9.css b/css/t9.css index b8494a0..dbb5766 100644 --- a/css/t9.css +++ b/css/t9.css @@ -6,7 +6,7 @@ body { margin: 0; padding: 90px; background-image: linear-gradient(black, white); - background-image: url(codevert.jpg); + background-image: url(../img/codevert.jpg); } h1, h2, h3 { diff --git a/css/codevert.jpg b/img/codevert.jpg similarity index 100% rename from css/codevert.jpg rename to img/codevert.jpg diff --git a/css/codevertmatrix.gif b/img/codevertmatrix.gif similarity index 100% rename from css/codevertmatrix.gif rename to img/codevertmatrix.gif diff --git a/css/matrix.gif b/img/matrix.gif similarity index 100% rename from css/matrix.gif rename to img/matrix.gif