Closed rbeezer closed 1 year ago
Eliminated all inline style for poems. Example:
http://mathbook.pugetsound.edu/beta/20180202-poem-css/poetry.html
These are examples prior to removal. So these are "before", and "after" can be obtained by just deleting the @style attribute:
@style
<div class="poem" style="display: table; width: auto; max-width: 100%; margin: 0 auto;">
<div class="poemtitle" style="font-weight: bold; text-align: center; font-size: 120%">
<div class="stanza" style="padding-bottom: 20px">
<div class="stanzatitle" style="font-weight: bold; text-align: center">
Used multiple times on a single line to achieve multiple levels of indentation:
<span class="tab" style="margin-left: 2em">
3x each, with XX = left, center, right:
<div class="poemauthorXX" style="font-style: italic; padding-bottom: 20px; text-align: XX" >
<!-- Hanging indentation for overly long lines --> <div class="poemlineXX" style="margin-left: 4em; text-indent: -4em; text-align: XX" >
We seem to have CSS for poems now.
Eliminated all inline style for poems. Example:
http://mathbook.pugetsound.edu/beta/20180202-poem-css/poetry.html
These are examples prior to removal. So these are "before", and "after" can be obtained by just deleting the
@style
attribute:Used multiple times on a single line to achieve multiple levels of indentation:
3x each, with XX = left, center, right:
3x each, with XX = left, center, right: