mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-10-29 21:50:16 +01:00
parent
19548482f1
commit
9f199c7a4c
BIN
css/NotoSans/NotoSans-Black.woff
Normal file
BIN
css/NotoSans/NotoSans-Black.woff
Normal file
Binary file not shown.
BIN
css/NotoSans/NotoSans-Black.woff2
Normal file
BIN
css/NotoSans/NotoSans-Black.woff2
Normal file
Binary file not shown.
BIN
css/NotoSans/NotoSans-BlackItalic.woff
Normal file
BIN
css/NotoSans/NotoSans-BlackItalic.woff
Normal file
Binary file not shown.
BIN
css/NotoSans/NotoSans-BlackItalic.woff2
Normal file
BIN
css/NotoSans/NotoSans-BlackItalic.woff2
Normal file
Binary file not shown.
BIN
css/NotoSans/NotoSans-Bold.woff
Normal file
BIN
css/NotoSans/NotoSans-Bold.woff
Normal file
Binary file not shown.
BIN
css/NotoSans/NotoSans-Bold.woff2
Normal file
BIN
css/NotoSans/NotoSans-Bold.woff2
Normal file
Binary file not shown.
BIN
css/NotoSans/NotoSans-BoldItalic.woff
Normal file
BIN
css/NotoSans/NotoSans-BoldItalic.woff
Normal file
Binary file not shown.
BIN
css/NotoSans/NotoSans-BoldItalic.woff2
Normal file
BIN
css/NotoSans/NotoSans-BoldItalic.woff2
Normal file
Binary file not shown.
BIN
css/NotoSans/NotoSans-ExtraBold.woff
Normal file
BIN
css/NotoSans/NotoSans-ExtraBold.woff
Normal file
Binary file not shown.
BIN
css/NotoSans/NotoSans-ExtraBold.woff2
Normal file
BIN
css/NotoSans/NotoSans-ExtraBold.woff2
Normal file
Binary file not shown.
BIN
css/NotoSans/NotoSans-ExtraBoldItalic.woff
Normal file
BIN
css/NotoSans/NotoSans-ExtraBoldItalic.woff
Normal file
Binary file not shown.
BIN
css/NotoSans/NotoSans-ExtraBoldItalic.woff2
Normal file
BIN
css/NotoSans/NotoSans-ExtraBoldItalic.woff2
Normal file
Binary file not shown.
BIN
css/NotoSans/NotoSans-ExtraLight.woff
Normal file
BIN
css/NotoSans/NotoSans-ExtraLight.woff
Normal file
Binary file not shown.
BIN
css/NotoSans/NotoSans-ExtraLight.woff2
Normal file
BIN
css/NotoSans/NotoSans-ExtraLight.woff2
Normal file
Binary file not shown.
BIN
css/NotoSans/NotoSans-ExtraLightItalic.woff
Normal file
BIN
css/NotoSans/NotoSans-ExtraLightItalic.woff
Normal file
Binary file not shown.
BIN
css/NotoSans/NotoSans-ExtraLightItalic.woff2
Normal file
BIN
css/NotoSans/NotoSans-ExtraLightItalic.woff2
Normal file
Binary file not shown.
BIN
css/NotoSans/NotoSans-Italic.woff
Normal file
BIN
css/NotoSans/NotoSans-Italic.woff
Normal file
Binary file not shown.
BIN
css/NotoSans/NotoSans-Italic.woff2
Normal file
BIN
css/NotoSans/NotoSans-Italic.woff2
Normal file
Binary file not shown.
BIN
css/NotoSans/NotoSans-Light.woff
Normal file
BIN
css/NotoSans/NotoSans-Light.woff
Normal file
Binary file not shown.
BIN
css/NotoSans/NotoSans-Light.woff2
Normal file
BIN
css/NotoSans/NotoSans-Light.woff2
Normal file
Binary file not shown.
BIN
css/NotoSans/NotoSans-LightItalic.woff
Normal file
BIN
css/NotoSans/NotoSans-LightItalic.woff
Normal file
Binary file not shown.
BIN
css/NotoSans/NotoSans-LightItalic.woff2
Normal file
BIN
css/NotoSans/NotoSans-LightItalic.woff2
Normal file
Binary file not shown.
BIN
css/NotoSans/NotoSans-Medium.woff
Normal file
BIN
css/NotoSans/NotoSans-Medium.woff
Normal file
Binary file not shown.
BIN
css/NotoSans/NotoSans-Medium.woff2
Normal file
BIN
css/NotoSans/NotoSans-Medium.woff2
Normal file
Binary file not shown.
BIN
css/NotoSans/NotoSans-MediumItalic.woff
Normal file
BIN
css/NotoSans/NotoSans-MediumItalic.woff
Normal file
Binary file not shown.
BIN
css/NotoSans/NotoSans-MediumItalic.woff2
Normal file
BIN
css/NotoSans/NotoSans-MediumItalic.woff2
Normal file
Binary file not shown.
BIN
css/NotoSans/NotoSans-Regular.woff
Normal file
BIN
css/NotoSans/NotoSans-Regular.woff
Normal file
Binary file not shown.
BIN
css/NotoSans/NotoSans-Regular.woff2
Normal file
BIN
css/NotoSans/NotoSans-Regular.woff2
Normal file
Binary file not shown.
BIN
css/NotoSans/NotoSans-SemiBold.woff
Normal file
BIN
css/NotoSans/NotoSans-SemiBold.woff
Normal file
Binary file not shown.
BIN
css/NotoSans/NotoSans-SemiBold.woff2
Normal file
BIN
css/NotoSans/NotoSans-SemiBold.woff2
Normal file
Binary file not shown.
BIN
css/NotoSans/NotoSans-SemiBoldItalic.woff
Normal file
BIN
css/NotoSans/NotoSans-SemiBoldItalic.woff
Normal file
Binary file not shown.
BIN
css/NotoSans/NotoSans-SemiBoldItalic.woff2
Normal file
BIN
css/NotoSans/NotoSans-SemiBoldItalic.woff2
Normal file
Binary file not shown.
BIN
css/NotoSans/NotoSans-Thin.woff
Normal file
BIN
css/NotoSans/NotoSans-Thin.woff
Normal file
Binary file not shown.
BIN
css/NotoSans/NotoSans-Thin.woff2
Normal file
BIN
css/NotoSans/NotoSans-Thin.woff2
Normal file
Binary file not shown.
BIN
css/NotoSans/NotoSans-ThinItalic.woff
Normal file
BIN
css/NotoSans/NotoSans-ThinItalic.woff
Normal file
Binary file not shown.
BIN
css/NotoSans/NotoSans-ThinItalic.woff2
Normal file
BIN
css/NotoSans/NotoSans-ThinItalic.woff2
Normal file
Binary file not shown.
166
css/NotoSans/stylesheet.css
Normal file
166
css/NotoSans/stylesheet.css
Normal file
@ -0,0 +1,166 @@
|
||||
/*
|
||||
Copied from https://github.com/SillyTavern/SillyTavern/tree/6c8bd06308c69d51e2eb174541792a870a83d2d6/public/webfonts/NotoSans
|
||||
*/
|
||||
|
||||
@font-face {
|
||||
font-family: 'Noto Sans';
|
||||
src: url('file/css/NotoSans/NotoSans-Black.woff2') format('woff2'),
|
||||
url('file/css/NotoSans/NotoSans-Black.woff') format('woff');
|
||||
font-weight: 900;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Noto Sans';
|
||||
src: url('file/css/NotoSans/NotoSans-ExtraBoldItalic.woff2') format('woff2'),
|
||||
url('file/css/NotoSans/NotoSans-ExtraBoldItalic.woff') format('woff');
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Noto Sans';
|
||||
src: url('file/css/NotoSans/NotoSans-BlackItalic.woff2') format('woff2'),
|
||||
url('file/css/NotoSans/NotoSans-BlackItalic.woff') format('woff');
|
||||
font-weight: 900;
|
||||
font-style: italic;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Noto Sans';
|
||||
src: url('file/css/NotoSans/NotoSans-ExtraBold.woff2') format('woff2'),
|
||||
url('file/css/NotoSans/NotoSans-ExtraBold.woff') format('woff');
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Noto Sans';
|
||||
src: url('file/css/NotoSans/NotoSans-ThinItalic.woff2') format('woff2'),
|
||||
url('file/css/NotoSans/NotoSans-ThinItalic.woff') format('woff');
|
||||
font-weight: 100;
|
||||
font-style: italic;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Noto Sans';
|
||||
src: url('file/css/NotoSans/NotoSans-BoldItalic.woff2') format('woff2'),
|
||||
url('file/css/NotoSans/NotoSans-BoldItalic.woff') format('woff');
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Noto Sans';
|
||||
src: url('file/css/NotoSans/NotoSans-Bold.woff2') format('woff2'),
|
||||
url('file/css/NotoSans/NotoSans-Bold.woff') format('woff');
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Noto Sans';
|
||||
src: url('file/css/NotoSans/NotoSans-LightItalic.woff2') format('woff2'),
|
||||
url('file/css/NotoSans/NotoSans-LightItalic.woff') format('woff');
|
||||
font-weight: 300;
|
||||
font-style: italic;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Noto Sans';
|
||||
src: url('file/css/NotoSans/NotoSans-Italic.woff2') format('woff2'),
|
||||
url('file/css/NotoSans/NotoSans-Italic.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Noto Sans';
|
||||
src: url('file/css/NotoSans/NotoSans-ExtraLightItalic.woff2') format('woff2'),
|
||||
url('file/css/NotoSans/NotoSans-ExtraLightItalic.woff') format('woff');
|
||||
font-weight: 200;
|
||||
font-style: italic;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Noto Sans';
|
||||
src: url('file/css/NotoSans/NotoSans-Light.woff2') format('woff2'),
|
||||
url('file/css/NotoSans/NotoSans-Light.woff') format('woff');
|
||||
font-weight: 300;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Noto Sans';
|
||||
src: url('file/css/NotoSans/NotoSans-ExtraLight.woff2') format('woff2'),
|
||||
url('file/css/NotoSans/NotoSans-ExtraLight.woff') format('woff');
|
||||
font-weight: 200;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Noto Sans';
|
||||
src: url('file/css/NotoSans/NotoSans-Medium.woff2') format('woff2'),
|
||||
url('file/css/NotoSans/NotoSans-Medium.woff') format('woff');
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Noto Sans';
|
||||
src: url('file/css/NotoSans/NotoSans-Regular.woff2') format('woff2'),
|
||||
url('file/css/NotoSans/NotoSans-Regular.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Noto Sans';
|
||||
src: url('file/css/NotoSans/NotoSans-MediumItalic.woff2') format('woff2'),
|
||||
url('file/css/NotoSans/NotoSans-MediumItalic.woff') format('woff');
|
||||
font-weight: 500;
|
||||
font-style: italic;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Noto Sans';
|
||||
src: url('file/css/NotoSans/NotoSans-SemiBoldItalic.woff2') format('woff2'),
|
||||
url('file/css/NotoSans/NotoSans-SemiBoldItalic.woff') format('woff');
|
||||
font-weight: 600;
|
||||
font-style: italic;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Noto Sans';
|
||||
src: url('file/css/NotoSans/NotoSans-SemiBold.woff2') format('woff2'),
|
||||
url('file/css/NotoSans/NotoSans-SemiBold.woff') format('woff');
|
||||
font-weight: 600;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Noto Sans';
|
||||
src: url('file/css/NotoSans/NotoSans-Thin.woff2') format('woff2'),
|
||||
url('file/css/NotoSans/NotoSans-Thin.woff') format('woff');
|
||||
font-weight: 100;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
@ -5,8 +5,7 @@
|
||||
grid-template-columns: 60px minmax(0, 1fr);
|
||||
padding-bottom: 28px;
|
||||
font-size: 18px;
|
||||
/*Change 'Quicksand' to a font you like or leave it*/
|
||||
font-family: Quicksand, Arial, sans-serif;
|
||||
font-family: 'Noto Sans', Arial, sans-serif;
|
||||
line-height: 1.428571429;
|
||||
}
|
||||
|
||||
@ -105,7 +104,7 @@
|
||||
grid-template-columns: 60px minmax(0, 1fr);
|
||||
padding-bottom: 25px;
|
||||
font-size: 15px;
|
||||
font-family: Helvetica, Arial, sans-serif;
|
||||
font-family: 'Noto Sans', Helvetica, Arial, sans-serif;
|
||||
line-height: 1.428571429;
|
||||
}
|
||||
|
||||
|
@ -3,8 +3,8 @@
|
||||
grid-template-columns: 60px minmax(0, 1fr);
|
||||
padding-bottom: 25px;
|
||||
font-size: 15px;
|
||||
font-family: Helvetica, Arial, sans-serif;
|
||||
line-height: 1.3333;
|
||||
font-family: 'Noto Sans', Helvetica, Arial, sans-serif;
|
||||
line-height: 23px !important;
|
||||
}
|
||||
|
||||
.circle-you {
|
||||
@ -46,7 +46,7 @@
|
||||
.message-body p {
|
||||
margin-bottom: 0 !important;
|
||||
font-size: 15px !important;
|
||||
line-height: 1.3333 !important;
|
||||
line-height: 23px !important;
|
||||
}
|
||||
|
||||
.dark .message-body p em {
|
||||
|
@ -1,7 +1,7 @@
|
||||
.message {
|
||||
padding-bottom: 25px;
|
||||
font-size: 15px;
|
||||
font-family: Helvetica, Arial, sans-serif;
|
||||
font-family: 'Noto Sans', Helvetica, Arial, sans-serif;
|
||||
line-height: 1.428571429;
|
||||
}
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
.message {
|
||||
padding-bottom: 25px;
|
||||
font-size: 15px;
|
||||
font-family: Helvetica, Arial, sans-serif;
|
||||
font-family: 'Noto Sans', Helvetica, Arial, sans-serif;
|
||||
line-height: 1.428571429;
|
||||
}
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
grid-template-columns: 60px 1fr;
|
||||
padding-bottom: 25px;
|
||||
font-size: 15px;
|
||||
font-family: Helvetica, Arial, sans-serif;
|
||||
font-family: 'Noto Sans', Helvetica, Arial, sans-serif;
|
||||
line-height: 1.428571429;
|
||||
}
|
||||
|
||||
|
@ -403,7 +403,7 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
|
||||
#show-controls {
|
||||
position: absolute;
|
||||
background-color: transparent;
|
||||
left: calc(100% - 175px);
|
||||
left: calc(100% - 178px);
|
||||
border: 0px;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
@ -8,8 +8,10 @@ import yaml
|
||||
from modules import shared
|
||||
|
||||
|
||||
with open(Path(__file__).resolve().parent / '../css/main.css', 'r') as f:
|
||||
with open(Path(__file__).resolve().parent / '../css/NotoSans/stylesheet.css', 'r') as f:
|
||||
css = f.read()
|
||||
with open(Path(__file__).resolve().parent / '../css/main.css', 'r') as f:
|
||||
css += f.read()
|
||||
with open(Path(__file__).resolve().parent / '../js/main.js', 'r') as f:
|
||||
js = f.read()
|
||||
with open(Path(__file__).resolve().parent / '../js/save_files.js', 'r') as f:
|
||||
@ -24,7 +26,7 @@ delete_symbol = '🗑️'
|
||||
save_symbol = '💾'
|
||||
|
||||
theme = gr.themes.Default(
|
||||
font=['Helvetica', 'ui-sans-serif', 'system-ui', 'sans-serif'],
|
||||
font=['Noto Sans', 'Helvetica', 'ui-sans-serif', 'system-ui', 'sans-serif'],
|
||||
font_mono=['IBM Plex Mono', 'ui-monospace', 'Consolas', 'monospace'],
|
||||
).set(
|
||||
border_color_primary='#c5c5d2',
|
||||
|
Loading…
Reference in New Issue
Block a user