My WordPress custom CSS

Posted for administrative use as well as archive/reference /* Customizations */ .site-title a { text-decoration: none; } .entry-content aside { font-style: italic; display: inline; } .entry-content .language-python, .entry-content .language-javascript { tab-size: 4; -moz-tab-size: 4; } .entry-content .language-sql, .entry-content .language-css { tab-size: 2; -moz-tab-size: 2; } .entry-content.category-transcript a { color: revert; } body.page-id-1388 { background: url('https://timecube.2enp.com/grid.gif'); } body.page-id-1388 #canvas, body.page-id-1388 #page{ background: revert; } /* undo weird Suki design choices …

WordPress: Restrict MathJax to a class

I write on a variety of topics, only some of which it's appropriate to have mathematical typesetting for. To avoid triggering a math rendering engine on unrelated use of $spurious dollar signs$, while activating it when $\text{necessary}\wedge\text{appropriate}$, I decided to restrict them to only elements with .language-mathjax. Here's how that's done: MathJax = { tex: { inlineMath: [ ['$', '$'] ] }, startup: { elements: ['.language-mathjax'] } }; I …