kdesc --katoms is Klammertext rendered from ref/, the types in titled groups, with --katoms full for the regex column. @table :leading L is L lines of the surrounding text in html as in pdf (default 1), and :rulesep spaces the horizontal rules. The html table has one style attribute, so :column_width fractions take effect again. @code and @source_listing render in plain text; captions are numbered per kind there, and a table needs no blank line around it. @c takes :nd, and an option-shaped word before a bar inside literal code is code. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
206 lines
3.5 KiB
CSS
206 lines
3.5 KiB
CSS
|
|
.unpad {
|
|
padding: 0px;
|
|
margin: 0px;
|
|
}
|
|
|
|
.rborder {
|
|
border-right: 1px;
|
|
border-color: black;
|
|
}
|
|
|
|
.outline {
|
|
border: solid black 1px;
|
|
padding: .5em 1em;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
/* -------------------------------------------------------------------------------- */
|
|
|
|
.bgap {
|
|
margin-bottom: .5rem;
|
|
}
|
|
|
|
.tgap {
|
|
margin-top: .5rem;
|
|
}
|
|
|
|
.lgap {
|
|
margin-left: .5rem;
|
|
margin-right: 1rem;
|
|
/* font-style: normal;*/
|
|
text-align: left;
|
|
}
|
|
|
|
.rgap {
|
|
margin-left: 1rem;
|
|
margin-right: .5rem;
|
|
/*font-style: normal;*/
|
|
text-align: left;
|
|
}
|
|
|
|
/*
|
|
.mno {
|
|
margin-top: 1rem;
|
|
margin-bottom: 1.5rem;
|
|
padding-top: .5rem;
|
|
}
|
|
*/
|
|
|
|
.mbot {
|
|
margin-top: .75rem;
|
|
margin-bottom: .5rem;
|
|
padding-top: .5rem;
|
|
|
|
}
|
|
|
|
.mtop {
|
|
margin-top: .5rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
/*
|
|
.ebot {
|
|
margin-bottom: 1.5rem;
|
|
margin-top: 1.5rem;
|
|
}
|
|
*/
|
|
|
|
.caption {
|
|
line-height: 1.3;
|
|
/* text-align: center; */
|
|
}
|
|
|
|
.caption_text {
|
|
text-align: center;
|
|
/* padding-left: 15px;
|
|
padding-right: 15px;
|
|
*/
|
|
line-height: 1.2;
|
|
margin-top: .5rem;
|
|
}
|
|
|
|
.caption_bottom {
|
|
display: inline-flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.caption_bottom .caption {
|
|
font-style: italic;
|
|
text-align: center;
|
|
}
|
|
|
|
.caption_top {
|
|
display: inline-flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.caption_top .caption {
|
|
font-style: italic;
|
|
}
|
|
|
|
/* A caption flush with its element's left edge (html_util.add_caption,
|
|
caption_align "left"): @code's caption when the listing is placed left,
|
|
as the tex target sets it. AFTER the two rules above, which it must
|
|
override at equal specificity. */
|
|
.caption_flush_left {
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.caption_flush_left .caption {
|
|
text-align: left;
|
|
}
|
|
|
|
.caption_left {
|
|
display: inline-flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
margin: .75rem 0 .75rem 0;
|
|
}
|
|
|
|
.caption_right {
|
|
display: inline-flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
margin: .75rem 0 .75rem 0;
|
|
}
|
|
|
|
.element_container {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.element_left {
|
|
display: inline-block;
|
|
}
|
|
|
|
.wraparound {
|
|
display: inline;
|
|
}
|
|
|
|
.hpos_left {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: left;
|
|
}
|
|
|
|
.hpos_center {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.hpos_right {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: right;
|
|
}
|
|
|
|
.hpos_none {
|
|
display: inline-flex;
|
|
}
|
|
|
|
/* A length :hpos; the margin-left comes as an inline style. */
|
|
.hpos_indent {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: left;
|
|
}
|
|
|
|
/* Retired 2026-08-03: this fixed 1em on every left- and right-placed
|
|
element was the :offset argument, hard coded and only in html -- the tex
|
|
side had no counterpart, so the two targets disagreed. It is now the
|
|
offset_length argtype (sks/kutil/kutil.k), applied by
|
|
html_util.hpos_container and latex_util.caption_wrapper. A document
|
|
that wants the old inset writes ":offset", whose alone value is the
|
|
standard indentation.
|
|
.hpos_margin {
|
|
margin: 0 1em 0 1em;
|
|
}
|
|
*/
|
|
|
|
.footnote_in_text {
|
|
vertical-align: baseline;
|
|
position: relative;
|
|
top: -0.4em;
|
|
font-size: 70%;
|
|
line-height: 0;
|
|
padding-left: 1px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.footnote_rule {
|
|
width: 40%;
|
|
margin: 3lh 0 .5lh 0;
|
|
border: none;
|
|
border-top: 1px solid black;
|
|
}
|