mirror of
https://github.com/godotengine/godot-docs.git
synced 2025-12-31 17:49:03 +03:00
Fix video alignment after dependency update
This commit is contained in:
@@ -1844,3 +1844,11 @@ p + .classref-constant {
|
||||
#godot-giscus {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
/** Center videos embedded using the sphinxcontrib-video plugin.
|
||||
* That plugin makes assumptions about `align-center` and `align-left` that our
|
||||
* theme does not follow, so we set the `align-default` class instead to avoid
|
||||
* collisions and have full control of how videos are aligned. */
|
||||
.align-default {
|
||||
text-align: center
|
||||
}
|
||||
|
||||
@@ -242,6 +242,7 @@ videos should be included with the following code snippet::
|
||||
:autoplay:
|
||||
:loop:
|
||||
:muted:
|
||||
:align: default
|
||||
|
||||
Where ``documentation_video.webp`` would be changed to the name of the video you
|
||||
created. Name your videos in a way that makes their meaning clear, possibly with
|
||||
|
||||
@@ -45,6 +45,7 @@ The video below displays how these values affect scrolling while in-game:
|
||||
:autoplay:
|
||||
:loop:
|
||||
:muted:
|
||||
:align: default
|
||||
|
||||
Infinite repeat
|
||||
---------------
|
||||
|
||||
@@ -27,6 +27,7 @@ Interior environments can be created by using inverted primitives.
|
||||
:autoplay:
|
||||
:loop:
|
||||
:muted:
|
||||
:align: default
|
||||
|
||||
.. seealso::
|
||||
|
||||
|
||||
@@ -121,3 +121,4 @@ Run the game and notice that mouse movement now rotates the camera around the ch
|
||||
:autoplay:
|
||||
:loop:
|
||||
:muted:
|
||||
:align: default
|
||||
|
||||
Reference in New Issue
Block a user