index.css 11 KB

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