summaryrefslogtreecommitdiff
path: root/docs/modules
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2022-05-25 01:58:38 -0600
committerDan Allen <dan.j.allen@gmail.com>2022-05-25 01:58:38 -0600
commit40a73235a16250452f3a4df668eff74b63ef409b (patch)
treec3a1437c9be80e01f6666f420732dd594f7e7cd6 /docs/modules
parent56776e3affea9b4b15c3f79053f7ca569602d9a2 (diff)
clarify how the top key for the title page logo and title is interpreted
Diffstat (limited to 'docs/modules')
-rw-r--r--docs/modules/theme/pages/title-page.adoc17
1 files changed, 13 insertions, 4 deletions
diff --git a/docs/modules/theme/pages/title-page.adoc b/docs/modules/theme/pages/title-page.adoc
index 84be5ce5..26847260 100644
--- a/docs/modules/theme/pages/title-page.adoc
+++ b/docs/modules/theme/pages/title-page.adoc
@@ -115,7 +115,7 @@ title-page:
logo:
image: image:logo.png[pdfwidth=25%]
-|<<top,top>>
+|<<logo-top,top>>
|xref:measurement-units.adoc[Measurement] +
(default: `10%`) +
|[source]
@@ -124,10 +124,12 @@ title-page:
top: 25%
|===
-[#top]
+[#logo-top]
=== top
-The `%` unit is relative to content height; `vh` unit is relative to page height.
+The absolute top position of the logo.
+The `%` unit is a percentage of the content height, starting from the top of the content area.
+The `vh` unit is a percentage of the page height, starting from the top of the page.
[#title]
== title-page-title
@@ -218,7 +220,7 @@ title-page:
title:
text-transform: smallcaps
-|<<top,top>>
+|<<title-top,top>>
|xref:measurement-units.adoc[Measurement] +
(default: `40%`)
|[source]
@@ -227,6 +229,13 @@ title-page:
top: 55%
|===
+[#title-top]
+=== top
+
+The absolute top position of the logo.
+The `%` unit is a percentage of the content height, starting from the top of the content area.
+The `vh` unit is a percentage of the page height, starting from the top of the page.
+
[#subtitle]
== title-page-subtitle