Restyle welcome

60fef3ee99705be644c25e578b666344af8af81d

Cohee <18619528+Cohee1207@users.noreply.github.com>

3 files changed, +81 -78Ignore whitespace
public/script.js+2 -2
@@ -658,7 +658,7 @@ async function getSystemMessages() {
658658 is_user: false,
659659 is_system: true,
660660 uses_system_ui: true,
661661 mes: await renderTemplateAsync('welcome', { displayVersion } ),
662662 },
663663 group: {
664664 name: systemUserName,
@@ -9106,7 +9106,7 @@ function doDrawerOpenClick() {
91069106 const drawer = $(`#${targetDrawerID}`);
91079107 const drawerToggle = drawer.find('.drawer-toggle');
91089108 const drawerWasOpenAlready = drawerToggle.parent().find('.drawer-content').hasClass('openDrawer');
91099109 if (drawerWasOpenAlready || drawer.hasClass('resizing') ) { return; }
91109110 doNavbarIconClick.call(drawerToggle);
91119111}
91129112
public/scripts/templates/welcome.html+73 -76
@@ -1,95 +1,92 @@
11<h3>
22 <span id="version_display_welcome">{{displayVersion}}</span>
33</h3>
44<a href="https://docs.sillytavern.app/usage/update/" target="_blank" data-i18n="Want to update?">
55 Want to update?
66</a>
7-<hr>
87<h3 data-i18n="How to start chatting?">How to start chatting?</h3>
98<ol>
109 <li>
1110 <span data-i18n="Click _space">Click </span>
1211 <button class="menu_button menu_button_icon drawer-opener inline-flex" data-target="sys-settings-button">
1312 <i class="fa-solid fa-plug"></i>
1413 <span data-i18n="[title]API Connections">API Connections</span>
1514 </button>
1615 <span data-i18n="and selectconnect ato an">and selectconnect ato an</span>
1716 <a href="https://docs.sillytavern.app/usage/api-connections/" target="_blank">
1817 <span class="fa-solid fa-circle-question"></span>
1918 <span data-i18n="Chat API">Chat API</span></a>.
2019 </li>
2120 <li>
2221 <span data-i18n="Click _space">Click </span>
2322 <button class="menu_button menu_button_icon drawer-opener inline-flex" data-target="rightNavHolder">
2423 <i class="fa-solid fa-address-card"></i>
2524 <span data-i18n="[title]Character Management">Character Management</span>
2625 </button>
2726 <span data-i18n="and pick a character."> and pick a character.</span>
2827 </li>
2928</ol>
3029
3130<pdiv>
3231 <span data-i18n="You can add more">You can add more</span>
3332 <button class="open_characters_library menu_button menu_button_icon inline-flex">
3433 <i class="fa-solid fa-image-portrait"></i>
3534 <span data-i18n="Sample characters">Sample characters</span>
3635 </button>
3736 <span data-i18n="or">or</span>
3837 <button class="external_import_button menu_button menu_button_icon inline-flex">
3938 <i class="fa-solid fa-cloud-arrow-down"></i>
4039 <span data-i18n="Import Characters">Import characters</span>
4140 </button>
4241 <span data-i18n="from other websites">from other websites.</span>
43-
42+</div>
44- <span data-i18n="Go to the">Go to the</span>
43+<div>
44+ <span data-i18n="Go to the">Go to the</span>
4545
4646 <i data-i18n="Download Extensions & Assets">Download Extensions & Assets</i>
4747 <span data-i18n="menu within">menu within</span>
4848
4949 <button class="menu_button menu_button_icon drawer-opener inline-flex" data-target="extensions-settings-button">
5050 <i class="fa-solid fa-cubes"></i>
5151 <span data-i18n="[title]Extensions">Extensions</span>
5252 </button>
5353
5454 <span data-i18n="to install additional features.">to install additional features.</span>
5555</pdiv>
5656
57-<hr>
5857<h3 data-i18n="Confused or lost?">Confused or lost?</h3>
5958<ul>
6059 <li>
6160 <span class="note-link-span"><a class="fa-solid fa-circle-question" target="_blank"
6261 href="https://docs.sillytavern.app/"></a></span> - <span data-i18n="click these icons!">click these
63- data-i18n="click these icons!">click these icons!</span>
62+ icons!</span>
6463 </li>
6564 <li>
6665 <span data-i18n="Enter">Enter </span><code>/?</code><span data-i18n="in the chat bar"> in the chat bar</span>
6766 </li>
6867 <li>
6968 <a target="_blank" href="https://docs.sillytavern.app/" data-i18n="SillyTavern Documentation Site">
7069 SillyTavern Documentation Site
7170 </a>
7271 </li>
7372</ul>
7473
75-<hr>
7674<h3 data-i18n="Still have questions?">Still have questions?</h3>
7775<ul>
7876 <li>
7977 <a target="_blank" href="https://discord.gg/sillytavern" data-i18n="Join the SillyTavern Discord">
8078 Join the SillyTavern Discord
8179 </a>
8280 </li>
8381 <li>
8482 <a target="_blank" href="https://github.com/SillyTavern/SillyTavern/issues" data-i18n="Post a GitHub issue">
8583 Post a GitHub issue
8684 </a>
8785 </li>
8886 <li>
8987 <a target="_blank" href="https://github.com/SillyTavern/SillyTavern#questions-or-suggestions"
9088 data-i18n="Contact the developers">
9189 Contact the developers
9290 </a>
9391 </li>
9492</ul>
95-
public/style.css+6 -0
@@ -314,6 +314,12 @@ input[type='checkbox']:focus-visible {
314314 display: inline-block;
315315}
316316
317+.mes_text ol,
318+.mes_text ul {
319+ margin-top: 5px;
320+ margin-bottom: 5px;
321+}
322+
317323.mes_text br,
318324.mes_bias br {
319325 content: ' ';