mirror of
https://github.com/golang/go.git
synced 2025-05-15 12:24:37 +00:00
website: remove floating topbar
This caused more problems than it was worth. Fixes #4301. Fixes #4317. R=golang-dev, minux.ma, rsc CC=golang-dev https://golang.org/cl/6818076
This commit is contained in:
parent
022b361ae2
commit
c128474a7d
@ -519,27 +519,3 @@ div#playground .code {
|
|||||||
div#playground .output {
|
div#playground .output {
|
||||||
height: 100px;
|
height: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* always show topbar for large screens */
|
|
||||||
@media screen and (min-width: 130ex) and (min-height: 300px) {
|
|
||||||
/* 130ex -> wide enough so that title isn't below buttons */
|
|
||||||
|
|
||||||
div#topbar.wide {
|
|
||||||
position: fixed;
|
|
||||||
z-index: 1;
|
|
||||||
top: 0;
|
|
||||||
width: 100%;
|
|
||||||
height: 63px;
|
|
||||||
border-bottom: 1px solid #B0BBC5;
|
|
||||||
}
|
|
||||||
|
|
||||||
div#page.wide {
|
|
||||||
position: fixed;
|
|
||||||
top: 64px; /* to match topbar */
|
|
||||||
bottom: 0px;
|
|
||||||
overflow: auto;
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user