gdritter repos when-computer / a76581d
some changes to generate script Getty Ritter 8 years ago
1 changed file(s) with 7 addition(s) and 3 deletion(s). Collapse all Expand all
1616
1717 (define stylesheet
1818 '((body
19 (font-family "fira, \"Arial\", \"Helvetica\", sans-serif")
19 (font-family "Palatino, \"Palatino Linotype\", \"Palatino LT STD\", \"Book Antiqua\", Georgia, serif")
20 ; (font-family "fira, \"Arial\", \"Helvetica\", sans-serif")
2021 (font-size 15pt)
2122 (background-color "#eeeeee")
2223 (counter-reset sidenote-counter))
2324
2425 ((= class all)
25 (width 600px)
26 (width 800px)
2627 (margin-left auto)
2728 (margin-right auto)
2829 (text-align center))
3132 (color "#0f0f0f"))
3233
3334 ((= class main)
35 (padding-right 25%)
3436 (text-align justify)
3537 (line-height 150%))
3638
6365 ((&& (= class sidenote-number:after) (= class sidenote:before))
6466 (content "counter(sidenote-counter) \" \"")
6567 (position relative)
66 (vertical-align baseline)
6768 (color "#ff0000"))
6869
6970 ((= class sidenote-number:after)
7071 (content "counter(sidenote-counter) \" \"")
7172 (top -0.5rem)
7273 (left -0.1rem)
74 (vertical-align super)
75 (font-size 70%)
76 (color "#ff0000")
7377 (font-size: 0.9rem))
7478
7579 ((= class sidenote:before)