mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-13 23:52:29 +08:00
This commit is contained in:
parent
e4ab00df37
commit
bdab44366c
@ -29,6 +29,7 @@
|
|||||||
--b3-font-family-graph: mononoki;
|
--b3-font-family-graph: mononoki;
|
||||||
--b3-font-family-emoji: "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "Android Emoji";
|
--b3-font-family-emoji: "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "Android Emoji";
|
||||||
--b3-font-family-math: KaTeX_Math;
|
--b3-font-family-math: KaTeX_Math;
|
||||||
|
--b3-font-size: 14px;
|
||||||
|
|
||||||
/* 顶部工具栏 */
|
/* 顶部工具栏 */
|
||||||
--b3-toolbar-background: var(--b3-theme-surface);
|
--b3-toolbar-background: var(--b3-theme-surface);
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
--b3-font-family-graph: mononoki;
|
--b3-font-family-graph: mononoki;
|
||||||
--b3-font-family-emoji: "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "Android Emoji";
|
--b3-font-family-emoji: "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "Android Emoji";
|
||||||
--b3-font-family-math: KaTeX_Math;
|
--b3-font-family-math: KaTeX_Math;
|
||||||
|
--b3-font-size: 14px;
|
||||||
|
|
||||||
/* 顶部工具栏 */
|
/* 顶部工具栏 */
|
||||||
--b3-toolbar-background: var(--b3-theme-surface);
|
--b3-toolbar-background: var(--b3-theme-surface);
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
font-size: var(--b3-font-size);
|
||||||
|
|
||||||
&--open {
|
&--open {
|
||||||
.b3-dialog__scrim {
|
.b3-dialog__scrim {
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
background-color: var(--b3-menu-background);
|
background-color: var(--b3-menu-background);
|
||||||
padding: 8px 0;
|
padding: 8px 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
font-size: var(--b3-font-size);
|
||||||
|
|
||||||
&::-webkit-scrollbar,
|
&::-webkit-scrollbar,
|
||||||
&__submenu::-webkit-scrollbar {
|
&__submenu::-webkit-scrollbar {
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
transition: transform 256ms cubic-bezier(.45, .05, .55, .95) 0ms;
|
transition: transform 256ms cubic-bezier(.45, .05, .55, .95) 0ms;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
font-size: var(--b3-font-size);
|
||||||
|
|
||||||
&--hide {
|
&--hide {
|
||||||
transform: translate3d(calc(20vw + 48px), 0, 0);
|
transform: translate3d(calc(20vw + 48px), 0, 0);
|
||||||
|
@ -13,7 +13,6 @@ body {
|
|||||||
text-rendering: optimizeLegibility;
|
text-rendering: optimizeLegibility;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-family: var(--b3-font-family);
|
font-family: var(--b3-font-family);
|
||||||
font-size: 14px;
|
|
||||||
color: var(--b3-theme-on-background);
|
color: var(--b3-theme-on-background);
|
||||||
background-color: var(--b3-theme-background);
|
background-color: var(--b3-theme-background);
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
@ -23,6 +22,11 @@ body {
|
|||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
|
// body 使用字号导致显示不全 https://github.com/siyuan-note/siyuan/issues/11670#issuecomment-2282329358
|
||||||
|
& > #dockBottom, & > .fn__flex-1 {
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
&.body--blur {
|
&.body--blur {
|
||||||
.toolbar {
|
.toolbar {
|
||||||
background: var(--b3-toolbar-blur-background);
|
background: var(--b3-toolbar-blur-background);
|
||||||
|
Loading…
Reference in New Issue
Block a user