main.css 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. html, body {
  2. margin: 0;
  3. padding: 0;
  4. background-color: #1A1A1A; }
  5. #root {
  6. height: 207.26mm;
  7. margin: 0 auto;
  8. position: relative;
  9. width: 475.04741mm; }
  10. #header {
  11. display: absolute;
  12. top: 0;
  13. left: 0;
  14. width: 15mm;
  15. height: 100%;
  16. background-color: white; }
  17. #header h1 {
  18. margin: 0;
  19. padding: 0.3em;
  20. position: absolute;
  21. bottom: 0;
  22. left: 0;
  23. transform-origin: 0% 0%;
  24. transform: rotate(270deg); }
  25. #main {
  26. position: absolute;
  27. top: 0;
  28. right: 0;
  29. width: 455.04741mm; }
  30. #main #page-left {
  31. float: left;
  32. background-position: right; }
  33. #main #page-right {
  34. float: right;
  35. background-position: left; }
  36. #main .page {
  37. position: relative;
  38. width: 227.41mm;
  39. height: 207.26mm;
  40. background-repeat: no-repeat;
  41. background-size: contain; }
  42. #main .page .overlay {
  43. position: relative;
  44. width: 100%;
  45. height: 100%;
  46. background-position: center;
  47. background-repeat: no-repeat;
  48. background-size: contain;
  49. z-index: 1; }
  50. #main .page .maps {
  51. position: absolute;
  52. top: 0;
  53. left: 0;
  54. width: 100%;
  55. height: 100%;
  56. z-index: 2; }
  57. #main .page .maps .map {
  58. position: absolute;
  59. background-color: rgba(50, 50, 50, 0.8);
  60. cursor: pointer; }
  61. #main .page.page-6 .overlay {
  62. background-image: url("../../images/vectos/04_chance-RB.svg"); }
  63. #main #railway {
  64. position: absolute;
  65. bottom: 0;
  66. width: 100%;
  67. background-color: rgba(0, 0, 0, 0.7);
  68. overflow: hidden;
  69. text-align: center; }
  70. #main #railway ul {
  71. padding: 1mm; }
  72. #main #railway ul li {
  73. display: inline-block;
  74. vertical-align: middle;
  75. background-color: white;
  76. width: 1mm;
  77. height: 7mm;
  78. margin-left: 0.5mm;
  79. background-position: center;
  80. background-size: cover; }
  81. #main #railway ul li.active {
  82. width: 7mm; }
  83. #main #railway ul li.page-right {
  84. margin-right: 1mm; }