♻️ refactor: 移除全局字体大小和标题大小设置,优化样式
This commit is contained in:
@@ -15,11 +15,7 @@
|
|||||||
"Sarasa Gothic SC", Consolas, "Cascadia Mono", "Cascadia Code",
|
"Sarasa Gothic SC", Consolas, "Cascadia Mono", "Cascadia Code",
|
||||||
"Fira Mono", "JetBrains Mono", "Liberation Mono", Menlo, Monaco,
|
"Fira Mono", "JetBrains Mono", "Liberation Mono", Menlo, Monaco,
|
||||||
"Courier New", monospace;
|
"Courier New", monospace;
|
||||||
--hustoj-global-font-size: 24px;
|
|
||||||
--hustoj-global-line-height: 1.6;
|
--hustoj-global-line-height: 1.6;
|
||||||
--hustoj-global-code-font-size: 24px;
|
|
||||||
--hustoj-global-heading-size: 24px;
|
|
||||||
--hustoj-global-subheading-size: 24px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui.header,
|
.ui.header,
|
||||||
@@ -45,7 +41,6 @@ h4,
|
|||||||
h5,
|
h5,
|
||||||
body {
|
body {
|
||||||
font-family: var(--hustoj-global-mono-font) !important;
|
font-family: var(--hustoj-global-mono-font) !important;
|
||||||
font-size: var(--hustoj-global-font-size) !important;
|
|
||||||
line-height: var(--hustoj-global-line-height);
|
line-height: var(--hustoj-global-line-height);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -59,7 +54,6 @@ a.black-link:hover {
|
|||||||
|
|
||||||
.font-content {
|
.font-content {
|
||||||
font-family: var(--hustoj-global-mono-font) !important;
|
font-family: var(--hustoj-global-mono-font) !important;
|
||||||
font-size: var(--hustoj-global-font-size) !important;
|
|
||||||
line-height: var(--hustoj-global-line-height);
|
line-height: var(--hustoj-global-line-height);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -68,20 +62,6 @@ a.black-link:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
h1,
|
h1,
|
||||||
.ui.header.huge,
|
|
||||||
.ui.header.large {
|
|
||||||
font-size: var(--hustoj-global-heading-size) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2,
|
|
||||||
h3,
|
|
||||||
h4,
|
|
||||||
h5,
|
|
||||||
.ui.header,
|
|
||||||
.ui.top.attached.block.header {
|
|
||||||
font-size: var(--hustoj-global-subheading-size) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ui.form textarea,
|
.ui.form textarea,
|
||||||
.ui.form select,
|
.ui.form select,
|
||||||
.ui.text.container,
|
.ui.text.container,
|
||||||
@@ -103,7 +83,6 @@ h5,
|
|||||||
.ace_line,
|
.ace_line,
|
||||||
.ace_text-layer {
|
.ace_text-layer {
|
||||||
font-family: var(--hustoj-global-mono-font) !important;
|
font-family: var(--hustoj-global-mono-font) !important;
|
||||||
font-size: var(--hustoj-global-font-size) !important;
|
|
||||||
line-height: var(--hustoj-global-line-height) !important;
|
line-height: var(--hustoj-global-line-height) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -129,19 +108,6 @@ code,
|
|||||||
.ace_gutter,
|
.ace_gutter,
|
||||||
.ace_line,
|
.ace_line,
|
||||||
.ace_text-layer {
|
.ace_text-layer {
|
||||||
font-size: var(--hustoj-global-font-size) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
pre,
|
|
||||||
code,
|
|
||||||
.ace_editor,
|
|
||||||
.ace_editor textarea,
|
|
||||||
.ace_content,
|
|
||||||
.ace_gutter,
|
|
||||||
.ace_line,
|
|
||||||
.ace_text-layer,
|
|
||||||
.sample-box code {
|
|
||||||
font-size: var(--hustoj-global-code-font-size) !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.padding {
|
.padding {
|
||||||
|
|||||||
Reference in New Issue
Block a user