]> Cypherpunks repositories - gostls13.git/commitdiff
undo CL 6493071 / 56c7453d488f
authorAndrew Gerrand <adg@golang.org>
Thu, 13 Sep 2012 01:14:20 +0000 (11:14 +1000)
committerAndrew Gerrand <adg@golang.org>
Thu, 13 Sep 2012 01:14:20 +0000 (11:14 +1000)
This change messes with anchor links. It obscures the item being linked to.
I don't see a way around it. Undoing for now.

      Fixes #4071.

      ««« original CL description
      doc css: topbar sticks to the top of large windows.
      Rationale: for large screens, the convenience of not having to scroll
      to the top of the page to do a search outweighs having less vertical
      space.
      Tested with Chrome, Firefox, Safari with various window and text sizes.

      R=adg
      CC=gobot, golang-dev
      https://golang.org/cl/6493071

      Committer: Andrew Gerrand <adg@golang.org>
      »»»

R=golang-dev, r, dsymonds
CC=golang-dev
https://golang.org/cl/6488121

doc/style.css

index cf1c6d5aa9542974af1026ad2f5a5b865d98d7c9..a0c63209876f1b2a32cf596d12616c13ed9f7e8a 100644 (file)
@@ -132,24 +132,6 @@ div#topbar {
        height: 64px;
 }
 
-/* always show topbar for large screens */
-@media screen and (min-width: 130ex) and (min-height: 900px) {
-       /* 130ex -> wide enough so that title isn't below buttons */
-
-       div#topbar {
-               position: fixed;
-               z-index: 1;
-               top: 0;
-               width: 100%;
-               height: 63px;
-               border-bottom: 1px solid #B0BBC5;
-       }
-
-       div#page {
-                       margin-top: 84px; /* 64+20 to match topbar+H1 */
-       }
-}
-
 body {
        text-align: center;
 }