diff --git a/css/style.css b/css/style.css index 12c5a9c..f85ab6f 100644 --- a/css/style.css +++ b/css/style.css @@ -127,7 +127,17 @@ form { background-color: #82E6AC; } -.help { +.hint { + position: relative; + top: 0; +} + +.hint__int { + position: relative; + width: 100%; +} + +.hint__help { display: none; z-index: 2; position: absolute; @@ -141,18 +151,18 @@ form { background-color: #e5e5e5; font-size: 14px; } -.help:hover { +.hint__help:hover { display: block; } -.help p { +.hint__help p { position: relative; font-size: 14px; } -.help img { +.hint__help img { border-radius: 15px; width: 100%; } -.help code { +.hint__help code { background-color: #aaa; border-radius: 5px; font-family: courier, monospace; diff --git a/prof/include/champ.php b/prof/include/champ.php index df60e48..99f8ec4 100755 --- a/prof/include/champ.php +++ b/prof/include/champ.php @@ -1,9 +1,5 @@ ',$titre,' : '; -if ($help) { - echo ''; -} -echo '
+echo '',$titre,' :
Entrez le nom du bâtiment dans lequel se trouve le matériel
Ex: bâtiment A
+
+