This page doesn't include the usual setup of js and css files of other NetrunnerDB pages. Instead, it includes only the files that some external page may want to include to add some features.
- include the following CSS files
- include the following JS files
- add links pointing to NetrunnerDB pages, like Noise: Hacker Extraordinaire or The Toolbox
All the code from nrdb.*.js lives in the NRDB namespace and uses jQuery in noConflict mode (like this page).
Execute NRDB.tip.set_hide_event('unfocus') in the js console to have the tooltips stay on the screen. That should help you style them.
Warning: style.css adds styling to all .icon elements.
- the tooltip is div.qtip-nrdb
- the content is div.qtip-content
- the title is h4
- the line of info under the title is p.card-info
- the type in the info line is span.card-type
- the subtype in the info line is span.card-keywords
- the rest of the info line is span.card-prop
- the text of the card is div.card-text
- each line of text of the card is p
- the last line with influence and faction is p.card-faction