main.css 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. html, body {
  2. margin: 0;
  3. padding: 0;
  4. background-color: #1A1A1A; }
  5. #root {
  6. position: relative;
  7. width: 469.51646mm;
  8. height: 237.26mm;
  9. margin: 0 auto;
  10. letter-spacing: -.25em; }
  11. #root > * {
  12. letter-spacing: normal; }
  13. #header {
  14. display: inline-block;
  15. width: 9mm;
  16. height: 207.26mm;
  17. margin-right: 5mm;
  18. background-color: black;
  19. background-image: url("../../images/dos.jpg");
  20. background-size: contain;
  21. background-repeat: no-repeat; }
  22. #header h1 {
  23. font-size: 1em;
  24. margin: 0 0 15mm 0;
  25. padding: 0.3em;
  26. position: absolute;
  27. bottom: 0;
  28. left: 0;
  29. transform-origin: 0% 0%;
  30. transform: rotate(270deg);
  31. visibility: hidden; }
  32. #main {
  33. display: inline-block;
  34. width: 455.04741mm;
  35. overflow: hidden; }
  36. #main #page-left {
  37. float: left;
  38. background-position: right; }
  39. #main #page-right {
  40. float: right;
  41. background-position: left; }
  42. #main .page {
  43. position: relative;
  44. width: 227.41mm;
  45. height: 207.26mm;
  46. background-repeat: no-repeat;
  47. background-size: contain; }
  48. #main .page .overlay {
  49. position: relative;
  50. width: 100%;
  51. height: 100%;
  52. background-position: center;
  53. background-repeat: no-repeat;
  54. background-size: contain;
  55. z-index: 1; }
  56. #main .page .maps {
  57. position: absolute;
  58. top: 0;
  59. left: 0;
  60. width: 100%;
  61. height: 100%;
  62. z-index: 2; }
  63. #main .page .maps .map {
  64. position: absolute;
  65. z-index: 3;
  66. cursor: pointer; }
  67. #main .page .maps .map[debug="true"] {
  68. background-color: rgba(0, 0, 250, 0.4); }
  69. #main .page .maps .repere {
  70. position: absolute;
  71. cursor: pointer;
  72. background-size: contain;
  73. background-repeat: no-repeat;
  74. background-position: center;
  75. z-index: 2; }
  76. #navigation {
  77. width: 455.04741mm;
  78. height: 30mm;
  79. overflow: hidden;
  80. margin: 0 0 0 14mm;
  81. padding: 0;
  82. background-color: rgba(26, 26, 26, 0.7);
  83. text-align: center;
  84. transition: opacity .3s ease-in-out; }
  85. #pagination {
  86. color: #fff;
  87. font-size: 1em;
  88. padding: 1mm 0;
  89. letter-spacing: -.25em;
  90. opacity: 0.3;
  91. transition: opacity .3s ease-in-out; }
  92. #pagination > * {
  93. letter-spacing: normal; }
  94. #pagination div {
  95. display: inline-block;
  96. width: 49.9%; }
  97. #pagination div span.p {
  98. display: inline-block;
  99. vertical-align: middle;
  100. min-width: 3em;
  101. text-align: center; }
  102. #pagination div span.l {
  103. cursor: pointer;
  104. line-height: -1em; }
  105. #pagination div span.l.hidden {
  106. visibility: hidden; }
  107. #pagination div.wrapper-l {
  108. left: 0;
  109. text-align: right; }
  110. #pagination div.wrapper-r {
  111. right: 0;
  112. text-align: left;
  113. border-left: 1px solid white; }
  114. #pagination:hover {
  115. opacity: 1; }
  116. #railway ul {
  117. padding: 1mm 0;
  118. margin: 0;
  119. text-align: justify;
  120. display: -ms-flexbox;
  121. display: flex;
  122. -ms-flex-flow: row nowrap;
  123. flex-flow: row nowrap;
  124. -ms-flex-pack: justify;
  125. justify-content: space-between; }
  126. #railway ul li {
  127. list-style: none;
  128. opacity: 0.2;
  129. transition: opacity 0.3s ease-in-out; }
  130. #railway ul li.current, #railway ul li.active:hover {
  131. opacity: 1; }
  132. #railway ul li span {
  133. display: inline-block;
  134. background-color: white;
  135. width: 1mm;
  136. height: 7mm;
  137. background-position: center;
  138. background-size: cover; }
  139. #railway ul li span.active {
  140. width: 7mm;
  141. cursor: pointer; }
  142. #railway ul:hover li {
  143. opacity: 1; }