Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
HTML
<style>
/* Basic modal backdrop */
#wipo-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height:100%;
  background: rgba(0,0,0,0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Visible when targeted */
#wipo-modal:target {
  display: flex;
}

/* Modal content */
.wipo-modal-content {
  background: #ffffff;
  padding: 0;
  border-radius: 8px;
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  position: relative;
}

/* Image styling */
.wipo-modal-content img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Close button */
.wipo-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  text-decoration: none;
  color: #ffffff;
  background: rgba(0,0,0,0.5);
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: bold;
}

.wipo-close:hover {
  background: rgba(0,0,0,0.8);
}

/* For dark mode */
@media (prefers-color-scheme: dark) {
  .wipo-modal-content {
    background: #0b1220;
  }
}
</style>

<!-- Clickable link that opens the modal -->
<p>A 
<a href="#wipo-modal" style="color:#005b9e; font-weight:600; cursor:pointer;">
    Web contact Form
  </a>
is available by clicking on the "contact us" link at the top right corner of any WIPO DAS webpage (<a href="https://www3.wipo.int/contact/en/area.jsp?area=das">WIPO DAS Support contact form</a>.)</p> 
</p>

<!-- Modal (hidden until :target is triggered) -->
<div id="wipo-modal">
  <div class="wipo-modal-content">
    <a href="#" class="wipo-close">✕</a>
    <img src="https://confluence.wipo.int/confluence/download/attachments/1640667157/image-2025-11-10_9-52-53.png?api=v2" alt="Contact Us screenshot">
  </div>
</div>

...