增加通用工作区样式。

This commit is contained in:
徐涛 2024-12-30 16:41:53 +08:00
parent 05bceaeb06
commit 6bf52c603a
2 changed files with 24 additions and 1 deletions

View File

@ -16,6 +16,29 @@
flex: 1 1;
}
.workspace {
height: 100%;
width: 100%;
overflow: hidden;
display: flex;
align-items: stretch;
gap: var(--spacing-m);
padding: var(--spacing-m) var(--spacing-xl);
header {
display: flex;
flex-direction: column;
gap: var(--spacing-xs);
line-height: 1.3em;
h3 {
font-size: var(--font-size-xl);
}
p {
font-size: var(--font-size-xs);
color: var(--color-neutral-focus);
}
}
}
/* 按钮默认样式 */
:where(button, .button) {
--button-neutral-bg: var(--color-neutral);

View File

@ -50,7 +50,7 @@
background-color: var(--color-bg);
}
:where(h1, h2, h3, h4, h5, h6) {
:where(h1, h2, h3, h4, h5, h6, p) {
margin: 0;
padding: 0;
}