You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.html 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. {% extends "main.html" %}
  2. {% block tabs %}
  3. {{ super() }}
  4. <style>
  5. .md-main {
  6. display: none;
  7. }
  8. .md-nav {
  9. display: none;
  10. }
  11. .md-header {
  12. box-shadow: none !important;
  13. }
  14. :root {
  15. --md-secondary-fg-color: var(--md-accent-fg-color);
  16. }
  17. .md-button {
  18. --md-primary-bg-color: var(--md-primary-fg-color);
  19. --md-primary-fg-color: var(--md-primary-bg-color);
  20. margin-top: 8px;
  21. margin-bottom: 8px;
  22. }
  23. #splash {
  24. display: flex;
  25. align-items: center;
  26. flex-grow: 1;
  27. background-color: var(--md-primary-fg-color);
  28. color: var(--md-primary-bg-color);
  29. padding-left: 16px;
  30. padding-right: 16px;
  31. }
  32. .splash-container {
  33. display: flex;
  34. align-items: stretch;
  35. flex-direction: column;
  36. }
  37. .splash-text {
  38. font-size: 16pt;
  39. padding: 0 14px 0 14px; /* align to header */
  40. text-align: center;
  41. }
  42. .splash-image {
  43. text-align: center;
  44. margin-top: 32px;
  45. margin-bottom: 32px;
  46. }
  47. .splash-text em {
  48. font-style: normal;
  49. color: var(--md-accent-fg-color);
  50. }
  51. .splash-text h2 {
  52. margin: 0.5em 0 0.5em 0;
  53. }
  54. .splash-image > video {
  55. width: 80%;
  56. border-radius: 32px;
  57. border: 4px solid var(--md-primary-fg-color--light);
  58. }
  59. @media screen and (min-width: 1220px) {
  60. .splash-container {
  61. align-items: center;
  62. flex-direction: row;
  63. }
  64. .splash-text {
  65. flex: 14;
  66. text-align: left;
  67. }
  68. .splash-image {
  69. flex: 9;
  70. text-align: right;
  71. margin-top: 0;
  72. margin-bottom: 0;
  73. }
  74. .splash-image > video {
  75. width: 100%;
  76. }
  77. }
  78. @keyframes appear {
  79. from { transform: translateY(10%); opacity: 0.01; }
  80. to { transform: translateX(0); opacity: 1; }
  81. }
  82. .appear {
  83. animation: appear 0.5s ease-out 0.2s;
  84. animation-fill-mode: both;
  85. }
  86. .text-center {
  87. text-align: center;
  88. }
  89. </style>
  90. <section id="splash">
  91. <div class="splash-container md-grid">
  92. <div class="splash-text md-typeset appear text-center">
  93. <h2>&#x2728; encantAR.js &#x2728;</h2>
  94. <p>Enchant your users with Augmented Reality experiences that run everywhere!</p>
  95. <a href="{{ './getting-started' | url }}" class="md-button">Get started</a>
  96. </div>
  97. <!--
  98. <div class="splash-image">
  99. <video poster="{{ './img/demo-cool3.webp' | url }}" muted loop playsinline autoplay>
  100. <source src="{{ './img/demo-cool3.webm' | url }}" type="video/webm" />
  101. <source src="{{ './img/demo-cool3.mp4' | url }}" type="video/mp4" />
  102. </video>
  103. </div>
  104. -->
  105. </div>
  106. </section>
  107. {% endblock %}
  108. {% block announce %}{% endblock %}
  109. {% block site_nav %}{% endblock %}
  110. {% block content %}{% endblock %}
  111. {% block footer %}{% endblock %}