index.html 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <title></title>
  7. <meta name="description" content="">
  8. <meta name="viewport" content="width=device-width, initial-scale=1">
  9. <link rel="stylesheet" href="styles.css">
  10. <script type="text/javascript" src="https://unpkg.com/external-svg-loader@latest/svg-loader.min.js" async></script>
  11. </head>
  12. <body>
  13. <div id="content">
  14. <!-- deux svg pour pouvoir utiliser mix blend mode avec les histoires de stacking context -->
  15. <svg id="stroke" xmlns:xlink="http://www.w3.org/1999/xlink" width="100%" xmlns="http://www.w3.org/2000/svg" viewBox="-8697.766 17429.18 677.183 706.257">
  16. <path rx="0" ry="0" d="M-8219.035,17632.029L-8107.295,17867.024L-8229.636,17969.717L-8291.783,18096.894L-8492.425,17938.383L-8596.599,17808.682L-8580.356,17588.946L-8468.630,17500.749L-8219.035,17632.029Z">
  17. </path>
  18. </svg>
  19. <svg id="fill" xmlns:xlink="http://www.w3.org/1999/xlink" width="100%" xmlns="http://www.w3.org/2000/svg" viewBox="-8697.766 17429.18 677.183 706.257">
  20. <path rx="0" ry="0" d="M-8219.035,17632.029L-8107.295,17867.024L-8229.636,17969.717L-8291.783,18096.894L-8492.425,17938.383L-8596.599,17808.682L-8580.356,17588.946L-8468.630,17500.749L-8219.035,17632.029Z">
  21. </path>
  22. </svg>
  23. <div id="buttons_container">
  24. <!-- svg dans object pour pouvoir les manipuler avec css -->
  25. <div class="mode active">
  26. <svg data-src="assets/pictos/terrain-de-vie.svg" data-cache="disabled"></svg>
  27. <p>Terrain de vie</p>
  28. </div>
  29. <div class="mode">
  30. <svg data-src="assets/pictos/proximite.svg" data-cache="disabled"></svg>
  31. <p>Proximité</p>
  32. </div>
  33. <div class="mode">
  34. <svg data-src="assets/pictos/superposition.svg" data-cache="disabled"></svg>
  35. <p>Superposition</p>
  36. </div>
  37. <div class="mode">
  38. <svg data-src="assets/pictos/puissance-d-agir.svg" data-cache="disabled"></svg>
  39. <p>Puissance d'agir</p>
  40. </div>
  41. <div class="mode">
  42. <svg data-src="assets/pictos/action.svg" data-cache="disabled"></svg>
  43. <p>Action</p>
  44. </div>
  45. <div class="mode">
  46. <svg data-src="assets/pictos/doleance.svg" data-cache="disabled"></svg>
  47. <p>Doléancer</p>
  48. </div>
  49. </div>
  50. <div id="BG_BG_BG"></div>
  51. <div id="BG_BG_BG_tmp"></div>
  52. </div>
  53. <div id="grain-bg"></div>
  54. <script src="grained/grained.js" defer></script>
  55. <script src="background.js" defer></script>
  56. </body>
  57. </html>