Advertisement
gyrospring

✒ 0015.0002 deferment-1.0.scss

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