style.less 20 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049
  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/2) @textShadowColor,
  168. 0 0 (@textShadowIntense/2) @textShadowColor,
  169. 0 0 (@textShadowIntense/2) @textShadowColor,
  170. 0 0 @textShadowIntense @textShadowColor,
  171. 0 0 (@textShadowIntense*2) @textShadowColor,
  172. 0 0 (@textShadowIntense*2) @textShadowColor,
  173. 0 0 (@textShadowIntense*4) @textShadowColor,
  174. 0 0 (@textShadowIntense*4) @textShadowColor,
  175. 0 0 (@textShadowIntense/4) @foreground,
  176. 0 0 (@textShadowIntense/4) @foreground,
  177. 0 0 (@textShadowIntense/4) @foreground,
  178. 0 0 (@textShadowIntense/4) @foreground
  179. ;
  180. }
  181. #topmenu {
  182. background-color: @background;
  183. display: flex;
  184. flex-wrap: wrap;
  185. flex-direction: row;
  186. align-items: center;
  187. border-bottom-left-radius: @borderRoundness;
  188. border-bottom-right-radius: @borderRoundness;
  189. padding: 0.2rem;
  190. padding-left: 1rem;
  191. padding-right: 1rem;
  192. >div {
  193. flex-direction: row;
  194. @media @portrait {
  195. flex-direction: column;
  196. }
  197. }
  198. >div:first-child {
  199. // The first ul is on the left
  200. margin-right: auto;
  201. }
  202. >div:last-child {
  203. // The last ul is on the right.
  204. margin-left: auto;
  205. }
  206. }
  207. .commonButton {
  208. all: unset;
  209. appearance: none;
  210. background-color: @background2 !important;
  211. border: 0.1rem solid @background3 !important;
  212. border-radius: @borderRoundness;
  213. color: @highlightFg;
  214. padding: 0.3rem;
  215. padding-left: 1rem;
  216. padding-right: 1rem;
  217. text-decoration: none;
  218. margin: 0.3rem;
  219. display: inline-block;
  220. padding: 0.6rem;
  221. padding-left: 1rem;
  222. padding-right: 1rem;
  223. cursor: pointer;
  224. text-shadow: none;
  225. font-weight: bolder!important;
  226. .genericCl();
  227. a {
  228. text-decoration: none !important;
  229. }
  230. .shadowed();
  231. }
  232. button {
  233. .commonButton();
  234. }
  235. button:hover {
  236. filter: brightness(130%);
  237. }
  238. nav {
  239. display: flex;
  240. flex-wrap: wrap;
  241. flex-direction: column;
  242. ul {
  243. display: flex;
  244. flex-direction: column;
  245. }
  246. }
  247. a,
  248. a:hover,
  249. a:visited {
  250. color: inherit;
  251. text-decoration: inherit;
  252. color: @highlightFg;
  253. }
  254. a:hover {
  255. text-decoration: underline;
  256. }
  257. h1 a,
  258. h2 a,
  259. h1 a:visited,
  260. h2 a:visited,
  261. h1 a:hover,
  262. h2 a:hover,
  263. header a,
  264. header a:hover,
  265. header a:visited {
  266. color: inherit;
  267. }
  268. h1 {
  269. position: relative;
  270. }
  271. h1 {
  272. font-size: 2rem;
  273. }
  274. h2 {
  275. font-size: 1.5rem;
  276. }
  277. h3 {
  278. font-size: 1.2rem;
  279. }
  280. h2,
  281. h1,
  282. h3 {
  283. margin: 0;
  284. padding: 0;
  285. margin-bottom: 1rem;
  286. color: @highlightFg;
  287. }
  288. h2,
  289. h3 {
  290. margin-top: 0.1rem;
  291. margin-bottom: 0.1rem;
  292. }
  293. .toggleNavOnPortraitButton {
  294. font-size: 2rem;
  295. display: none;
  296. color: @highlightFg;
  297. cursor: pointer;
  298. &:hover {
  299. color: @highlightFg2;
  300. }
  301. }
  302. // Useless things are hidden inportrait mode.
  303. @media @portrait {
  304. .useless {
  305. display: none;
  306. }
  307. }
  308. @media @portrait {
  309. .toggleNavOnPortraitButton {
  310. display: block;
  311. }
  312. nav.toggleOnPortrait {
  313. >* {
  314. flex-direction: column;
  315. display: none;
  316. }
  317. >.toggledOn {
  318. flex-direction: column;
  319. display: flex;
  320. }
  321. align-items: center;
  322. }
  323. }
  324. // Give padding to all the icons (from font awesome)
  325. *>i.fas:first-child,
  326. *>i.fab:first-child {
  327. // This is the icon
  328. padding-right: .4rem;
  329. }
  330. // #####
  331. .genericCl {
  332. background: @buttonColor !important;
  333. color: @foreground !important;
  334. font-weight: bold;
  335. }
  336. .highlightedCl{
  337. .genericCl();
  338. background: @highlightedColor !important;
  339. color: @highlightedColorFg!important;
  340. }
  341. .donateCl {
  342. .genericCl();
  343. background: @donateColor !important;
  344. }
  345. .docsCl {
  346. .genericCl();
  347. background: @docsColor !important;
  348. }
  349. .bugsCl {
  350. .genericCl();
  351. background: @bugsColor !important;
  352. }
  353. .codeCl {
  354. .genericCl();
  355. background: @codeColor !important;
  356. }
  357. .discordCl {
  358. .genericCl();
  359. background: @discordColor !important;
  360. }
  361. .storeCl {
  362. .genericCl();
  363. background: @storeColor !important;
  364. }
  365. figure.githubUser {
  366. display: flex;
  367. flex-direction: row;
  368. text-align: left;
  369. align-items: center;
  370. padding: 0;
  371. margin: 2rem;
  372. &.inline {
  373. margin: 0;
  374. >img {
  375. max-height: 3rem;
  376. }
  377. h2 {
  378. font-size: 1.2rem;
  379. }
  380. >.githubBio {
  381. display: none;
  382. }
  383. margin-top:2rem;
  384. margin-bottom:.5rem;
  385. padding-bottom:1rem;
  386. border-bottom: 0.1rem solid @highlightFg;
  387. }
  388. >* {
  389. padding: 0;
  390. margin: 0;
  391. }
  392. >img {
  393. box-shadow: 0 0 0.2rem 0.01rem @highlightFg;
  394. border-radius: 8rem;
  395. max-height: 6rem;
  396. }
  397. >figcaption {
  398. margin-left: 1rem;
  399. >h2 {
  400. padding: 0;
  401. margin: 0;
  402. }
  403. display:flex;
  404. flex-direction: column;
  405. }
  406. }
  407. body {
  408. text-align: left;
  409. overflow-x: hidden;
  410. font-family: 'Ubuntu', sans-serif; // font-family: 'JetBrains Mono', monospace;
  411. // font-family: 'Padauk', sans-serif;
  412. background: @background !important;
  413. color: @foreground !important;
  414. min-height: 100%;
  415. width: 100%;
  416. position: relative;
  417. margin: 0;
  418. padding: 0;
  419. display: flex;
  420. flex-direction: column;
  421. align-items: center;
  422. font-size: .8706rem;
  423. .textShadowed();
  424. // The main footer
  425. >footer {
  426. margin-top: 4rem; // Makes the page nicer by preventing it from abruptly end at the end of the content.
  427. }
  428. >main {
  429. // The main is the main content
  430. font-size: 1rem;
  431. width: 100%;
  432. // Those are unbound headers right under the main.
  433. >h1 {
  434. text-align: center;
  435. margin: auto;
  436. max-width: 600px;
  437. padding-top: 1rem;
  438. padding-bottom: 1rem;
  439. margin-top: 0.5rem;
  440. &:before,
  441. &:after {
  442. content: "\f107";
  443. font-family: 'font awesome 5 free';
  444. font-weight: 700;
  445. padding: 0.5rem;
  446. }
  447. }
  448. }
  449. // The main header
  450. >header {
  451. position: relative;
  452. z-index: 99;
  453. display: flex;
  454. flex-direction: column;
  455. align-items: center;
  456. background-color: @background2;
  457. box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.25);
  458. width: 100%;
  459. margin: 0;
  460. padding: 0;
  461. #siteTitle {
  462. color: @highlightFg;
  463. display: flex;
  464. flex-direction: row;
  465. text-align: center;
  466. /* justify-items: center;
  467. justify-content: center; */
  468. align-items: center;
  469. margin: 0;
  470. padding: 0;
  471. padding-top: 1rem;
  472. padding-bottom: 1rem;
  473. }
  474. }
  475. }
  476. @media @portrait {
  477. header {
  478. #logo {
  479. display: flex;
  480. flex-direction: row;
  481. width: 100%;
  482. align-items: center;
  483. .toggleNavOnPortraitButton {
  484. margin-right: 1rem;
  485. margin-left: auto;
  486. }
  487. }
  488. flex-direction: column;
  489. >#siteTitle {
  490. flex-direction: column !important;
  491. text-align: left !important;
  492. align-items: flex-start !important;
  493. >#contributionsBanner {
  494. text-align: left !important;
  495. margin-left: 1rem !important;
  496. margin-top: 1rem !important;
  497. }
  498. }
  499. }
  500. }
  501. // Something that links to more something
  502. .more {
  503. text-align: right;
  504. display: block;
  505. }
  506. // Cover, is something that fills an area to show an image/video
  507. .cover {
  508. width: 100%;
  509. height: 100%;
  510. background-color: rgba(0, 0, 0, 0.45);
  511. background-position: center;
  512. background-size: cover;
  513. position: absolute;
  514. top: 0;
  515. left: 0;
  516. z-index: -1;
  517. object-fit: cover;
  518. pointer-events: none;
  519. box-shadow: 0 0 0.3rem 0.04rem @background2;
  520. &.gallery {
  521. background-size: contain;
  522. background-repeat: no-repeat;
  523. pointer-events: auto;
  524. object-fit: contain;
  525. z-index: 0;
  526. }
  527. &.blur {
  528. filter: blur(100vh);
  529. margin-top: 40vh;
  530. }
  531. }
  532. // A width that is not too wide.
  533. .responsiveWidth {
  534. max-width: 1200px;
  535. width: 99vw;
  536. margin-left:auto;
  537. margin-right:auto;
  538. }
  539. #backerMessages {
  540. text-align: center;
  541. width: 100%;
  542. }
  543. #contributionsBanner {
  544. text-align: right !important;
  545. margin-left: auto;
  546. }
  547. // A flex list
  548. .list {
  549. display: flex;
  550. flex-wrap: wrap;
  551. justify-content: center;
  552. &.hlist {
  553. flex-direction: row;
  554. >article {
  555. flex-basis: 30%;
  556. }
  557. }
  558. &.vlist {
  559. display: flex;
  560. flex-direction: column;
  561. }
  562. }
  563. .collapsedList {
  564. article {
  565. border-radius: 0;
  566. margin-top: 0;
  567. margin-bottom: 0;
  568. flex-basis: 100%;
  569. h1 {
  570. border-radius: 0;
  571. }
  572. &:last-child {
  573. margin-bottom: 1rem;
  574. border-bottom-left-radius: @borderRoundness;
  575. border-bottom-right-radius: @borderRoundness;
  576. }
  577. &:first-child {
  578. margin-top: 1rem;
  579. border-top-left-radius: @borderRoundness;
  580. border-top-right-radius: @borderRoundness;
  581. h1 {
  582. border-top-left-radius: @borderRoundness;
  583. border-top-right-radius: @borderRoundness;
  584. }
  585. }
  586. }
  587. }
  588. main>section {
  589. text-align: center;
  590. margin: auto;
  591. }
  592. // This is a section, of the page
  593. section {
  594. display: block;
  595. position: relative;
  596. text-align: left;
  597. margin-bottom: 1rem;
  598. margin-top: 1rem;
  599. // &.full {
  600. // display: flex;
  601. // flex-direction: column;
  602. // }
  603. >article {
  604. // An article, is the content.
  605. .shadowed();
  606. text-align: left;
  607. background: @background2;
  608. border-radius: @borderRoundness;
  609. margin: 1rem;
  610. display: flex;
  611. flex-direction: column;
  612. text-shadow: none;
  613. h1 {}
  614. .more {
  615. text-align: left;
  616. }
  617. >h1:first-of-type {
  618. // This is the top bar in the article. The main title basically.
  619. border-radius: @borderRoundness;
  620. background: @background4;
  621. color: @foreground2;
  622. margin: 0;
  623. padding: 0;
  624. display: block;
  625. padding: 0.7rem;
  626. padding-left: 0.5rem;
  627. padding-right: 0.1rem;
  628. font-size: 1.3rem;
  629. width: 100%;
  630. border-bottom-left-radius: 0;
  631. border-bottom-right-radius: 0;
  632. overflow: hidden;
  633. word-wrap: normal;
  634. }
  635. >div.content {
  636. padding: 1rem;
  637. display: flex;
  638. flex-direction: row;
  639. align-items: stretch;
  640. min-width: 0;
  641. width: 100%;
  642. @media @portrait {
  643. display: flex;
  644. flex-direction: column;
  645. }
  646. li {
  647. // Adds little arrows before the li.
  648. list-style: none;
  649. &:before {
  650. content: "\f054";
  651. font-family: 'font awesome 5 free';
  652. font-weight: 700;
  653. padding-right: 0.5rem;
  654. }
  655. }
  656. p:first-of-type {
  657. // Remove margin from first p
  658. margin-top: 0 !important;
  659. padding-top: 0 !important;
  660. }
  661. >span {
  662. display: block;
  663. overflow-wrap: break-word;
  664. }
  665. >nav {
  666. margin-left: 2rem;
  667. flex-direction: column;
  668. align-items: baseline;
  669. flex-wrap: wrap;
  670. color: @highlightFg;
  671. >ul {
  672. width: 100%;
  673. }
  674. >ul li {
  675. width: 100%;
  676. // Special smaller ul
  677. background: none;
  678. border: none !important;
  679. margin: 0.1rem;
  680. margin-left: 0rem;
  681. font-size: 0.8rem;
  682. box-shadow: none;
  683. >* {
  684. margin-left: 1rem;
  685. }
  686. button {
  687. width: 100%;
  688. margin: 0;
  689. }
  690. }
  691. @media @portrait {
  692. ul li {
  693. // make nav in list section more compact
  694. margin: 0.1rem;
  695. padding: 0;
  696. width: auto;
  697. }
  698. >ul {
  699. margin-right: 0.4rem;
  700. width: auto;
  701. }
  702. }
  703. @media @portrait {
  704. margin-left: 0;
  705. flex-direction: row;
  706. }
  707. }
  708. }
  709. }
  710. &.list {
  711. >article {
  712. >div.content {
  713. // When the section is a list, we use a column layout. Helps keeping it compact
  714. display: flex;
  715. flex-direction: column;
  716. nav {
  717. flex-direction: row;
  718. }
  719. nav .share {
  720. // Share buttons are hidden in list section
  721. display: none !important;
  722. }
  723. ul {
  724. width: auto;
  725. li {
  726. width: auto;
  727. }
  728. }
  729. nav,
  730. nav ul li {
  731. // make nav in list section more compact
  732. margin: 0.1rem;
  733. padding: 0;
  734. }
  735. }
  736. }
  737. }
  738. }
  739. // Horizzontal lists are collapsed vertically in portrait mode.
  740. @media @portrait {
  741. section.hlist.responsive {
  742. .collapsedList();
  743. }
  744. }
  745. // This is a special section
  746. section#contribute {
  747. .collapsedList();
  748. }
  749. button#startbtn{
  750. font-size:1.6rem;
  751. }
  752. section#showcase {
  753. text-align: center;
  754. width: 100%;
  755. margin-top: 0;
  756. margin-bottom: 0;
  757. padding: 0;
  758. display: flex;
  759. position:relative;
  760. flex-direction: column;
  761. min-height:40vh;
  762. .textShadowedIntense();
  763. #gameDescription {
  764. text-align: right !important;
  765. width: 50%;
  766. font-size: 0.8rem;
  767. margin-top: auto;
  768. margin-right: 0 !important;
  769. margin-left: auto;
  770. height: auto;
  771. display: block;
  772. }
  773. #gameDescription h2 {
  774. text-align: left !important;
  775. font-size: 0.9rem;
  776. }
  777. #engineDescription {
  778. font-size: 1.3rem;
  779. text-align: center;
  780. width: 100%;
  781. display: block;
  782. }
  783. #showCasePrev,
  784. #showCaseNext {
  785. display: block;
  786. cursor: pointer;
  787. position: absolute;
  788. color: @highlightFg;
  789. }
  790. #showCasePrev {
  791. font-size: 4rem;
  792. bottom: 1rem;
  793. left: 1rem;
  794. }
  795. #showCaseNext {
  796. font-size: 4rem;
  797. bottom: 1rem;
  798. right: 1rem;
  799. }
  800. > div {
  801. padding: 1rem;
  802. background: none;
  803. box-shadow: none;
  804. width: 100%;
  805. display: block;
  806. background-position: center;
  807. background-size: cover;
  808. margin-top: 0;
  809. margin-bottom: 0;
  810. }
  811. @media @portrait {
  812. #gameDescription h2 {
  813. text-align: center !important;
  814. }
  815. #gameDescription {
  816. text-align: center !important;
  817. width: 100%;
  818. }
  819. #engineDescription {
  820. text-align: center !important;
  821. font-size: 1.1rem;
  822. }
  823. }
  824. }