Commit 3a30fef5d4d115ddedf62d3ee25d330ac09e8557

Authored by Geoffrey PREUD'HOMME
1 parent 63ec90dc

Better remplacement for map with a link

Showing 3 changed files with 4 additions and 3 deletions   Show diff stats
css/crep.css
... ... @@ -85,7 +85,8 @@ body
85 85  
86 86 #map-canvas > img
87 87 {
88   - height: 400px;
  88 + max-height: 400px;
  89 + max-width: 100%;
89 90 }
90 91  
91 92 #footer
... ...
img/Makefile
... ... @@ -12,7 +12,7 @@ mainBgPattern.png:
12 12 optipng -o7 $@
13 13  
14 14 polyMap.png:
15   - wget "https://maps.googleapis.com/maps/api/staticmap?center=50.6074998,3.1373338&zoom=16&size=640x400&scale=2&maptype=roadmap&markers=color:red%7Clabel:P%7C50.6074998,3.1373338" -O $@
  15 + wget "https://maps.googleapis.com/maps/api/staticmap?center=50.6074998,3.1373338&zoom=16&size=640x200&scale=2&maptype=roadmap&markers=color:red%7Clabel:P%7C50.6074998,3.1373338" -O $@
16 16 optipng -o7 $@
17 17  
18 18 %.png: %.svg
... ...
pages/contact.php
... ... @@ -5,5 +5,5 @@
5 5  
6 6  
7 7 <div id="map-canvas">
8   - <img src="img/polyMap.png"/>
  8 + <a href="https://www.google.fr/maps/place/Polytech+Lille/@50.607584,3.136977,15z/data=!4m2!3m1!1s0x0:0xcc566fb8dc443187"><img src="img/polyMap.png"/></a>
9 9 </div>
10 10 \ No newline at end of file
... ...