X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=docs%2Fsite.css;h=3c81ebadbb4e0b05f3b6a65ab40642b5fc6dfdd1;hb=94647da23ed251ba0f1da8d155d2552680a4e9cf;hp=c9ac643c13dc221430c0396bde0e99dab0c68e51;hpb=144034416d8119387dbdc3ce689d7b9fa4b2a0ee;p=dygraphs.git diff --git a/docs/site.css b/docs/site.css index c9ac643..3c81eba 100644 --- a/docs/site.css +++ b/docs/site.css @@ -115,3 +115,33 @@ 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/9047703/fixed-position-navbar-obscures-anchors + */ +a[name] { + padding-top: 100px; /* matches body { padding-top } */ + margin-top: -100px; /* matches body { padding-top } */ + display: inline-block; /* required for webkit browsers */ +} +@media screen and (min-width: 768px) and (max-width: 992px) { + a[name] { + padding-top: 130px; /* matches body { padding-top } */ + margin-top: -130px; /* matches body { padding-top } */ + display: inline-block; /* required for webkit browsers */ + } +}