egg.css 732 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. .egg_container {
  2. position: fixed;
  3. width: 100%;
  4. height: 100%;
  5. top: 0;
  6. left: 0;
  7. right: 0;
  8. bottom: 0;
  9. z-index: 2;
  10. }
  11. #egg_container {
  12. display: none;
  13. }
  14. #egg_outer {
  15. z-index: 3;
  16. cursor: pointer;
  17. background-color: rgba(0,0,0,0.5);
  18. }
  19. #egg_inner {
  20. width: 50vw;
  21. max-width: 620px;
  22. max-height: 380px;
  23. padding: 50px;
  24. position: absolute;
  25. top: 50%;
  26. left: 50%;
  27. background-color: white;
  28. border-radius: 10px;
  29. transform: translate(-50%,-50%);
  30. -ms-transform: translate(-50%,-50%);
  31. z-index: 5;
  32. }
  33. #egg_content {
  34. text-align: center;
  35. }
  36. #egg_close {
  37. text-align: right;
  38. margin: 0;
  39. padding: 0;
  40. padding-bottom: 10px;
  41. cursor: pointer;
  42. }