diff options
author | smain@google.com <smain@google.com> | 2014-10-03 19:03:43 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-10-03 19:03:43 +0000 |
commit | c464dbc3b673010720e66d6a299dadb1dfaadab6 (patch) | |
tree | 09f78c5e256420aae40eadc03074ec6aa4dc7e12 /tools/droiddoc/templates-sdk/assets/css/default.css | |
parent | a45c2e5834ae6ff983e158c79f4fd65e09cdb766 (diff) | |
parent | 5e5f5b777414204cf600727662ac0f89de6f8211 (diff) | |
download | build-c464dbc3b673010720e66d6a299dadb1dfaadab6.zip build-c464dbc3b673010720e66d6a299dadb1dfaadab6.tar.gz build-c464dbc3b673010720e66d6a299dadb1dfaadab6.tar.bz2 |
am 5e5f5b77: am 7ddf7943: am 9a818f55: more fixes to scroll offset for the sticky header. This offsets the layout position of all <a name=""> tags so they naturally show up below the sticky nav bar... though this is only for API reference, which uses <a> tags as ancho
* commit '5e5f5b777414204cf600727662ac0f89de6f8211':
more fixes to scroll offset for the sticky header. This offsets the layout position of all <a name=""> tags so they naturally show up below the sticky nav bar... though this is only for API reference, which uses <a> tags as anchors for all API members. bug: 16924057
Diffstat (limited to 'tools/droiddoc/templates-sdk/assets/css/default.css')
-rw-r--r-- | tools/droiddoc/templates-sdk/assets/css/default.css | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/droiddoc/templates-sdk/assets/css/default.css b/tools/droiddoc/templates-sdk/assets/css/default.css index 75d932f..c650277 100644 --- a/tools/droiddoc/templates-sdk/assets/css/default.css +++ b/tools/droiddoc/templates-sdk/assets/css/default.css @@ -4203,6 +4203,14 @@ EndColorStr='#ececec'); z-index: 52; } +/* offset the <a name=""> tags in reference to account for sticky nav */ +body.reference a[name] { + visibility: hidden; + display: block; + position: relative; + top: -56px; +} + } |