From be8feb7ee848aeecce077f07aa6f142d5796af79 Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Tue, 21 Dec 2010 21:35:43 -0500 Subject: [PATCH] Accurate positioning of the repl_bridge, hopefully. --- documentation/css/docs.css | 11 ++++++++--- documentation/index.html.erb | 2 +- index.html | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/documentation/css/docs.css b/documentation/css/docs.css index 4e85ec41..8d0e5f4c 100644 --- a/documentation/css/docs.css +++ b/documentation/css/docs.css @@ -238,13 +238,18 @@ div.code { } .navigation .repl_bridge { position: absolute; - left: 397px; - width: 150px; height: 13px; - top: -15px; + height: 12px; + left: -1px; right: -1px; + bottom: -14px; border: 1px solid #aaa; + z-index: 5; background: #fff; + display: none; border-top-color: #fff; border-bottom-color: #fff; } + .navigation.active .repl_bridge { + display: block; + } .navigation .code .minibutton { top: 10px; right: 10px; width: 40px; diff --git a/documentation/index.html.erb b/documentation/index.html.erb index 0f99d6ac..ce76e5ad 100644 --- a/documentation/index.html.erb +++ b/documentation/index.html.erb @@ -75,9 +75,9 @@