X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=docs%2Fsite.css;h=308ba7ad7b9fb1a6851a0768cb86a5bae6348112;hb=da2a028fc41e5573868358b3d9eda9826211d217;hp=c9ac643c13dc221430c0396bde0e99dab0c68e51;hpb=144034416d8119387dbdc3ce689d7b9fa4b2a0ee;p=dygraphs.git diff --git a/docs/site.css b/docs/site.css index c9ac643..308ba7a 100644 --- a/docs/site.css +++ b/docs/site.css @@ -32,7 +32,7 @@ body { } } @media screen and (min-width: 768px) and (max-width: 992px) { - /* The topnav drops down to the next line between these sizes. We must accomodate. */ + /* The topnav drops down to the next line between these sizes. We must accommodate. */ body { padding-top: 130px; } @@ -115,3 +115,40 @@ pre{ border-color: black; } +#current-release { + font-size: 18px; + background: #f9f9f9; + /* + padding: 10px 15px; + border: 1px dashed black; +*/ + display: table; + margin-bottom: 50px; +} +#current-release p:last-child { + margin-bottom: 0; +} + +/* When you visit dygraphs.com/options.html#errorBars, the fixed top nav + * obscures the top 100px of content for that anchor. This is a workaround. + * See http://stackoverflow.com/questions/10732690/offsetting-an-html-anchor-to-adjust-for-fixed-header + */ +a[name] { + display: block; + position: relative; + top: -100px; + visibility: hidden; +} +@media screen and (min-width: 768px) and (max-width: 992px) { + a[name] { + top: -130px; + } +} +a.link { + visibility: hidden; + text-decoration: none; + color: #777; +} +.option:hover a.link { + visibility: visible; +}