index.css 10 KB

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