]> sipb.mit.edu Git - ikiwiki.git/commitdiff
the most common ikiwiki CSS trap
authorhttp://smcv.pseudorandom.co.uk/ <smcv@web>
Sun, 29 Jun 2014 22:08:21 +0000 (18:08 -0400)
committeradmin <admin@branchable.com>
Sun, 29 Jun 2014 22:08:21 +0000 (18:08 -0400)
doc/plugins/contrib/album/discussion.mdwn

index 9d172a2775668615f83c3f822bce749e41a9458f..fc4fd32f4a80a999c82c7143c797ee2043cdad1a 100644 (file)
@@ -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
 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.
 
 `@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,
 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,