Document styles (#785)

* Add docs for CSS variables

* Add ref docs for various styles, fix some typos in places
This commit is contained in:
darrenburns
2022-09-15 16:32:23 +01:00
committed by GitHub
parent 69a5cf84df
commit 9e883d3e45
10 changed files with 189 additions and 10 deletions

View File

@@ -518,6 +518,8 @@ However, in this case, both `#box1` and `#box2` are assigned to layers.
From the `layers: below above;` declaration inside `layers.css`, we can see that the layer named `above` is on top of the `below` layer.
Since `#box1` is on the higher layer, it is drawn on top of `#box2`.
[//]: # (NOTE: the example below also appears in the layers and layer style reference)
=== "Output"
```{.textual path="docs/examples/guide/layout/layers.py"}