diff --git a/expose.h b/expose.h index 07d0fa72e..38a29e851 100644 --- a/expose.h +++ b/expose.h @@ -2,7 +2,7 @@ #include const int stop_token_max = 32; -const int ban_token_max = 40; +const int ban_token_max = 48; const int tensor_split_max = 16; const int logit_bias_max = 32; const int dry_seq_break_max = 24; diff --git a/klite.embd b/klite.embd index 12103784d..22af2bca0 100644 --- a/klite.embd +++ b/klite.embd @@ -185,6 +185,7 @@ Current version indicated by LITEVER below. #navbar { margin: 0px; + margin-left: -6px; } #navbar li { @@ -199,8 +200,9 @@ Current version indicated by LITEVER below. } #navbar li>a { - color: #ffffff; + color: #f2f2f2; font-weight: bold; + text-shadow: rgb(33, 33, 33); } .settingsmenu { @@ -1003,12 +1005,12 @@ Current version indicated by LITEVER below. .navbar .navbar-nav .nav-link:hover { border-radius: 5px; - background-color: #bababa; + background-color: #4db4ea; } body.connected .navbar .navbar-nav .nav-link:hover, .navbar .navbar-nav .nav-link.always-available:hover { - background-color: #98bcdb; + background-color: #4db4ea; } body .navbar .navbar-nav .dropdown-item.always-available { @@ -1021,7 +1023,7 @@ Current version indicated by LITEVER below. .navbar .navbar-nav .nav-link:focus { border-radius: 5px; - background-color: #bababa; + background-color: #4db4ea; } body.connected .navbar .navbar-nav .nav-link:focus, @@ -2033,6 +2035,7 @@ Current version indicated by LITEVER below. { padding-left: 6px; padding-right: 6px; + margin-top: 0px; } .corpostyleitem { @@ -2183,8 +2186,8 @@ Current version indicated by LITEVER below. .corpoleftpanel { - width:240px; - background-color: #f4f4f4; + width:256px; + background-color: #e2e5e6; padding-left: 8px; padding-right: 8px; transition: transform 0.3s ease; @@ -2200,12 +2203,13 @@ Current version indicated by LITEVER below. { display: flex; flex-direction: column; + margin-top: 16px; padding: 2px; } .corpo_leftpanel_btn { - padding: 6px; - margin: 4px; + padding: 4px; + margin: 2px; background: #f4f4f400; border:none; border-radius: 8px; @@ -2218,15 +2222,20 @@ Current version indicated by LITEVER below. text-overflow: ellipsis; display: inline-block; white-space: nowrap; + user-select: none; } .corpo_leftpanel_btn:hover { - background: #dddddd; + background: #9dcef5; background-repeat: no-repeat; background-position: 8px; background-size: 24px; } + .corpo_leftpanel_btn:active { + transform: translateY(1px); + } body.darkmode .corpo_leftpanel_btn:hover { + color: #76a8ee; background: #454545; background-repeat: no-repeat; background-position: 8px; @@ -2279,6 +2288,11 @@ Current version indicated by LITEVER below. } @media (max-width: 768px) { + .corpostylemain + { + margin-top: 0px; + } + .corpoleftpanel { position: fixed; left: 0; @@ -2306,7 +2320,7 @@ Current version indicated by LITEVER below. display: flex; justify-content: center; align-items: center; - height: 60vh; + height: 75vh; flex-direction: column; text-align: center; } @@ -2321,6 +2335,7 @@ Current version indicated by LITEVER below. overflow-y: auto; padding-left: 2px; padding-right: 2px; + margin-top: 12px; } .corpostyleinner { @@ -10896,8 +10911,11 @@ Current version indicated by LITEVER below. function simplemodexample() { - let simplemodscript = `// This mod changes your top menu to yellow color, then displays the current temperature setting as a popup\n\n`+ - `document.getElementById("topmenu").style.backgroundColor = 'yellow';\nalert("Congrats, your top menu turned yellow. Also, your temperature was " + localsettings.temperature);`; + let simplemodscript = `// This mod changes your top menu to a yellow gradient, then displays the current temperature setting as a popup\n` + +`\ndocument.getElementById("topmenu").style.backgroundImage = 'linear-gradient(90deg, #daa121, #daa121, #ac7a2e, #ac7a2e)';` + +`\ndocument.getElementById("topmenu").style.outline = '3px solid #daa121';` + +"\n" + +`alert("Congrats, your top menu turned yellow. Also, your temperature was " + localsettings.temperature);`; document.getElementById("inputboxcontainerinputarea").value = simplemodscript; } function apply_user_mod() @@ -16126,7 +16144,8 @@ Current version indicated by LITEVER below.
Context
Raw Editor
Light / Dark Theme
-
Quick Slot Load
+
Quick Slot Load
+
`; for(let i=0;i