aboutsummaryrefslogtreecommitdiff
path: root/www/package-version-details-body.css
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-10-17 18:48:46 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-10-17 18:48:46 +0300
commitff96d28f969a6716cfc9ccefe94e70132bc4d6db (patch)
tree1fce38985479e9152fdbaf2348e03036ba487810 /www/package-version-details-body.css
parent48d4ae50d57d58c35b25d2917faad6700783ac0d (diff)
Display package description as a pre-formatted text
Diffstat (limited to 'www/package-version-details-body.css')
-rw-r--r--www/package-version-details-body.css14
1 files changed, 13 insertions, 1 deletions
diff --git a/www/package-version-details-body.css b/www/package-version-details-body.css
index 4f7cc2e..c2821f6 100644
--- a/www/package-version-details-body.css
+++ b/www/package-version-details-body.css
@@ -73,6 +73,18 @@ h1, h2, h3
}
/*
+ * Description.
+ *
+ * This is a <pre> block that fits lines up to 80 characters long and
+ * wraps longer ones.
+ */
+#description
+{
+ font-size: 0.85em;
+ white-space: pre-wrap;
+}
+
+/*
* Version details table.
*/
#version
@@ -205,7 +217,7 @@ h1, h2, h3
*/
#changes
{
- font-size: 0.78em;
+ font-size: 0.85em;
white-space: pre-wrap;
margin: .5em 0 .5em 0;
}