summaryrefslogtreecommitdiffstats
path: root/doc/_static
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>2012-12-13 09:53:23 -0500
committerTom Yu <tlyu@mit.edu>2012-12-14 14:21:00 -0500
commitbba7ed92a0b9800d9f5fdb14f5f66f755e9d92fa (patch)
treeac5cf54b19b5ba62fb0d7a62ca24b255abf8fa0a /doc/_static
parent060b1eb1e38b294495adab784da32ca4e9871d20 (diff)
downloadkrb5-bba7ed92a0b9800d9f5fdb14f5f66f755e9d92fa.tar.gz
krb5-bba7ed92a0b9800d9f5fdb14f5f66f755e9d92fa.tar.xz
krb5-bba7ed92a0b9800d9f5fdb14f5f66f755e9d92fa.zip
Fix documentation browser resizing behavior
Remove hardcoded dimensions from a few CSS parameters to prevent layout problems when readers resize their browsers to have a narrower window. Set a max-width: 60em on the main content so that text remains readable on wide browser windows. ticket: 7503 (new) target_version: 1.11 tags: pullup
Diffstat (limited to 'doc/_static')
-rw-r--r--doc/_static/kerb.css7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/_static/kerb.css b/doc/_static/kerb.css
index f283496623..eb93bc48a8 100644
--- a/doc/_static/kerb.css
+++ b/doc/_static/kerb.css
@@ -16,6 +16,9 @@ div.body {
div.header, div.content, div.footer {
margin-left: auto;
margin-right: auto;
+ padding-left: 1em;
+ padding-right: 1em;
+ max-width: 60em;
}
div.header-wrapper {
@@ -107,6 +110,10 @@ div.sidebar li.toctree-l4 a {
display: none;
}
+div.sidebar input[type=text] {
+ width: auto;
+}
+
/* Other body styles */
dt:target, .highlighted {