Advertisement
web-fx

deferment-1.0.0.scss

Jan 17th, 2021
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. /* deferment.scss - PUBLIC DOMAIN RELEASE - VERSION 1.0.0 - https://pastebin.com/WyQFcwws */
  2.  
  3. body {
  4.  
  5. overflow: hidden;
  6. font-family: Arial;
  7. font-size: 4vw;
  8.  
  9. }
  10.  
  11. .curtain {
  12.  
  13. z-index: 9998;
  14. position: absolute;
  15. left: 0;
  16. top: 0;
  17. width: 100vw;
  18. height: 100vh;
  19. background: white;
  20.  
  21. }
  22.  
  23. .deferment {
  24.  
  25. display: table;
  26. position: fixed;
  27. z-index: 9999;
  28. top: 0;
  29. left: 0;
  30. width: 100vw;
  31. height: 100vh;
  32. background: white;
  33.  
  34. }
  35.  
  36. .deferment div:first-of-type {
  37.  
  38. display: table-row;
  39.  
  40. }
  41.  
  42. .deferment div:first-of-type div:first-of-type {
  43.  
  44. display: table-cell;
  45. vertical-align: middle;
  46. text-align: center;
  47.  
  48. }
  49.  
  50. .deferment .deferment-message:after {
  51.  
  52. color: gray;
  53. content: 'This website requires JavaScript and cookies to be enabled.';
  54.  
  55. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement