SugarCube supports passage tag based styling, which means you can use passage tags to influence which CSS is used to style any passage assigned a particular tag. This works because SugarCube assigns t
You will need to use Javascript to add the new area and the <a href="http://twinery.org/forum/discussion/5764/sugarcube-apply-html-code-on-every-passage" rel="nofollow" class=&q
etc...) so if you add your own new visible area (side-bar) outside one of the controlled ones then you will need to manually keep it up to date yourself, how much effect that takes depends on how you
By default SugarCube only automatically updates visible areas it controls (like .passage, <a href="/forum/search?Search=%23ui-bar&Mode=like">#ui-bar</a>, etc...) so if you ad
{<br />display: none;<br />}<br />body {<br />margin-left: 3.5em;<br />}<br />and after adding the javascript, the iu is gone, but the margin-left doesn't work. It
rel="nofollow" class="bbcode_url"">…/src/css/ui-bar.css, starting around line 195</a> for specifics).<br />To set the default stowed state of the UI bar, you w
<br />This gave me the white background and black text. This did NOT work for the ui-bar or CheckVars, however. So I fiddled a bit and came up with:<br /><pre><a href="/forum
HTML element.<br />You can do this either using the <a href="http://www.motoslave.net/sugarcube/2/docs/macros.html#macrocat-dom-classes" rel="nofollow" class="bbcode
and Setting.addToggle stuff but I don't know how to make it work.<br />I have tried the <a href="https://www.glorioustrainwrecks.com/node/5475" rel="nofollow" class="
element.<br />The placement of the <b><a href="/forum/search?Search=%23passage&Mode=like">#passage</a></b> element is controlled by the margins of the <
Doing via tags will only be temporary.<br />In SugarCube you can use the <<addclass>> macro for a more permanent solution as follows:<br /><pre> <a href="/forum/s