style.less 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035
  1. @import url('https://fonts.googleapis.com/css?family=Quicksand&display=swap');
  2. @import url("/fontawesome/css/all.min.css");
  3. @import url('https://fonts.googleapis.com/css?family=PT+Mono&display=swap');
  4. @import url('https://fonts.googleapis.com/css2?family=Ubuntu&display=swap');
  5. * {
  6. box-sizing: border-box;
  7. }
  8. :root{
  9. --foreground: #dfdfdf;
  10. --foreground2: #b8b8b8;
  11. --highlightFg: #ffbb00;
  12. --highlightFg2: #ffe292;
  13. --background: #222222;
  14. --background2: rgb(27, 27, 27);
  15. --background3: rgb(20, 20, 20);
  16. --background4: rgb(37, 37, 37);
  17. --twitter: #1DA1F2;
  18. --buttonColor: #2f2f2f;
  19. --docsColor: #168530;
  20. --bugsColor: #185e94;
  21. --codeColor: #a01e1e;
  22. --discordColor: #44013b;
  23. --storeColor: #686602;
  24. --donateColor: #835518;
  25. --highlightedColor: #ffbb00;
  26. --highlightedColorFg:#242424;
  27. }
  28. @foreground: var(--foreground);
  29. @foreground2: var(--foreground2);
  30. @highlightFg: var(--highlightFg);
  31. @highlightFg2: var(--highlightFg2);
  32. @background: var(--background);
  33. @background2:var(--background2);
  34. @background3: var(--background3);
  35. @background4: var(--background4);
  36. @twitter: var(--twitter);
  37. @buttonColor: var(--buttonColor);
  38. @docsColor:var(--docsColor);
  39. @bugsColor: var(--bugsColor);
  40. @codeColor: var(--codeColor);
  41. @discordColor: var(--discordColor);
  42. @storeColor: var(--storeColor);
  43. @donateColor: var(--donateColor);
  44. @highlightedColor: var(--highlightedColor);
  45. @highlightedColorFg: var(--highlightedColorFg);
  46. @textShadowColor: @background3;
  47. @boxShadowColor:@background2;
  48. @borderRoundness: 0.3rem;
  49. @borderRoundnessVeryRound: 2rem;
  50. @borderRoundnessNotVeryRound: .1rem;
  51. @textShadow: 0.1rem;
  52. @textShadowIntense: 0.4rem;
  53. @portrait: ~"only screen and (max-width:1000px), only screen and (orientation:portrait)";
  54. @boxShadowBlur: 0.8rem;
  55. @boxShadowSpread: 0.3rem;
  56. blockquote {
  57. display: flex;
  58. flex-direction: row;
  59. align-items: center;
  60. }
  61. blockquote>*:first-child:before {
  62. content: "\f100";
  63. font-family: 'font awesome 5 free';
  64. font-weight: 700;
  65. padding: 0.5rem;
  66. }
  67. blockquote>*:first-child:after {
  68. content: "\f101";
  69. font-family: 'font awesome 5 free';
  70. font-weight: 700;
  71. padding: 0.5rem;
  72. }
  73. progress#pageLoadingProgress {
  74. position: fixed;
  75. top: 0;
  76. left: 0;
  77. width: 100%;
  78. z-index: 999;
  79. height: .6vh
  80. }
  81. progress#pageLoadingProgress[value],
  82. progress#pageLoadingProgress::-webkit-progress-bar {
  83. -webkit-appearance: none;
  84. appearance: none;
  85. -moz-appearance: none;
  86. background: @background2;
  87. border: none
  88. }
  89. progress#pageLoadingProgress::-webkit-progress-value,
  90. progress#pageLoadingProgress::-moz-progress-bar {
  91. background: @highlightFg;
  92. }
  93. // ### GENERIC STUFF
  94. html {
  95. height: 100%;
  96. width: 100%;
  97. position: absolute;
  98. top: 0;
  99. left: 0;
  100. }
  101. pre,
  102. code {
  103. position: relative;
  104. border-radius: @borderRoundness;
  105. overflow: auto !important;
  106. font-family: "PT Mono";
  107. }
  108. .hljs-ln-numbers {
  109. -webkit-touch-callout: none;
  110. -webkit-user-select: none;
  111. -khtml-user-select: none;
  112. -moz-user-select: none;
  113. -ms-user-select: none;
  114. user-select: none;
  115. text-align: right;
  116. color: @highlightFg;
  117. vertical-align: top;
  118. }
  119. .hljs-ln tr:nth-child(odd) {
  120. background-color: @background2;
  121. }
  122. .hljs-ln-code {
  123. padding-left: 1rem !important;
  124. }
  125. // Normalize ul,li
  126. ul{
  127. padding:0.5rem;
  128. }
  129. ul,
  130. li {
  131. text-decoration: none;
  132. appearance: none;
  133. list-style-type: none;
  134. padding-left: 0.5rem;
  135. margin: 0;
  136. }
  137. nav ul,
  138. nav li {
  139. text-align: left;
  140. all: unset;
  141. display: flex;
  142. white-space: nowrap;
  143. }
  144. nav ul{
  145. margin-top:0.5rem;
  146. }
  147. nav li:before {
  148. display: none;
  149. }
  150. .shadowed {
  151. box-shadow: 0 0 @boxShadowBlur @boxShadowSpread @boxShadowColor;
  152. }
  153. .textShadowed {
  154. text-shadow:
  155. 0 0 @textShadow @textShadowColor,
  156. 0 0 @textShadow @textShadowColor,
  157. 0 0 @textShadow @textShadowColor,
  158. 0 0 @textShadow @textShadowColor,
  159. 0 0 @textShadow @textShadowColor,
  160. 0 0 @textShadow @textShadowColor,
  161. 0 0 @textShadow @textShadowColor,
  162. 0 0 @textShadow @textShadowColor,
  163. 0 0 @textShadow @textShadowColor;
  164. }
  165. .textShadowedIntense {
  166. text-shadow:
  167. 0 0 @textShadowIntense @textShadowColor,
  168. 0 0 @textShadowIntense @textShadowColor,
  169. 0 0 @textShadowIntense @textShadowColor,
  170. 0 0 @textShadowIntense @textShadowColor,
  171. 0 0 (@textShadowIntense*2) @textShadowColor,
  172. 0 0 (@textShadowIntense*2) @textShadowColor,
  173. 0 0 @textShadowIntense @textShadowColor;
  174. }
  175. #topmenu {
  176. background-color: @background;
  177. display: flex;
  178. flex-wrap: wrap;
  179. flex-direction: row;
  180. align-items: center;
  181. border-bottom-left-radius: @borderRoundness;
  182. border-bottom-right-radius: @borderRoundness;
  183. padding: 0.2rem;
  184. padding-left: 1rem;
  185. padding-right: 1rem;
  186. >div {
  187. flex-direction: row;
  188. @media @portrait {
  189. flex-direction: column;
  190. }
  191. }
  192. >div:first-child {
  193. // The first ul is on the left
  194. margin-right: auto;
  195. }
  196. >div:last-child {
  197. // The last ul is on the right.
  198. margin-left: auto;
  199. }
  200. }
  201. .commonButton {
  202. all: unset;
  203. appearance: none;
  204. background-color: @background2 !important;
  205. border: 0.1rem solid @background3 !important;
  206. border-radius: @borderRoundness;
  207. color: @highlightFg;
  208. padding: 0.3rem;
  209. padding-left: 1rem;
  210. padding-right: 1rem;
  211. text-decoration: none;
  212. margin: 0.3rem;
  213. display: inline-block;
  214. padding: 0.6rem;
  215. padding-left: 1rem;
  216. padding-right: 1rem;
  217. cursor: pointer;
  218. text-shadow: none;
  219. font-weight: bolder!important;
  220. .genericCl();
  221. a {
  222. text-decoration: none !important;
  223. }
  224. .shadowed();
  225. }
  226. button {
  227. .commonButton();
  228. }
  229. button:hover {
  230. filter: brightness(130%);
  231. }
  232. nav {
  233. display: flex;
  234. flex-wrap: wrap;
  235. flex-direction: column;
  236. ul {
  237. display: flex;
  238. flex-direction: column;
  239. }
  240. }
  241. a,
  242. a:hover,
  243. a:visited {
  244. color: inherit;
  245. text-decoration: inherit;
  246. color: @highlightFg;
  247. }
  248. a:hover {
  249. text-decoration: underline;
  250. }
  251. h1 a,
  252. h2 a,
  253. h1 a:visited,
  254. h2 a:visited,
  255. h1 a:hover,
  256. h2 a:hover,
  257. header a,
  258. header a:hover,
  259. header a:visited {
  260. color: inherit;
  261. }
  262. h1 {
  263. position: relative;
  264. }
  265. h1 {
  266. font-size: 2rem;
  267. }
  268. h2 {
  269. font-size: 1.5rem;
  270. }
  271. h3 {
  272. font-size: 1.2rem;
  273. }
  274. h2,
  275. h1,
  276. h3 {
  277. margin: 0;
  278. padding: 0;
  279. margin-bottom: 1rem;
  280. color: @highlightFg;
  281. }
  282. h2,
  283. h3 {
  284. margin-top: 0.1rem;
  285. margin-bottom: 0.1rem;
  286. }
  287. .toggleNavOnPortraitButton {
  288. font-size: 2rem;
  289. display: none;
  290. color: @highlightFg;
  291. cursor: pointer;
  292. &:hover {
  293. color: @highlightFg2;
  294. }
  295. }
  296. // Useless things are hidden inportrait mode.
  297. @media @portrait {
  298. .useless {
  299. display: none;
  300. }
  301. }
  302. @media @portrait {
  303. .toggleNavOnPortraitButton {
  304. display: block;
  305. }
  306. nav.toggleOnPortrait {
  307. >* {
  308. flex-direction: column;
  309. display: none;
  310. }
  311. >.toggledOn {
  312. flex-direction: column;
  313. display: flex;
  314. }
  315. align-items: center;
  316. }
  317. }
  318. // Give padding to all the icons (from font awesome)
  319. *>i.fas:first-child,
  320. *>i.fab:first-child {
  321. // This is the icon
  322. padding-right: .4rem;
  323. }
  324. // #####
  325. .genericCl {
  326. background: @buttonColor !important;
  327. color: @foreground !important;
  328. font-weight: bold;
  329. }
  330. .highlightedCl{
  331. .genericCl();
  332. background: @highlightedColor !important;
  333. color: @highlightedColorFg!important;
  334. }
  335. .donateCl {
  336. .genericCl();
  337. background: @donateColor !important;
  338. }
  339. .docsCl {
  340. .genericCl();
  341. background: @docsColor !important;
  342. }
  343. .bugsCl {
  344. .genericCl();
  345. background: @bugsColor !important;
  346. }
  347. .codeCl {
  348. .genericCl();
  349. background: @codeColor !important;
  350. }
  351. .discordCl {
  352. .genericCl();
  353. background: @discordColor !important;
  354. }
  355. .storeCl {
  356. .genericCl();
  357. background: @storeColor !important;
  358. }
  359. figure.githubUser {
  360. display: flex;
  361. flex-direction: row;
  362. text-align: left;
  363. align-items: center;
  364. padding: 0;
  365. margin: 2rem;
  366. &.inline {
  367. margin: 0;
  368. >img {
  369. max-height: 3rem;
  370. }
  371. h2 {
  372. font-size: 1.2rem;
  373. }
  374. >.githubBio {
  375. display: none;
  376. }
  377. margin-top:2rem;
  378. margin-bottom:.5rem;
  379. padding-bottom:1rem;
  380. border-bottom: 0.1rem solid @highlightFg;
  381. }
  382. >* {
  383. padding: 0;
  384. margin: 0;
  385. }
  386. >img {
  387. box-shadow: 0 0 0.2rem 0.01rem @highlightFg;
  388. border-radius: 8rem;
  389. max-height: 6rem;
  390. }
  391. >figcaption {
  392. margin-left: 1rem;
  393. >h2 {
  394. padding: 0;
  395. margin: 0;
  396. }
  397. display:flex;
  398. flex-direction: column;
  399. }
  400. }
  401. body {
  402. text-align: left;
  403. overflow-x: hidden;
  404. font-family: 'Ubuntu', sans-serif; // font-family: 'JetBrains Mono', monospace;
  405. // font-family: 'Padauk', sans-serif;
  406. background: @background !important;
  407. color: @foreground !important;
  408. min-height: 100%;
  409. width: 100%;
  410. position: relative;
  411. margin: 0;
  412. padding: 0;
  413. display: flex;
  414. flex-direction: column;
  415. align-items: center;
  416. font-size: .8706rem;
  417. .textShadowed();
  418. // The main footer
  419. >footer {
  420. margin-top: 4rem; // Makes the page nicer by preventing it from abruptly end at the end of the content.
  421. }
  422. >main {
  423. // The main is the main content
  424. font-size: 1rem;
  425. width: 100%;
  426. // Those are unbound headers right under the main.
  427. >h1 {
  428. text-align: center;
  429. margin: auto;
  430. max-width: 600px;
  431. padding-top: 1rem;
  432. padding-bottom: 1rem;
  433. margin-top: 0.5rem;
  434. &:before,
  435. &:after {
  436. content: "\f107";
  437. font-family: 'font awesome 5 free';
  438. font-weight: 700;
  439. padding: 0.5rem;
  440. }
  441. }
  442. }
  443. // The main header
  444. >header {
  445. position: relative;
  446. z-index: 99;
  447. display: flex;
  448. flex-direction: column;
  449. align-items: center;
  450. background-color: @background2;
  451. box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.25);
  452. width: 100%;
  453. margin: 0;
  454. padding: 0;
  455. #siteTitle {
  456. color: @highlightFg;
  457. display: flex;
  458. flex-direction: row;
  459. text-align: center;
  460. /* justify-items: center;
  461. justify-content: center; */
  462. align-items: center;
  463. margin: 0;
  464. padding: 0;
  465. padding-top: 1rem;
  466. padding-bottom: 1rem;
  467. }
  468. }
  469. }
  470. @media @portrait {
  471. header {
  472. #logo {
  473. display: flex;
  474. flex-direction: row;
  475. width: 100%;
  476. align-items: center;
  477. .toggleNavOnPortraitButton {
  478. margin-right: 1rem;
  479. margin-left: auto;
  480. }
  481. }
  482. flex-direction: column;
  483. >#siteTitle {
  484. flex-direction: column !important;
  485. text-align: left !important;
  486. align-items: flex-start !important;
  487. >#contributionsBanner {
  488. text-align: left !important;
  489. margin-left: 1rem !important;
  490. margin-top: 1rem !important;
  491. }
  492. }
  493. }
  494. }
  495. // Something that links to more something
  496. .more {
  497. text-align: right;
  498. display: block;
  499. }
  500. // Cover, is something that fills an area to show an image/video
  501. .cover {
  502. width: 100%;
  503. height: 100%;
  504. background-color: rgba(0, 0, 0, 0.45);
  505. background-position: center;
  506. background-size: cover;
  507. position: absolute;
  508. top: 0;
  509. left: 0;
  510. z-index: -1;
  511. object-fit: cover;
  512. pointer-events: none;
  513. box-shadow: 0 0 0.3rem 0.04rem @background2;
  514. &.gallery {
  515. background-size: contain;
  516. background-repeat: no-repeat;
  517. pointer-events: auto;
  518. object-fit: contain;
  519. z-index: 0;
  520. }
  521. &.blur {
  522. filter: blur(100vh);
  523. margin-top: 40vh;
  524. }
  525. }
  526. // A width that is not too wide.
  527. .responsiveWidth {
  528. max-width: 1200px;
  529. width: 99vw;
  530. margin-left:auto;
  531. margin-right:auto;
  532. }
  533. #backerMessages {
  534. text-align: center;
  535. width: 100%;
  536. }
  537. #contributionsBanner {
  538. text-align: right !important;
  539. margin-left: auto;
  540. }
  541. // A flex list
  542. .list {
  543. display: flex;
  544. flex-wrap: wrap;
  545. justify-content: center;
  546. &.hlist {
  547. flex-direction: row;
  548. >article {
  549. flex-basis: 30%;
  550. }
  551. }
  552. &.vlist {
  553. display: flex;
  554. flex-direction: column;
  555. }
  556. }
  557. .collapsedList {
  558. article {
  559. border-radius: 0;
  560. margin-top: 0;
  561. margin-bottom: 0;
  562. flex-basis: 100%;
  563. h1 {
  564. border-radius: 0;
  565. }
  566. &:last-child {
  567. margin-bottom: 1rem;
  568. border-bottom-left-radius: @borderRoundness;
  569. border-bottom-right-radius: @borderRoundness;
  570. }
  571. &:first-child {
  572. margin-top: 1rem;
  573. border-top-left-radius: @borderRoundness;
  574. border-top-right-radius: @borderRoundness;
  575. h1 {
  576. border-top-left-radius: @borderRoundness;
  577. border-top-right-radius: @borderRoundness;
  578. }
  579. }
  580. }
  581. }
  582. main>section {
  583. text-align: center;
  584. margin: auto;
  585. }
  586. // This is a section, of the page
  587. section {
  588. display: block;
  589. position: relative;
  590. text-align: left;
  591. margin-bottom: 1rem;
  592. margin-top: 1rem;
  593. // &.full {
  594. // display: flex;
  595. // flex-direction: column;
  596. // }
  597. >article {
  598. // An article, is the content.
  599. .shadowed();
  600. text-align: left;
  601. background: @background2;
  602. border-radius: @borderRoundness;
  603. margin: 1rem;
  604. display: flex;
  605. flex-direction: column;
  606. text-shadow: none;
  607. h1 {}
  608. .more {
  609. text-align: left;
  610. }
  611. >h1:first-of-type {
  612. // This is the top bar in the article. The main title basically.
  613. border-radius: @borderRoundness;
  614. background: @background4;
  615. color: @foreground2;
  616. margin: 0;
  617. padding: 0;
  618. display: block;
  619. padding: 0.7rem;
  620. padding-left: 0.5rem;
  621. padding-right: 0.1rem;
  622. font-size: 1.3rem;
  623. width: 100%;
  624. border-bottom-left-radius: 0;
  625. border-bottom-right-radius: 0;
  626. overflow: hidden;
  627. word-wrap: normal;
  628. }
  629. >div.content {
  630. padding: 1rem;
  631. display: flex;
  632. flex-direction: row;
  633. align-items: stretch;
  634. min-width: 0;
  635. width: 100%;
  636. @media @portrait {
  637. display: flex;
  638. flex-direction: column;
  639. }
  640. li {
  641. // Adds little arrows before the li.
  642. list-style: none;
  643. &:before {
  644. content: "\f054";
  645. font-family: 'font awesome 5 free';
  646. font-weight: 700;
  647. padding-right: 0.5rem;
  648. }
  649. }
  650. p:first-of-type {
  651. // Remove margin from first p
  652. margin-top: 0 !important;
  653. padding-top: 0 !important;
  654. }
  655. >span {
  656. display: block;
  657. overflow-wrap: break-word;
  658. }
  659. >nav {
  660. margin-left: 2rem;
  661. flex-direction: column;
  662. align-items: baseline;
  663. flex-wrap: wrap;
  664. color: @highlightFg;
  665. >ul {
  666. width: 100%;
  667. }
  668. >ul li {
  669. width: 100%;
  670. // Special smaller ul
  671. background: none;
  672. border: none !important;
  673. margin: 0.1rem;
  674. margin-left: 0rem;
  675. font-size: 0.8rem;
  676. box-shadow: none;
  677. >* {
  678. margin-left: 1rem;
  679. }
  680. button {
  681. width: 100%;
  682. margin: 0;
  683. }
  684. }
  685. @media @portrait {
  686. ul li {
  687. // make nav in list section more compact
  688. margin: 0.1rem;
  689. padding: 0;
  690. width: auto;
  691. }
  692. >ul {
  693. margin-right: 0.4rem;
  694. width: auto;
  695. }
  696. }
  697. @media @portrait {
  698. margin-left: 0;
  699. flex-direction: row;
  700. }
  701. }
  702. }
  703. }
  704. &.list {
  705. >article {
  706. >div.content {
  707. // When the section is a list, we use a column layout. Helps keeping it compact
  708. display: flex;
  709. flex-direction: column;
  710. nav {
  711. flex-direction: row;
  712. }
  713. nav .share {
  714. // Share buttons are hidden in list section
  715. display: none !important;
  716. }
  717. ul {
  718. width: auto;
  719. li {
  720. width: auto;
  721. }
  722. }
  723. nav,
  724. nav ul li {
  725. // make nav in list section more compact
  726. margin: 0.1rem;
  727. padding: 0;
  728. }
  729. }
  730. }
  731. }
  732. }
  733. // Horizzontal lists are collapsed vertically in portrait mode.
  734. @media @portrait {
  735. section.hlist.responsive {
  736. .collapsedList();
  737. }
  738. }
  739. // This is a special section
  740. section#contribute {
  741. .collapsedList();
  742. }
  743. button#startbtn{
  744. font-size:1.6rem;
  745. }
  746. section#showcase {
  747. text-align: center;
  748. width: 100%;
  749. margin-top: 0;
  750. margin-bottom: 0;
  751. padding: 0;
  752. display: flex;
  753. position:relative;
  754. flex-direction: column;
  755. min-height:40vh;
  756. .textShadowedIntense();
  757. #gameDescription {
  758. text-align: right !important;
  759. width: 50%;
  760. font-size: 0.8rem;
  761. margin-top: auto;
  762. margin-right: 0 !important;
  763. margin-left: auto;
  764. height: auto;
  765. display: block;
  766. }
  767. #gameDescription h2 {
  768. text-align: left !important;
  769. font-size: 0.9rem;
  770. }
  771. #engineDescription {
  772. font-size: 1.3rem;
  773. text-align: center;
  774. width: 100%;
  775. display: block;
  776. }
  777. #showCasePrev,
  778. #showCaseNext {
  779. display: block;
  780. cursor: pointer;
  781. position: absolute;
  782. color: @highlightFg;
  783. }
  784. #showCasePrev {
  785. font-size: 4rem;
  786. bottom: 1rem;
  787. left: 1rem;
  788. }
  789. #showCaseNext {
  790. font-size: 4rem;
  791. bottom: 1rem;
  792. right: 1rem;
  793. }
  794. > div {
  795. padding: 1rem;
  796. background: none;
  797. box-shadow: none;
  798. width: 100%;
  799. display: block;
  800. background-position: center;
  801. background-size: cover;
  802. margin-top: 0;
  803. margin-bottom: 0;
  804. }
  805. @media @portrait {
  806. #gameDescription h2 {
  807. text-align: center !important;
  808. }
  809. #gameDescription {
  810. text-align: center !important;
  811. width: 100%;
  812. }
  813. #engineDescription {
  814. text-align: center !important;
  815. font-size: 1.1rem;
  816. }
  817. }
  818. }