From 9b9db2f1dd229539252d63373b2d0bff31334f5c Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 14 Feb 2024 07:52:47 +0100 Subject: [PATCH] FAQ/privacy HTML styles --- FAQ.yaml | 8 ++++++++ app/build.gradle | 2 +- index.html | 5 +++++ privacy/privacy.css | 4 ++++ 4 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 FAQ.yaml diff --git a/FAQ.yaml b/FAQ.yaml new file mode 100644 index 0000000000..f024363fe6 --- /dev/null +++ b/FAQ.yaml @@ -0,0 +1,8 @@ +--- +header-includes: | + +--- diff --git a/app/build.gradle b/app/build.gradle index 4d098286e9..349759ea77 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -395,7 +395,7 @@ preBuild.dependsOn copyChangelog tasks.register('updateFAQ', Exec) { workingDir "${rootDir}" - commandLine 'sh', '-c', 'pandoc --standalone FAQ.md -o index.html' + commandLine 'sh', '-c', 'pandoc --standalone --metadata-file FAQ.yaml FAQ.md -o index.html' } tasks.register('updatePrivacy', Exec) { diff --git a/index.html b/index.html index fd1eee81ec..d550834642 100644 --- a/index.html +++ b/index.html @@ -13,6 +13,11 @@ div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;} ul.task-list{list-style: none;} +

diff --git a/privacy/privacy.css b/privacy/privacy.css index 73130cadb6..6ac164c0f1 100644 --- a/privacy/privacy.css +++ b/privacy/privacy.css @@ -1,3 +1,7 @@ +body { + font-family: Arial, sans-serif; +} + .table-wrapper { overflow-x: auto; white-space: nowrap;