Welcome to the Genome Toolbox! I am glad you navigated to the blog and hope you find the contents useful and insightful for your genomic needs. If you find any of the entries particularly helpful, be sure to click the +1 button on the bottom of the post and share with your colleagues. Your input is encouraged, so if you have comments or are aware of more efficient tools not included in a post, I would love to hear from you. Enjoy your time browsing through the Toolbox.

Wednesday, May 8, 2013

Customize Gists

Setting up this blog, I knew I would be including a lot of code snippets into the postings.  GitHub gists seemed like a good option for easily embedding, formatting, and color-coding my code snippets.  The color scheme of the embedded gists somewhat clashed with my blog color scheme and the formatting of the gists made the blog posts look a bit busy.  After some searching, I found and modified some CSS code to give the embedded gists a cleaner look and mesh better with the overall design of the blog.  There seems to be a lot of options of which I only used a small subset.  It is essential to include “!important” after each CSS attribute, since the gist stylesheet will be loaded after your site's stylesheet, giving the gist stylesheet priority over your styles, unless you use the “!important”.

No comments:

Post a Comment