index.css 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491
  1. html, body {
  2. width: 100%;
  3. height: 100%;
  4. padding: 0;
  5. margin: 0;
  6. overflow: hidden;
  7. font-family: "Segoe WP", "Segoe UI", "Verdana", "Arial";
  8. }
  9. a {
  10. color: black;
  11. }
  12. a:visited {
  13. color: black;
  14. }
  15. .button {
  16. cursor: pointer;
  17. z-index: 1;
  18. }
  19. .button:hover {
  20. transform: scale3d(0.9, 0.9, 0.9);
  21. -webkit-transform: scale3d(0.9, 0.9, 0.9);
  22. }
  23. button {
  24. border: 1px solid #888888;
  25. background-color: #DEDEDE;
  26. color: #888888;
  27. }
  28. button:hover {
  29. background-color: #EEEEEE;
  30. }
  31. button:active {
  32. transform: scale(0.98);
  33. -webkit-transform: scale(0.98);
  34. }
  35. #title0 {
  36. font-size: 50px;
  37. color: #2F2F2F;
  38. font-weight: 900;
  39. position: absolute;
  40. top: 0px;
  41. left: 50px;
  42. }
  43. #title1 {
  44. font-size: 40px;
  45. color: #2E7F80;
  46. font-weight: 900;
  47. position: absolute;
  48. top: 50px;
  49. left: 50px;
  50. }
  51. #title2 {
  52. font-size: 30px;
  53. color: #872526;
  54. font-weight: 900;
  55. position: absolute;
  56. top: 90px;
  57. left: 50px;
  58. }
  59. #title3 {
  60. font-size: 14px;
  61. color: #872526;
  62. font-weight: 100;
  63. text-align: center;
  64. }
  65. #screen1 {
  66. position: absolute;
  67. width: 100%;
  68. height: 100%;
  69. padding: 0;
  70. margin: 0;
  71. transition: transform 0.4s ease-in-out;
  72. -webkit-transition: -webkit-transform 0.4s ease-in-out;
  73. background-color: #DEDEDE;
  74. background-image: url("Assets/Bandeauhaut.png");
  75. background-repeat: repeat-x;
  76. }
  77. #gradient {
  78. position: absolute;
  79. left: 0;
  80. top: 135px;
  81. width: 100%;
  82. height: 47px;
  83. background-image: url("Assets/gradient.png");
  84. background-repeat: repeat-x;
  85. z-index: 1;
  86. }
  87. .hidden {
  88. display: none;
  89. }
  90. #newImg {
  91. position: absolute;
  92. top: 5px;
  93. left: 5px;
  94. z-index: 1;
  95. }
  96. #newText {
  97. position: absolute;
  98. top: 65px;
  99. left: 45px;
  100. color: white;
  101. font-weight: bold;
  102. font-size: 16px;
  103. cursor: default;
  104. z-index: 1;
  105. text-align: right;
  106. }
  107. #downloadLink {
  108. position: absolute;
  109. top: 70px;
  110. right: 240px;
  111. border: 0;
  112. }
  113. #aboutLink {
  114. position: absolute;
  115. top: 70px;
  116. right: 360px;
  117. }
  118. #aboutText {
  119. position: absolute;
  120. top: 110px;
  121. right: 460px;
  122. font-weight: bold;
  123. color: #862627;
  124. cursor: default;
  125. }
  126. #downloadText {
  127. position: absolute;
  128. top: 110px;
  129. right: 140px;
  130. font-weight: bold;
  131. color: #2F7F80;
  132. cursor: default;
  133. }
  134. .movedLeft {
  135. transform: translateX(-2000px);
  136. -webkit-transform: translateX(-2000px);
  137. }
  138. .movedRight {
  139. transform: translateX(2000px);
  140. -webkit-transform: translateX(2000px);
  141. }
  142. #babylonLink {
  143. position: absolute;
  144. top: 20px;
  145. right: 20px;
  146. }
  147. #babylonLink:hover {
  148. transform: scale3d(0.9, 0.9, 0.9);
  149. -webkit-transform: scale3d(0.9, 0.9, 0.9);
  150. }
  151. #babylonLink:active {
  152. opacity: 0.8;
  153. }
  154. #mainTitle {
  155. position: absolute;
  156. top: 10px;
  157. right: 30px;
  158. color: White;
  159. }
  160. #opacityMask {
  161. opacity: 0.8;
  162. background-color: black;
  163. width: 100%;
  164. height: 100%;
  165. position: absolute;
  166. z-index: 2;
  167. }
  168. #menuPanel {
  169. position: absolute;
  170. left: 0;
  171. right: 0;
  172. top: 136px;
  173. bottom: 0px;
  174. overflow: auto;
  175. }
  176. #renderZone {
  177. width: 100%;
  178. height: 100%;
  179. transition: transform 0.4s ease-in-out;
  180. -webkit-transition: -webkit-transform 0.4s ease-in-out;
  181. }
  182. .header {
  183. font-size: 34px;
  184. color: #2E7F80;
  185. font-weight: 900;
  186. }
  187. #itemsContainer {
  188. position: absolute;
  189. top: 50px;
  190. left: 15%;
  191. right: 5%;
  192. }
  193. .big-item {
  194. float: left;
  195. position: relative;
  196. width: 400px;
  197. height: 508px;
  198. margin-right: 2px;
  199. margin-left: 2px;
  200. }
  201. .big-item:hover {
  202. opacity: 0.8;
  203. cursor: pointer;
  204. }
  205. .big-item:active {
  206. opacity: 0.6;
  207. }
  208. .big-item .item-image {
  209. position: relative;
  210. height: 505px;
  211. width: 400px;
  212. }
  213. .item {
  214. position: relative;
  215. width: 400px;
  216. height: 250px;
  217. margin: 2px;
  218. }
  219. .item:hover {
  220. opacity: 0.8;
  221. cursor: pointer;
  222. }
  223. .item:active {
  224. opacity: 0.6;
  225. }
  226. .item-image {
  227. position: relative;
  228. height: 100%;
  229. }
  230. .item-text {
  231. position: absolute;
  232. left: 0px;
  233. right: 0px;
  234. bottom: 0;
  235. height: 30px;
  236. font-size: 20px;
  237. color: white;
  238. font-weight: bold;
  239. background-color: #2F2F2F;
  240. padding: 10px 10px 10px 10px;
  241. margin-bottom: 4px;
  242. }
  243. .item-text-right {
  244. position: absolute;
  245. right: 10px;
  246. bottom: 15px;
  247. font-size: 16px;
  248. color: white;
  249. }
  250. #notSupported {
  251. color: red;
  252. width: 100%;
  253. height: 60px;
  254. position: absolute;
  255. top: 50%;
  256. margin-top: -30px;
  257. background-color: #EEEEEE;
  258. border: 1px solid #888888;
  259. text-align: center;
  260. padding-top: 10px;
  261. font-size: 30px;
  262. z-index: 3;
  263. cursor: default;
  264. }
  265. #rootDiv {
  266. width: 100%;
  267. height: 100%;
  268. }
  269. #renderCanvas {
  270. width: 100%;
  271. height: 100%;
  272. touch-action: none;
  273. -ms-touch-action: none;
  274. }
  275. #fps {
  276. position: absolute;
  277. right: 20px;
  278. top: 20px;
  279. font-size: 20px;
  280. color: white;
  281. text-shadow: 2px 2px 0 black;
  282. }
  283. #stats {
  284. position: absolute;
  285. right: 20px;
  286. top: 60px;
  287. font-size: 14px;
  288. color: white;
  289. text-align: right;
  290. text-shadow: 2px 2px 0 black;
  291. }
  292. #status {
  293. position: absolute;
  294. left: 20px;
  295. bottom: 20px;
  296. font-size: 14px;
  297. color: white;
  298. text-shadow: 2px 2px 0 black;
  299. }
  300. #controlPanel {
  301. position: absolute;
  302. height: 250px;
  303. bottom: 0px;
  304. width: 500px;
  305. left: 50%;
  306. margin-left: -250px;
  307. z-index: 1;
  308. transition: transform 0.25s ease-in-out;
  309. transform: translateY(250px);
  310. -webkit-transition: -webkit-transform 0.25s ease-in-out;
  311. -webkit-transform: translateY(250px);
  312. }
  313. .tag {
  314. position: absolute;
  315. background-color: #EEEEEE;
  316. height: 40px;
  317. width: 150px;
  318. left: 50%;
  319. padding: 5px;
  320. color: #888888;
  321. font-size: 18px;
  322. margin-left: -75px;
  323. text-align: center;
  324. top: -40px;
  325. border-top-left-radius: 10px 10px;
  326. border-top-right-radius: 10px 10px;
  327. }
  328. #clickableTag {
  329. background-color: transparent;
  330. }
  331. #controlsZone {
  332. width: 100%;
  333. height: 100%;
  334. background-color: #EEEEEE;
  335. color: #888888;
  336. padding: 20px;
  337. border-top-left-radius: 10px 10px;
  338. border-top-right-radius: 10px 10px;
  339. }
  340. #loadingBack {
  341. width: 100%;
  342. height: 60px;
  343. position: absolute;
  344. left: 0;
  345. top: 50%;
  346. margin-top: -30px;
  347. background-color: #EEEEEE;
  348. border: 1px solid #888888;
  349. transition: transform 0.25s ease-in-out;
  350. -webkit-transition: -webkit-transform 0.25s ease-in-out;
  351. z-index: 3;
  352. cursor: default;
  353. }
  354. #loadingText {
  355. width: 100%;
  356. height: 60px;
  357. position: absolute;
  358. top: 50%;
  359. left: 0;
  360. margin-top: -30px;
  361. color: #888888;
  362. text-align: center;
  363. padding-top: 10px;
  364. font-size: 30px;
  365. transition: transform 0.25s ease-in-out;
  366. -webkit-transition: -webkit-transform 0.25s ease-in-out;
  367. z-index: 3;
  368. cursor: default;
  369. }
  370. .loadingBack {
  371. transform: translateX(-100%);
  372. -webkit-transform: translateX(-100%);
  373. }
  374. .loadingText {
  375. transform: translateX(100%);
  376. -webkit-transform: translateX(100%);
  377. }
  378. #leftPart {
  379. position: absolute;
  380. left: 20px;
  381. top: 10px;
  382. height: 40%;
  383. width: 30%;
  384. }
  385. #rightPart {
  386. position: absolute;
  387. right: 10px;
  388. top: 10px;
  389. height: 40%;
  390. width: 50%;
  391. }
  392. /*About*/
  393. #clickableTitle {
  394. position: absolute;
  395. background-color: transparent;
  396. right: -80px;
  397. width: 100px;
  398. height: 35px;
  399. bottom: 20px;
  400. font-size: 20px;
  401. font-weight: 900;
  402. color: #777777;
  403. background-color: #EEEEEE;
  404. border-bottom-right-radius: 10px 10px;
  405. border-top-right-radius: 10px 10px;
  406. text-align: right;
  407. padding: 5px 10px 0px 0px;
  408. cursor: pointer;
  409. }
  410. #aboutPanel {
  411. position: absolute;
  412. height: 100%;
  413. width: 460px;
  414. left: 0;
  415. top: 0;
  416. z-index: 50;
  417. transition: transform 0.25s ease-in-out;
  418. background-color: #EEEEEE;
  419. color: #888888;
  420. padding-left: 20px;
  421. padding-right: 20px;
  422. transform: translateX(-500px);
  423. -webkit-transition: -webkit-transform 0.25s ease-in-out;
  424. -webkit-transform: translateX(-500px);
  425. }
  426. #aboutParagraph {
  427. position: absolute;
  428. height: 100%;
  429. width: 480px;
  430. overflow-y: auto;
  431. }