Skip to content
Snippets Groups Projects
Commit 315a8aad authored by DCoded's avatar DCoded
Browse files

Italicized slave reaction

parent 2845a95a
No related branches found
No related tags found
1 merge request!10530Italicized slave reaction
/* Styles that mainly affect how text looks, but not where it is */ /* Styles that mainly affect how text looks, but not where it is */
/* setting at the beginning of a scene / subscene */ .scene-intro, /* setting at the beginning of a scene / subscene */
.scene-intro { .detail, /* adds detail to an option: Do something. <span class="detail">Sentence that explains the effect/conditions */
font-style: italic; .note, /* additional information not related to a specific option */
} .italics {
/* 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 {
font-style: italic; font-style: italic;
} }
......
...@@ -131,7 +131,7 @@ App.UI.SlaveInteract.useSlave = function(slave) { ...@@ -131,7 +131,7 @@ App.UI.SlaveInteract.useSlave = function(slave) {
available.forEach((e) => links.push(App.UI.DOM.link(e.link, () => { available.forEach((e) => links.push(App.UI.DOM.link(e.link, () => {
div.innerHTML = e.desc; 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(); e.effect();
if (V.debugMode) { if (V.debugMode) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment