1. 风格特点
:root {
--h1-bg: var(--wewrite-primary);
--h1-color: white;
--h1-margin: 1rem;
}
2. Heading
h1 .wewrite-heading-outbox {
margin: 0 auto;
padding: 0.5rem 1rem;
border-radius: 8px;
}
:root {
--h2-bg: rgb(236, 68, 68);
--h2-color: white;
--h2-border-bottom-color: var(--h2-bg);
--h2-border-bottom-width: 2px;
--h2-border-bottom-style: solid;
--h2-outbox-padding:0;
--h2-leaf-padding: 1rem;
--h2-outbox-radius: 0.5rem;
--h2-tail-display: inline-block;
--h2-tail-shadow-height:2.7rem;
--h2-tail-shadow-width:1.8rem;
--h2-tail-shadow-color: rgba(32, 45, 99,0.3);
--strong-color: rgb(236, 68, 68);
}
:root {
--h3-border-bottom-color: var(--h3-bg);
--h3-border-bottom-width: 2px;
--h3-border-bottom-style: solid;
--h3-outbox-padding:0;
}
:root {
--h4-bg: var(--wewrite-primary);
--h4-color: white;
--h4-border-bottom-color: var(--h4-bg);
--h4-border-bottom-width: 2px;
--h4-border-bottom-style: solid;
--h4-outbox-padding:0;
--h4-leaf-padding: 1rem;
--h4-outbox-radius: 0.5rem;
--h4-tail-display: inline-block;
--h4-tail-shadow-height:2rem;
--h4-tail-shadow-width:1.1rem;
--h4-tail-shadow-color: rgb(239, 235, 233);
--h4-margin: 1rem 0;
}