[gtk/ebassi/gidocgen: 58/478] docs: Tweak css properties section
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/gidocgen: 58/478] docs: Tweak css properties section
- Date: Fri, 5 Mar 2021 23:02:31 +0000 (UTC)
commit c96383f3231a521cf60131832d6fa5509cf711a4
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Feb 20 00:18:21 2021 -0500
docs: Tweak css properties section
Fix the use of definition lists.
docs/reference/gtk/css-properties.md | 22 ++++++++++++++--------
1 file changed, 14 insertions(+), 8 deletions(-)
---
diff --git a/docs/reference/gtk/css-properties.md b/docs/reference/gtk/css-properties.md
index c08bfbf696..d09141a395 100644
--- a/docs/reference/gtk/css-properties.md
+++ b/docs/reference/gtk/css-properties.md
@@ -15,13 +15,16 @@ spec.
The following units are supported for basic datatypes:
Length
- : px, pt, em, ex, rem, pc, in, cm, mm, calc()
+: px, pt, em, ex, rem, pc, in, cm, mm, calc()
+
Percentage
- : %, calc()
+: %, calc()
+
Angle
- : deg, grad, turn, calc()
+: deg, grad, turn, calc()
+
Time
- : s, ms, calc()
+: s, ms, calc()
Length values with the em or ex units are resolved using the font
size value, unless they occur in setting the font-size itself, in
@@ -42,13 +45,16 @@ side of an area. In this case, the specified values are interpreted as
follows:
4 values:
- : top right bottom left
+: top right bottom left
+
3 values:
- : top horizontal bottom
+: top horizontal bottom
+
2 values:
- : vertical horizontal
+: vertical horizontal
+
1 value:
- : all
+: all
## Colors
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]