header.html 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>Official Godot demos exported to Web</title>
  7. <style>
  8. :root {
  9. --background-color: #fff;
  10. --text-color: #222;
  11. --link-color: hsl(220, 100%, 45%);
  12. --link-visited-color: hsl(270, 100%, 55%);
  13. --link-underline-color: hsla(220, 100%, 45%, 0.3);
  14. --link-underline-visited-color: hsla(270, 100%, 45%, 0.3);
  15. }
  16. @media (prefers-color-scheme: dark) {
  17. :root {
  18. --background-color: #222;
  19. --text-color: #eee;
  20. --link-color: hsl(200, 100%, 70%);
  21. --link-visited-color: hsl(250, 100%, 80%);
  22. --link-underline-color: hsla(200, 100%, 70%, 0.3);
  23. --link-underline-visited-color: hsla(250, 100%, 70%, 0.3);
  24. }
  25. }
  26. *:focus {
  27. /* More visible outline for better keyboard navigation. */
  28. outline: 0.125rem solid hsl(220, 100%, 62.5%);
  29. /* Make the outline always appear above other elements. */
  30. position: relative;
  31. }
  32. html {
  33. background-color: var(--background-color);
  34. color: var(--text-color);
  35. }
  36. body {
  37. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  38. max-width: 50rem;
  39. margin: 0 auto;
  40. padding: 0.75rem;
  41. line-height: 1.618rem;
  42. }
  43. h2 {
  44. margin-top: 2.5rem;
  45. }
  46. a {
  47. color: var(--link-color);
  48. text-decoration-color: var(--link-underline-color);
  49. text-decoration-thickness: 0.125rem;
  50. }
  51. a:visited {
  52. color: var(--link-visited-color);
  53. text-decoration-color: var(--link-visited-color);
  54. }
  55. a:hover {
  56. filter: brightness(117.5%);
  57. }
  58. a:active {
  59. filter: brightness(82.5%);
  60. }
  61. ul {
  62. padding-left: 0;
  63. }
  64. li {
  65. display: block;
  66. }
  67. li a {
  68. display: inline-block;
  69. width: 100%;
  70. height: 4rem;
  71. margin-left: 0.5rem;
  72. }
  73. li a:hover {
  74. background-color: hsla(0, 0%, 50%, 0.1);
  75. }
  76. li a * {
  77. float: left;
  78. }
  79. li a p {
  80. height: 24px;
  81. margin: 20px 10px;
  82. }
  83. .unsupported-demos li {
  84. margin-bottom: 1.5rem;
  85. }
  86. </style>
  87. </head>
  88. <body>
  89. <h1>Godot demo projects</h1>
  90. <p>
  91. This page lists
  92. <a href="https://github.com/godotengine/godot-demo-projects">official Godot demo projects</a>
  93. exported to the web for testing purposes. These projects are deployed automatically
  94. on every commit on the <code>master</code> branch of the repository.
  95. </p>
  96. <p>
  97. The web exports on this page are provided for demonstration purposes only.
  98. Some of these demos may not function or render correctly on the web platform,
  99. especially on mobile devices.
  100. For best performance, it's recommended to
  101. <a href="https://godotengine.org/download">download</a> a native editor
  102. and run the demo project by importing its files in the project manager.
  103. </p>
  104. <p>
  105. See the
  106. <a href="https://docs.godotengine.org/en/stable/getting_started/workflow/export/exporting_for_web.html">Exporting for the Web</a>
  107. documentation for information on exporting your own projects to the web.
  108. </p>
  109. <h2>List of demos</h2>
  110. <ul>
  111. <!-- The list of demos will be inserted below by the CI process. -->