增加通用工作区样式。
This commit is contained in:
parent
05bceaeb06
commit
6bf52c603a
@ -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);
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user