diff options
author | http://smcv.pseudorandom.co.uk/ <smcv@web> | 2014-06-29 18:08:21 -0400 |
---|---|---|
committer | admin <admin@branchable.com> | 2014-06-29 18:08:21 -0400 |
commit | 7fbc154c8ad90973d3ce2c03175f3125cd17552e (patch) | |
tree | 40aedecd523ea70f0d8a43ccacb518171f7a5b15 | |
parent | 3ac1a1b6373dda8846997847c9f31ca13da2fc52 (diff) | |
download | ikiwiki-7fbc154c8ad90973d3ce2c03175f3125cd17552e.tar ikiwiki-7fbc154c8ad90973d3ce2c03175f3125cd17552e.tar.gz |
the most common ikiwiki CSS trap
-rw-r--r-- | doc/plugins/contrib/album/discussion.mdwn | 9 |
1 files changed, 8 insertions, 1 deletions
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, |