You are here

seckit.noscript_tag.css in Security Kit 6

/**
 * Override style of seckit.no_body.css to show div with message.
 */
body {
  display: block !important;
}

/**
 * Set style of div with message
 * "Sorry, you need to enable JavaScript to visit this website."
 * so it hides all site behind itself.
 */
#seckit-noscript-tag {
  background-color: white;
  position: fixed;
  top: 0px;
  left: 0px;
  height: 100% !important;
  width: 100% !important;
  z-index: 999 !important;
  font-family: sans-serif;
  font-weight: bold;
  color: red;
  text-align: center;
  padding-top: 20px;
}

File

css/seckit.noscript_tag.css
View source
  1. /**
  2. * Override style of seckit.no_body.css to show div with message.
  3. */
  4. body {
  5. display: block !important;
  6. }
  7. /**
  8. * Set style of div with message
  9. * "Sorry, you need to enable JavaScript to visit this website."
  10. * so it hides all site behind itself.
  11. */
  12. #seckit-noscript-tag {
  13. background-color: white;
  14. position: fixed;
  15. top: 0px;
  16. left: 0px;
  17. height: 100% !important;
  18. width: 100% !important;
  19. z-index: 999 !important;
  20. font-family: sans-serif;
  21. font-weight: bold;
  22. color: red;
  23. text-align: center;
  24. padding-top: 20px;
  25. }