Update links to snippets.

This commit is contained in:
Rodrigo Girão Serrão
2022-12-21 17:56:17 +00:00
parent bcd08d2d46
commit c973fb4cba
18 changed files with 24 additions and 24 deletions

View File

@@ -9,7 +9,7 @@ For example, the `background` rule sets the color of the background of a widget.
## Syntax ## Syntax
--8<-- "docs/styles/snippets/color_css_syntax.md" --8<-- "docs/snippets/color_css_syntax.md"
## Examples ## Examples

View File

@@ -2,7 +2,7 @@
## Syntax ## Syntax
--8<-- "docs/styles/snippets/percentage_syntax.md" --8<-- "docs/snippets/percentage_syntax.md"
!!! warning !!! warning

View File

@@ -7,7 +7,7 @@ Scalars also accept the special value `auto`.
## Syntax ## Syntax
--8<-- "docs/styles/snippets/scalar_syntax.md" --8<-- "docs/snippets/scalar_syntax.md"
A complete reference table and detailed explanations follow. A complete reference table and detailed explanations follow.
You can [skip to the examples](#Examples). You can [skip to the examples](#Examples).

View File

@@ -8,7 +8,7 @@ The text style unit is a combination of any of the legal text style values in a
## Syntax ## Syntax
--8<-- "docs/styles/snippets/text_style_syntax.md" --8<-- "docs/snippets/text_style_syntax.md"
## Examples ## Examples

View File

@@ -8,7 +8,7 @@ The `background` rule sets the background color of a widget.
background: <COLOR> [<PERCENTAGE>]; background: <COLOR> [<PERCENTAGE>];
``` ```
--8<-- "docs/styles/snippets/color_css_syntax.md" --8<-- "docs/snippets/color_css_syntax.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/styles/snippets/color_css_syntax.md" --8<-- "docs/snippets/color_css_syntax.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/styles/snippets/color_css_syntax.md" --8<-- "docs/snippets/color_css_syntax.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/styles/snippets/scalar_syntax.md" --8<-- "docs/snippets/scalar_syntax.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/styles/snippets/scalar_syntax.md" --8<-- "docs/snippets/scalar_syntax.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/styles/snippets/scalar_syntax.md" --8<-- "docs/snippets/scalar_syntax.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/styles/snippets/scalar_syntax.md" --8<-- "docs/snippets/scalar_syntax.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/styles/snippets/color_css_syntax.md" --8<-- "docs/snippets/color_css_syntax.md"
--8<-- "docs/styles/snippets/text_style_syntax.md" --8<-- "docs/snippets/text_style_syntax.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/styles/snippets/color_css_syntax.md" --8<-- "docs/snippets/color_css_syntax.md"
--8<-- "docs/styles/snippets/percentage_syntax.md" --8<-- "docs/snippets/percentage_syntax.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/styles/snippets/color_css_syntax.md" --8<-- "docs/snippets/color_css_syntax.md"
--8<-- "docs/styles/snippets/percentage_syntax.md" --8<-- "docs/snippets/percentage_syntax.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/styles/snippets/color_css_syntax.md" --8<-- "docs/snippets/color_css_syntax.md"
--8<-- "docs/styles/snippets/percentage_syntax.md" --8<-- "docs/snippets/percentage_syntax.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/styles/snippets/color_css_syntax.md" --8<-- "docs/snippets/color_css_syntax.md"
--8<-- "docs/styles/snippets/percentage_syntax.md" --8<-- "docs/snippets/percentage_syntax.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/styles/snippets/color_css_syntax.md" --8<-- "docs/snippets/color_css_syntax.md"
--8<-- "docs/styles/snippets/percentage_syntax.md" --8<-- "docs/snippets/percentage_syntax.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/styles/snippets/text_style_syntax.md" --8<-- "docs/snippets/text_style_syntax.md"
## Example ## Example