GamePanel.module.css 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. .page {
  2. height: 100%;
  3. width: 100%;
  4. display: flex;
  5. flex-flow: column nowrap;
  6. justify-content: space-between;
  7. align-items: center;
  8. }
  9. .page a[title="Open this area in Google Maps (opens a new window)"] {
  10. display: none !important;
  11. /* This prevents Google's links from showing, which would let you cheat and see where you are in Street View */
  12. }
  13. .streetview {
  14. height: 100%;
  15. width: 100%;
  16. margin-bottom: 2px;
  17. flex: 3;
  18. position: relative;
  19. }
  20. .fullsize {
  21. height: 100%;
  22. width: 100%;
  23. }
  24. .resetButton {
  25. /* TODO improve this to be less brittle */
  26. display: block;
  27. position: absolute;
  28. z-index: 1;
  29. bottom: 200px;
  30. right: 9px;
  31. background-color: #222;
  32. color: #666;
  33. padding: 5px;
  34. border-radius: 2px;
  35. font-weight: bold;
  36. cursor: pointer;
  37. }
  38. .resetButton:hover {
  39. color: #b1b1b1;
  40. }
  41. .freeze {
  42. position: absolute;
  43. top: 0px;
  44. left: 0px;
  45. bottom: 0px;
  46. right: 0px;
  47. z-index: 1;
  48. }
  49. .cutoff {
  50. position: absolute;
  51. top: 20%;
  52. left: 50%;
  53. transform: translate(-50%, -50%);
  54. text-align: center;
  55. z-index: 3;
  56. background-color: #333;
  57. padding: 0.2em 1em;
  58. border-radius: 1em;
  59. font-size: 20px;
  60. opacity: 1;
  61. transition: opacity 2s;
  62. }
  63. .hidden {
  64. opacity: 0;
  65. }
  66. @media only screen and (min-width: 600px) and (min-height: 600px) {
  67. .page {
  68. display: block;
  69. position: relative;
  70. margin-bottom: 2px;
  71. margin-right: 2px;
  72. }
  73. }