~singpolyma/post-part

382720ebf59a390eeb354a92ed4a7472a33fa2b2 — Stephen Paul Weber 2 years ago 8bb2074
Footnote styling
2 files changed, 14 insertions(+), 3 deletions(-)

M index.scss
M index.slim
M index.scss => index.scss +8 -0
@@ 251,6 251,14 @@ body > small {
		}
		p:after { content: "”"; }
		&:last-of-type p:after { content: ""; }

		cite {
			display: block;
			font-style: normal;
			color: $fg-alt;
			font-size: 0.9em;
			margin-top: 1.5em;
		}
	}

	&.js figure {

M index.slim => index.slim +6 -3
@@ 49,9 49,12 @@ html
						h1= transcripts[n-1].shift
						p
							- transcripts[n-1].each_with_index do |t, i|
								- if i > 0
								  br
								= t
								- if t[0] == "*"
									cite= t
								- else
									- if i > 0
									  br
									= t
					audio controls="controls"
						source src="assets/audio/#{n}.opus" type="audio/ogg; codecs=opus"
						source src="assets/audio/#{n}.mp3" type="audio/mpeg"