@ -1741,11 +1741,14 @@
}
[ data-words-content ] {
/ * Narrowed left margin band ( "estrechar" — was 3 . 5rem ) . Painted
* below as a soft silver strip with a 1px , slightly-stronger-silver
* right border ( fixed-tone notebook margin ) . The drag handle lives
* inside this band on hover . * /
--_words-gutter-size : 2 . 5rem ;
/ * Left margin : a thin silver band ( rail-width ) + breathing room
* ( rail-gap ) before the text , so the edit zone is NOT glued to the
* band . The band is painted below ; the gutter-size ( band + gap ) is
* the text inset . Fixed-tone notebook margin ; the drag handle floats
* in this gutter on hover . * /
--_words-rail-width : 1 . 25rem ;
--_words-rail-gap : 1 . 25rem ;
--_words-gutter-size : calc ( var ( --_words-rail-width ) + var ( --_words-rail-gap ) ) ;
/ * Starting baseline keeps the editor at a sensible height when
* empty ; max-block-size caps growth so long documents scroll
* INSIDE the content area instead of pushing the page . * /
@ -1762,16 +1765,16 @@
padding-inline-start : var ( --_words-gutter-size ) ;
padding-inline-end : var ( --_words-content-px ) ;
color : var ( --words-content-color ) ;
/ * Soft silver left margin band + 1px stronger-silver right border ,
* painted in the reserved gutter zone . Background only — does not
* disturb the contenteditable text / selection . * /
/ * Thin silver band ( rail-width ) with a 1px slightly-stronger right
* edge, then transparent through the gap to the text . Background
* only — does not disturb the contenteditable text / selection . * /
background-image : linear-gradient (
to right ,
var ( --words-rail-bg ) 0 ,
var ( --words-rail-bg ) calc ( var ( --_words- gutter-size ) - 1px ) ,
var ( --words-rail-border ) calc ( var ( --_words- gutter-size ) - 1px ) ,
var ( --words-rail-border ) var ( --_words- gutter-size ) ,
transparent var ( --_words- gutter-size )
var ( --words-rail-bg ) calc ( var ( --_words- rail-width ) - 1px ) ,
var ( --words-rail-border ) calc ( var ( --_words- rail-width ) - 1px ) ,
var ( --words-rail-border ) var ( --_words- rail-width ) ,
transparent var ( --_words- rail-width )
) ;
background-repeat : no-repeat ;
outline : none ;