Fix links to snippets and types.

This commit is contained in:
Rodrigo Girão Serrão
2022-12-21 19:41:54 +00:00
parent 175f6b65cb
commit d7049c89a0
14 changed files with 20 additions and 20 deletions

View File

@@ -8,7 +8,7 @@ The `background` rule sets the background color of a widget.
background: <COLOR> [<PERCENTAGE>]; background: <COLOR> [<PERCENTAGE>];
``` ```
--8<-- "docs/snippets/color_css_syntax.md" --8<-- "docs/snippets/type_syntax/color.md"
The optional [percentage](./css_units/percentage.md) sets the transparency level and will override any transparency specified directly in the color. The optional [percentage](./css_units/percentage.md) sets the transparency level and will override any transparency specified directly in the color.

View File

@@ -38,7 +38,7 @@ For example, `heavy white` would display a heavy white line around a widget.
### Color syntax ### Color syntax
--8<-- "docs/snippets/color_css_syntax.md" --8<-- "docs/snippets/type_syntax/color.md"
### Multiple edge rules ### Multiple edge rules

View File

@@ -10,7 +10,7 @@ color: (<COLOR> | auto) [<PERCENTAGE>];
Use `auto` to automatically choose a color with suitable contrast for readability. Use `auto` to automatically choose a color with suitable contrast for readability.
--8<-- "docs/snippets/color_css_syntax.md" --8<-- "docs/snippets/type_syntax/color.md"
The optional [percentage](./css_units/percentage.md) sets the transparency level and will override any transparency specified directly in the color. The optional [percentage](./css_units/percentage.md) sets the transparency level and will override any transparency specified directly in the color.

View File

@@ -16,7 +16,7 @@ If there are more columns in the grid than scalars specified in `grid-columns`,
Scalar units can be mixed. Scalar units can be mixed.
--8<-- "docs/snippets/scalar_syntax.md" --8<-- "docs/snippets/type_syntax/scalar.md"
## Example ## Example

View File

@@ -19,7 +19,7 @@ grid-gutter: <SCALAR> [<SCALAR>];
If only one scalar is supplied, it sets the horizontal and vertical gutter. If only one scalar is supplied, it sets the horizontal and vertical gutter.
If two scalars are supplied, they set the vertical and horizontal gutters, respectively. If two scalars are supplied, they set the vertical and horizontal gutters, respectively.
--8<-- "docs/snippets/scalar_syntax.md" --8<-- "docs/snippets/type_syntax/scalar.md"
## Example ## Example

View File

@@ -16,7 +16,7 @@ If there are more rows in the grid than scalars specified in `grid-rows`, they a
Scalar units can be mixed. Scalar units can be mixed.
--8<-- "docs/snippets/scalar_syntax.md" --8<-- "docs/snippets/type_syntax/scalar.md"
## Example ## Example

View File

@@ -8,7 +8,7 @@ The `height` rule sets a widget's height. By default, it sets the height of the
height: <SCALAR>; height: <SCALAR>;
``` ```
--8<-- "docs/snippets/scalar_syntax.md" --8<-- "docs/snippets/type_syntax/scalar.md"
## Examples ## Examples

View File

@@ -28,9 +28,9 @@ link-hover-background: <COLOR> [<PERCENTAGE>];
link-hover-style: <TEXT STYLE>; link-hover-style: <TEXT STYLE>;
``` ```
--8<-- "docs/snippets/color_css_syntax.md" --8<-- "docs/snippets/type_syntax/color.md"
--8<-- "docs/snippets/text_style_syntax.md" --8<-- "docs/snippets/type_syntax/text_style.md"
## Example ## Example

View File

@@ -12,9 +12,9 @@ The `link-background` sets the background color of the link.
link-background: <COLOR> <PERCENTAGE>; link-background: <COLOR> <PERCENTAGE>;
``` ```
--8<-- "docs/snippets/color_css_syntax.md" --8<-- "docs/snippets/type_syntax/color.md"
--8<-- "docs/snippets/percentage_syntax.md" --8<-- "docs/snippets/type_syntax/percentage.md"
## Example ## Example

View File

@@ -12,9 +12,9 @@ The `link-color` sets the color of the link text.
link-color: <COLOR> <PERCENTAGE>; link-color: <COLOR> <PERCENTAGE>;
``` ```
--8<-- "docs/snippets/color_css_syntax.md" --8<-- "docs/snippets/type_syntax/color.md"
--8<-- "docs/snippets/percentage_syntax.md" --8<-- "docs/snippets/type_syntax/percentage.md"
## Example ## Example

View File

@@ -12,9 +12,9 @@ The `link-hover-background` sets the background color of the link when the mouse
link-hover-background: <COLOR> <PERCENTAGE>; link-hover-background: <COLOR> <PERCENTAGE>;
``` ```
--8<-- "docs/snippets/color_css_syntax.md" --8<-- "docs/snippets/type_syntax/color.md"
--8<-- "docs/snippets/percentage_syntax.md" --8<-- "docs/snippets/type_syntax/percentage.md"
## Example ## Example

View File

@@ -12,9 +12,9 @@ The `link-hover-color` sets the color of the link text when the mouse cursor is
link-hover-color: <COLOR> <PERCENTAGE>; link-hover-color: <COLOR> <PERCENTAGE>;
``` ```
--8<-- "docs/snippets/color_css_syntax.md" --8<-- "docs/snippets/type_syntax/color.md"
--8<-- "docs/snippets/percentage_syntax.md" --8<-- "docs/snippets/type_syntax/percentage.md"
## Example ## Example

View File

@@ -12,9 +12,9 @@ The `link-hover-style` sets the text style for the link text when the mouse curs
link-hover-style: <COLOR> <PERCENTAGE>; link-hover-style: <COLOR> <PERCENTAGE>;
``` ```
--8<-- "docs/snippets/color_css_syntax.md" --8<-- "docs/snippets/type_syntax/color.md"
--8<-- "docs/snippets/percentage_syntax.md" --8<-- "docs/snippets/type_syntax/percentage.md"
## Example ## Example

View File

@@ -12,7 +12,7 @@ The `link-style` sets the text style for the link text.
link-style: <TEXT STYLE>; link-style: <TEXT STYLE>;
``` ```
--8<-- "docs/snippets/text_style_syntax.md" --8<-- "docs/snippets/type_syntax/text_style.md"
## Example ## Example