Protein dropcaps

Sunday, 12 August 2018

Protein dropcaps

To make a webpage stylish does not mean that it cannot be biochemically themed. In fact, to can have both thanks to protein dropcaps! using the protein alphabet made by Prof. Mark Howarth in Nature Structural and Molecular Biology in May 2015(available Here) in combination with a wee JS script I wrote you can be a stylish biochemist. The script along with documentation is available in my GitHub page: https://github.com/matteoferla/protein_alphabet_dropcaps.

It is an old school JS library that finds the first letter in a p-element after a H1 or at the top of a page. Herein I am using inline style for CSS (option C in the readme of the GitHub repo) as Blogger is rather unforging (switching to "compose" for example will alter the code, so I am publishing from HTML editor mode).

No comments:

Post a Comment