From bba7ed92a0b9800d9f5fdb14f5f66f755e9d92fa Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Thu, 13 Dec 2012 09:53:23 -0500 Subject: 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 --- doc/_static/kerb.css | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc/_static') diff --git a/doc/_static/kerb.css b/doc/_static/kerb.css index f28349662..eb93bc48a 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 { -- cgit