From: http://smcv.pseudorandom.co.uk/ Date: Sun, 29 Jun 2014 22:08:21 +0000 (-0400) Subject: the most common ikiwiki CSS trap X-Git-Tag: debian/3.20140815~28^2~61 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/7fbc154c8ad90973d3ce2c03175f3125cd17552e?hp=3ac1a1b6373dda8846997847c9f31ca13da2fc52 the most common ikiwiki CSS trap --- diff --git a/doc/plugins/contrib/album/discussion.mdwn b/doc/plugins/contrib/album/discussion.mdwn index 9d172a277..fc4fd32f4 100644 --- a/doc/plugins/contrib/album/discussion.mdwn +++ b/doc/plugins/contrib/album/discussion.mdwn @@ -604,9 +604,16 @@ immediately obvious from the diff), and integrate some or all of your changes. Since Joey shows no signs of wanting to merge it, and "out of tree" installation is currently a pain, I might split out the CSS changes into a separate `ikiwiki/album.css` so that the only thing that needs to be merged -into style.css and each theme (or into local.css) is an appropriate +into style.css (or into local.css) is an appropriate `@import` rule. +It shouldn't be necessary to add the album stuff to each individual +theme's style.css unless you actually want an actiontabs album and +a blueview album to be styled differently, because the IkiWiki Makefile +concatenates them: for instance, `/usr/share/ikiwiki/themes/actiontabs/style.css` +is the output of `cat doc/style.css themes/actiontabs/style.css`. So adding it +to `style.css` should be enough? + Regarding commit `Change the default thumbnail size`: as far as I understand it, `size => 96x96` is meant to set the image size to be as large as possible given these constraints: width ≤ 96px,