Custom Theme css
-
I absolutely love the editor and functionality! Great plugin!
I’m trying to use a custom theme with custom CSS but can’t seem to get it to work properly. My custom CSS doesn’t override the selected theme and I’m not seeing any options for custom themes. I’ve dug around in the source files to try and find where these themes are being pulled from (thinking I could just paste my custom CSS in one of the existing themes) but wasn’t able to find it.
I’m able to get this to work no problem with the google code prettify plugin. I believe that I may be trying to do apples-to-oranges since I don’t completely understand how the prettifying works with Mivhak…
Here’s the custom CSS I’m trying to use:
.pln { color: #bd3613; } .str { color: #269186; } .kwd { color: #859900; } .com { color: #586175; font-style: italic; } .typ { color: #b58900; font-weight: bold;} .lit { color: #2aa198; } .pun { color: #839496; } .opn { color: #839496; } .clo { color: #839496; } .tag { color: #268bd2; } .atn { color: #586175; } .atv { color: #2aa198; } .dec { color: #268bd2; } .var { color: #268bd2; } .fun { color: #FF0000; } /* Put a border around prettyprinted code snippets. */ pre.prettyprint { background-color: #042029; padding: 10px; border: 1px solid #E1E1E8; border-radius: 4px; font-family: consolas,sans-serif;} /* Specify class=linenums on a pre to get line numbering */ ol.linenums { color: #4c666c; margin: 0 0 0 40px; } ol.linenums li { line-height: 18px; padding-left: 12px; }
- The topic ‘Custom Theme css’ is closed to new replies.