mirror of
https://github.com/multipleof4/sune.git
synced 2026-01-14 08:38:00 +00:00
Feat: Apply Open Sans to UI/sidebars
This commit is contained in:
@@ -1,15 +1,20 @@
|
|||||||
:root{--safe-bottom:env(safe-area-inset-bottom)}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar-thumb{background:#e5e7eb;border-radius:999px}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}
|
:root{--safe-bottom:env(safe-area-inset-bottom)}
|
||||||
|
::-webkit-scrollbar{height:8px;width:8px}
|
||||||
|
::-webkit-scrollbar-thumb{background:#e5e7eb;border-radius:999px}
|
||||||
|
.no-scrollbar::-webkit-scrollbar{display:none}
|
||||||
|
.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}
|
||||||
html,body{overscroll-behavior-y:contain}
|
html,body{overscroll-behavior-y:contain}
|
||||||
.markdown-body{font-size:14px;line-height:1.6}.markdown-body pre{overflow:auto}
|
.markdown-body{font-size:14px;line-height:1.6}
|
||||||
|
.markdown-body pre{overflow:auto}
|
||||||
.markdown-body ul,.markdown-body ol{list-style:revert;padding-left:2em}
|
.markdown-body ul,.markdown-body ol{list-style:revert;padding-left:2em}
|
||||||
.msg-bubble{overflow-x:auto}
|
.msg-bubble{overflow-x:auto}
|
||||||
.msg-avatar{font-size:16px}
|
.msg-avatar{font-size:16px}
|
||||||
.menu-card{position:fixed;z-index:60;min-width:12rem;border-radius:0.75rem;border:1px solid #e5e7eb;background:#fff;box-shadow:0 10px 20px rgba(0,0,0,.08)}
|
.menu-card{position:fixed;z-index:60;min-width:12rem;border-radius:0.75rem;border:1px solid #e5e7eb;background:#fff;box-shadow:0 10px 20px rgba(0,0,0,.08)}
|
||||||
.menu-item{width:100%;text-align:left;padding:.5rem .75rem;font-size:0.875rem;display:flex;align-items:center;gap:.5rem}
|
.menu-item{width:100%;text-align:left;padding:.5rem .75rem;font-size:0.875rem;display:flex;align-items:center;gap:.5rem}
|
||||||
#htmlEditor,#extensionHtmlEditor,#jsonSchemaEditor{outline:none;white-space:pre!important;font-size:11px;line-height:1.5;}
|
#htmlEditor,#extensionHtmlEditor,#jsonSchemaEditor{outline:none;white-space:pre!important;font-size:11px;line-height:1.5}
|
||||||
:not(pre)>code{font-size:85%;padding:.2em .4em;margin:0;border-radius:6px;background-color:rgba(175,184,193,0.2)}
|
:not(pre)>code{font-size:85%;padding:.2em .4em;margin:0;border-radius:6px;background-color:rgba(175,184,193,0.2)}
|
||||||
|
|
||||||
/* UI + sidebars use Mozilla Text (chat markdown keeps default) */
|
/* UI + sidebars use Open Sans (chat markdown keeps default GitHub Markdown font) */
|
||||||
body,
|
body,
|
||||||
#topbar,
|
#topbar,
|
||||||
#footer,
|
#footer,
|
||||||
@@ -26,6 +31,6 @@ body,
|
|||||||
button,
|
button,
|
||||||
input,
|
input,
|
||||||
select,
|
select,
|
||||||
textarea {
|
textarea{
|
||||||
font-family:'Mozilla Text',system-ui,-apple-system,BlinkMacSystemFont,'SF Pro Text','Segoe UI',sans-serif;
|
font-family:'Open Sans',system-ui,-apple-system,BlinkMacSystemFont,'SF Pro Text','Segoe UI',sans-serif;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user