Przeglądaj źródła

Second try to remove map on small screens.

Jovian (Darkside) 6 lat temu
rodzic
commit
ed7f694781
1 zmienionych plików z 4 dodań i 7 usunięć
  1. 4 7
      index.html

+ 4 - 7
index.html

@@ -20,10 +20,8 @@
 <!-- Navbar -->
 <nav class="navbar navbar-expand-md navbar-dark bg-success fixed-top">
     <a class="navbar-brand" href="index.html">Jovian Hersemeule</a>
-    <img class="rounded-circle jovian-toggler" type="button" data-toggle="collapse" data-target="#joviaNav"
-         aria-controls="joviaNav"
-         aria-expanded="false" aria-label="Dérouler le menu" src="https://img.icons8.com/color/48/000000/menu-2.png"
-         alt="V">
+    <img class="rounded-circle jovian-toggler" type="button" data-toggle="collapse" data-target="#joviaNav" aria-controls="joviaNav"
+          aria-expanded="false" aria-label="Dérouler le menu" src="https://img.icons8.com/color/48/000000/menu-2.png" alt="V">
     <div class="collapse navbar-collapse" id="joviaNav">
         <ul class="navbar-nav mr-auto">
             <li class="nav-item active">
@@ -81,11 +79,10 @@
         <p class="lead">Vous trouverez ici les principales informations me concernant : qui je suis, mon parcours, mon
             expérience professionnelle et mes projets de programmation.<br>Bonne visite !</p>
     </div>
-    <img class="rounded img-fluid mx-auto d-none d-sm-block" src="images/home_picture_v1.jpg"
-         alt="Photo d'accueil" usemap="#homemap">
+    <img class="rounded img-fluid mx-auto d-block" src="images/home_picture_v1.jpg" alt="Photo d'accueil" usemap="#homemap">
 
     <!-- Map image parts to site naviagtion -->
-    <map name="homemap">
+    <map class="d-none d-sm-block" name="homemap">
         <area shape="rect" coords="120,12,412,306" alt="CV" href="cv.html">
         <area shape="rect" coords="494,592,944,880" alt="Projets" href="projects.html">
         <area shape="rect" coords="0,564,194,708" alt="Contact" href="contact.html">