diff --git a/WEB/src/CSS/Presentation.css b/WEB/src/CSS/Presentation.css index 8032d0bc..de6580f8 100644 --- a/WEB/src/CSS/Presentation.css +++ b/WEB/src/CSS/Presentation.css @@ -1,7 +1,7 @@ html{ scroll-behavior: smooth; - background-image: url(../../assets/img/BackgroundPresentation.jpg); + background-image: url(../../assets/img/Background.jpg); height: 100vh; background-position: center; background-repeat: no-repeat; diff --git a/WEB/src/CSS/enigme.css b/WEB/src/CSS/enigme.css index defe554d..3779ea9a 100644 --- a/WEB/src/CSS/enigme.css +++ b/WEB/src/CSS/enigme.css @@ -83,6 +83,14 @@ body{ margin-right: 20px; } +.titre_pre{ + display: flex; +} + +.sign{ + margin-left:3%; +} + diff --git a/WEB/src/pages/Enigme/Presentation.html b/WEB/src/pages/Enigme/Presentation.html index 4de0a348..26f68f88 100644 --- a/WEB/src/pages/Enigme/Presentation.html +++ b/WEB/src/pages/Enigme/Presentation.html @@ -41,7 +41,6 @@ Run -
diff --git a/WEB/src/pages/Enigme/palindrome.html b/WEB/src/pages/Enigme/palindrome.html index 41a11fb2..6970d3c5 100644 --- a/WEB/src/pages/Enigme/palindrome.html +++ b/WEB/src/pages/Enigme/palindrome.html @@ -5,20 +5,26 @@ Palindrome - + + + -
-
-

- p - alin - d - rome -

-

+
+
+ home +
+
+

+ p + alin + d + rome +

+

+

Consigne


Écrire une fonction estPalindrome qui prend en argument un entier et qui renvoie True si c’est un palindrome et False sinon. @@ -32,12 +38,6 @@

Aide


En python l’instruction [::-1] permet d’inverse une chaine de caractère. Par exemple print("ae"[::-1]) affiche : ea.

- - -
def estPalindrome(var): if(var == var[::-1]): return True