mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Revert "Fix video alignment after dependency update"
This reverts commit 0e87849415.
This commit is contained in:
@@ -1844,11 +1844,3 @@ p + .classref-constant {
|
|||||||
#godot-giscus {
|
#godot-giscus {
|
||||||
margin-bottom: 1em;
|
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,7 +242,6 @@ videos should be included with the following code snippet::
|
|||||||
:autoplay:
|
:autoplay:
|
||||||
:loop:
|
:loop:
|
||||||
:muted:
|
:muted:
|
||||||
:align: default
|
|
||||||
|
|
||||||
Where ``documentation_video.webp`` would be changed to the name of the video you
|
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
|
created. Name your videos in a way that makes their meaning clear, possibly with
|
||||||
|
|||||||
@@ -54,7 +54,6 @@ The video below displays how these values affect scrolling while in-game:
|
|||||||
:autoplay:
|
:autoplay:
|
||||||
:loop:
|
:loop:
|
||||||
:muted:
|
:muted:
|
||||||
:align: default
|
|
||||||
|
|
||||||
Infinite repeat
|
Infinite repeat
|
||||||
---------------
|
---------------
|
||||||
|
|||||||
@@ -27,7 +27,6 @@ Interior environments can be created by using inverted primitives.
|
|||||||
:autoplay:
|
:autoplay:
|
||||||
:loop:
|
:loop:
|
||||||
:muted:
|
:muted:
|
||||||
:align: default
|
|
||||||
|
|
||||||
.. seealso::
|
.. seealso::
|
||||||
|
|
||||||
|
|||||||
@@ -121,4 +121,3 @@ Run the game and notice that mouse movement now rotates the camera around the ch
|
|||||||
:autoplay:
|
:autoplay:
|
||||||
:loop:
|
:loop:
|
||||||
:muted:
|
:muted:
|
||||||
:align: default
|
|
||||||
|
|||||||
Reference in New Issue
Block a user