index.css 10 KB

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