some changes to generate script
Getty Ritter
10 years ago
| 16 | 16 | |
| 17 | 17 | (define stylesheet |
| 18 | 18 | '((body |
| 19 |
(font-family " |
|
| 19 | (font-family "Palatino, \"Palatino Linotype\", \"Palatino LT STD\", \"Book Antiqua\", Georgia, serif") | |
| 20 | ; (font-family "fira, \"Arial\", \"Helvetica\", sans-serif") | |
| 20 | 21 | (font-size 15pt) |
| 21 | 22 | (background-color "#eeeeee") |
| 22 | 23 | (counter-reset sidenote-counter)) |
| 23 | 24 | |
| 24 | 25 | ((= class all) |
| 25 |
(width |
|
| 26 | (width 800px) | |
| 26 | 27 | (margin-left auto) |
| 27 | 28 | (margin-right auto) |
| 28 | 29 | (text-align center)) |
| 31 | 32 | (color "#0f0f0f")) |
| 32 | 33 | |
| 33 | 34 | ((= class main) |
| 35 | (padding-right 25%) | |
| 34 | 36 | (text-align justify) |
| 35 | 37 | (line-height 150%)) |
| 36 | 38 | |
| 63 | 65 | ((&& (= class sidenote-number:after) (= class sidenote:before)) |
| 64 | 66 | (content "counter(sidenote-counter) \" \"") |
| 65 | 67 | (position relative) |
| 66 | (vertical-align baseline) | |
| 67 | 68 | (color "#ff0000")) |
| 68 | 69 | |
| 69 | 70 | ((= class sidenote-number:after) |
| 70 | 71 | (content "counter(sidenote-counter) \" \"") |
| 71 | 72 | (top -0.5rem) |
| 72 | 73 | (left -0.1rem) |
| 74 | (vertical-align super) | |
| 75 | (font-size 70%) | |
| 76 | (color "#ff0000") | |
| 73 | 77 | (font-size: 0.9rem)) |
| 74 | 78 | |
| 75 | 79 | ((= class sidenote:before) |