AtlasOfLivingAustralia / webapi

Atlas Web service API app
https://api.ala.org.au
1 stars 6 forks source link

Individual service hash "links" require offset due to ALA banner #21

Closed nickdos closed 4 years ago

nickdos commented 5 years ago

Each service on https://api.ala.org.au/ has a clickable link that uses a hashtag to allow that service to be bookmarked or linked to an email, et al. The links have the format #ws112. The ALA banner is now static and therefore the link action needs an offset so the service is not obscured by the banner.

See ALA WP site or biocache-hubs record page views which do this. E.g. something like:

:target::before {
  content:"";
  display:block;
  height:120px; /* fixed header height*/
  margin:-120px 0 0; /* negative fixed header height */
}
nickdos commented 5 years ago

First task is now obsolete because the new ALA skin no longer always shows the header at top of the page.

Second task is still useful to do. @Rita-C ? E.g. https://api-test.ala.org.au/#ws72 should open/expand that entry