diff --git a/_static/css/custom.css b/_static/css/custom.css index 1ffd947a963..9b26dc54395 100644 --- a/_static/css/custom.css +++ b/_static/css/custom.css @@ -691,12 +691,20 @@ footer { } .wy-table-bordered-all td, -.rst-content table.docutils td, .wy-table thead th, +.rst-content table.docutils td, .rst-content table.docutils thead th, .rst-content table.field-list thead th { border-bottom: 2px solid var(--code-border-color); border-left: 2px solid var(--code-border-color); + padding: 4px 16px; +} + +html.writer-html5 .rst-content table.docutils th { + border-bottom: 4px solid var(--code-border-color); + border-left: 2px solid var(--code-border-color); + padding: 8px 16px; + vertical-align: middle; } .wy-table-odd td, @@ -728,6 +736,22 @@ footer { white-space: nowrap; } +/* Artificially increasing specificity to make it override theme.css. */ +html.writer-html5 .rst-content .wy-table-responsive > table td > p { + line-height: 1.425rem; +} +html.writer-html5 .rst-content .wy-table-responsive > table th > p { + line-height: 1.425rem; + font-size: .95rem; + font-weight: 600; +} + +html.writer-html5 .rst-content .wy-table-responsive > table td > p tt.literal, +html.writer-html5 .rst-content .wy-table-responsive > table td > p code.literal { + font-size: .85rem; + padding: 2px 5px; +} + /* Code display tweaks */ code, @@ -1153,11 +1177,6 @@ p + .classref-constant { width: 100%; } -/* Artificially increasing specificity to make it override theme.css. */ -html.writer-html5 .rst-content .classref-reftable-group .wy-table-responsive > table td > p { - line-height: 1.3rem; -} - /* Buttons */ .btn-neutral { diff --git a/tutorials/editor/command_line_tutorial.rst b/tutorials/editor/command_line_tutorial.rst index c397c5670fc..de41e5287a2 100644 --- a/tutorials/editor/command_line_tutorial.rst +++ b/tutorials/editor/command_line_tutorial.rst @@ -181,9 +181,9 @@ Command line reference | ``--export-pack `` | Like ``--export-release``, but only export the game pack for the given preset. The ```` extension determines whether it will be in PCK | | | or ZIP format (:ref:`target=editor ` must be used). | +------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------+ -| ``--convert-3to4 [] []`` | Converts project from Godot 3.x to Godot 4.x. | -+----------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -| ``--validate-conversion-3to4 [] []`` | Shows what elements will be renamed when converting project from Godot 3.x to Godot 4.x. | +| ``--convert-3to4 [] []`` | Convert project from Godot 3.x to Godot 4.x. | ++------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------+ +| ``--validate-conversion-3to4 [] []`` | Show what elements will be renamed when converting project from Godot 3.x to Godot 4.x. | +------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------+ | ``--doctool `` | Dump the engine API reference to the given ```` in XML format, merging if existing files are found | | | (:ref:`target=editor ` must be used). |