Typographic transforms (---, quote pairs, ~) no longer touch verbatim text: @c/@code/@source_listing content and ^'...'^ spans show exactly the characters written. "^" before any punctuation character quotes it in every target (the apostrophe excepted: ^' opens a literal span), with the new :resolve option on @@@target declaring per-target renderings. The ^UUUU^ code-point form accepts 4-6 hex digits, the full Unicode range. The html output and transform spellings are polyglot (XML-valid), in preparation for an EPUB target. New suites: transform_test, character_test (engine), typography_test (SKS). (from dev 07ce5ea86a0a)
194 lines
3.2 KiB
CSS
194 lines
3.2 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;
|
|
}
|
|
|
|
.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;
|
|
}
|