@ -177,9 +177,54 @@
[ data-palabras-doc ] [ data-words-content ] [ data-archetype ] : focus-visible {
[ data-palabras-doc ] [ data-words-content ] [ data-archetype ] : focus-visible {
box-shadow : none ;
box-shadow : none ;
}
}
[ data-palabras-doc ] [ data-words-content ] : where ( h1 , h2 , h3 , p) {
[ data-palabras-doc ] [ data-words-content ] : where ( h1 , h2 , h3 , h4, h5 , h6 , p) {
margin-block : 0 0 . 6em ;
margin-block : 0 0 . 6em ;
}
}
/ * Editor headings adopt the theme ' s named heading scale ( ` --style-h { n } ` ) , so the
six levels render with the canonical typography ( the size hierarchy h1 → h6 ) .
Per-block overrides ( inline font-size / colour from the panel ) still win . * /
[ data-palabras-doc ] [ data-words-content ] h1 {
font-family : var ( --style-h1-font-family ) ;
font-size : var ( --style-h1-font-size ) ;
font-weight : var ( --style-h1-font-weight ) ;
line-height : var ( --style-h1-line-height ) ;
letter-spacing : var ( --style-h1-letter-spacing ) ;
}
[ data-palabras-doc ] [ data-words-content ] h2 {
font-family : var ( --style-h2-font-family ) ;
font-size : var ( --style-h2-font-size ) ;
font-weight : var ( --style-h2-font-weight ) ;
line-height : var ( --style-h2-line-height ) ;
letter-spacing : var ( --style-h2-letter-spacing ) ;
}
[ data-palabras-doc ] [ data-words-content ] h3 {
font-family : var ( --style-h3-font-family ) ;
font-size : var ( --style-h3-font-size ) ;
font-weight : var ( --style-h3-font-weight ) ;
line-height : var ( --style-h3-line-height ) ;
letter-spacing : var ( --style-h3-letter-spacing ) ;
}
[ data-palabras-doc ] [ data-words-content ] h4 {
font-family : var ( --style-h4-font-family ) ;
font-size : var ( --style-h4-font-size ) ;
font-weight : var ( --style-h4-font-weight ) ;
line-height : var ( --style-h4-line-height ) ;
letter-spacing : var ( --style-h4-letter-spacing ) ;
}
[ data-palabras-doc ] [ data-words-content ] h5 {
font-family : var ( --style-h5-font-family ) ;
font-size : var ( --style-h5-font-size ) ;
font-weight : var ( --style-h5-font-weight ) ;
line-height : var ( --style-h5-line-height ) ;
letter-spacing : var ( --style-h5-letter-spacing ) ;
}
[ data-palabras-doc ] [ data-words-content ] h6 {
font-family : var ( --style-h6-font-family ) ;
font-size : var ( --style-h6-font-size ) ;
font-weight : var ( --style-h6-font-weight ) ;
line-height : var ( --style-h6-line-height ) ;
letter-spacing : var ( --style-h6-letter-spacing ) ;
}
/ * Selection marker for the active / selected block — dotted ( NOT the solid focus
/ * Selection marker for the active / selected block — dotted ( NOT the solid focus
ring , which is suppressed above ) . Stamped by WordsActivate on the active
ring , which is suppressed above ) . Stamped by WordsActivate on the active
block element . * /
block element . * /