diff --git a/css/general/formatting.css b/css/general/formatting.css index 0d8c5e989fb7e03990bf3830f5389f931dfd25fc..3eb42a3216dc9d86441127e98cad0a91a6eb2696 100644 --- a/css/general/formatting.css +++ b/css/general/formatting.css @@ -1,17 +1,9 @@ /* Styles that mainly affect how text looks, but not where it is */ -/* setting at the beginning of a scene / subscene */ -.scene-intro { - font-style: italic; -} - -/* adds detail to an option: Do something. <span class="detail">Sentence that explains the effect/conditions */ -.detail { - font-style: italic; -} - -/* additional information not related to a specific option */ -.note { +.scene-intro, /* setting at the beginning of a scene / subscene */ +.detail, /* adds detail to an option: Do something. <span class="detail">Sentence that explains the effect/conditions */ +.note, /* additional information not related to a specific option */ +.italics { font-style: italic; } diff --git a/src/interaction/useSlave/useSlave.js b/src/interaction/useSlave/useSlave.js index 88f5458a94ce5f279bd08793041dbffc22007098..9e7210363f0cfb072787bc44ca257cfbdca981e6 100644 --- a/src/interaction/useSlave/useSlave.js +++ b/src/interaction/useSlave/useSlave.js @@ -131,7 +131,7 @@ App.UI.SlaveInteract.useSlave = function(slave) { available.forEach((e) => links.push(App.UI.DOM.link(e.link, () => { div.innerHTML = e.desc; - div.append(App.UI.DOM.makeElement("div", e.reaction, ['indent'])); + div.append(App.UI.DOM.makeElement("div", e.reaction, ['indent', 'italics'])); e.effect(); if (V.debugMode) {