Переглянути джерело

Fix videos on mobile (responsive design); small changes

customisations
alemart 3 роки тому
джерело
коміт
17fdca7226
4 змінених файлів з 10 додано та 3 видалено
  1. 1
    1
      README.md
  2. 1
    1
      docs/getting-started/index.md
  3. 7
    0
      docs_overrides/style/extra.css
  4. 1
    1
      mkdocs.yml

+ 1
- 1
README.md Переглянути файл

@@ -12,7 +12,7 @@ MARTINS.js is [dual licensed](#author). It is currently in beta.
12 12
 
13 13
 Currently supported features:
14 14
 
15
-* **Image tracking**, also known as natural feature tracking. Use it to track detailed images (such as book covers, cartoons or photos) for AR.
15
+* **Image tracking**, also known as natural feature tracking. Use it to track detailed images such as: book covers, cartoons and photos.
16 16
 
17 17
 ![WebAR demo](docs/img/demo-aframe.gif) ![WebAR demo](docs/img/demo-hello.gif)
18 18
 

+ 1
- 1
docs/getting-started/index.md Переглянути файл

@@ -10,7 +10,7 @@
10 10
 
11 11
 Currently supported features:
12 12
 
13
-* **Image tracking**, also known as natural feature tracking. Use it to track detailed images (such as book covers, cartoons or photos) for AR.
13
+* **Image tracking**, also known as natural feature tracking. Use it to track detailed images such as: book covers, cartoons and photos.
14 14
 
15 15
 ![WebAR demo](../img/demo-aframe.gif) ![WebAR demo](../img/demo-hello.gif)
16 16
 

+ 7
- 0
docs_overrides/style/extra.css Переглянути файл

@@ -19,6 +19,13 @@
19 19
     background-repeat: repeat;
20 20
 }
21 21
 
22
+/* Responsive videos */
23
+
24
+.md-typeset video {
25
+    height: auto;
26
+    max-width: 100%;
27
+}
28
+
22 29
 /* Share buttons */
23 30
 
24 31
 .share-buttons {

+ 1
- 1
mkdocs.yml Переглянути файл

@@ -59,7 +59,7 @@ nav:
59 59
       - 'Set up a web server': 'getting-started/set-up-a-web-server.md'
60 60
       - 'Set up the tracker': 'getting-started/set-up-the-tracker.md'
61 61
       - 'Set up the session': 'getting-started/set-up-the-session.md'
62
-      - 'Create the augmented scene': 'getting-started/create-the-augmented-scene.md'
62
+      - 'Create the augmented scene (supporters)': 'getting-started/create-the-augmented-scene.md'
63 63
       - 'Activate your webcam': 'getting-started/activate-your-webcam.md'
64 64
       - 'Next steps': 'getting-started/next-steps.md'
65 65
     - 'Guidelines for Images': 'getting-started/guidelines-for-images.md'

Завантаження…
Відмінити
Зберегти