diff options
author | wouter <wouter@web> | 2014-03-01 10:43:02 -0400 |
---|---|---|
committer | admin <admin@branchable.com> | 2014-03-01 10:43:02 -0400 |
commit | 7d4496d5216fb4f56b49f712c808e660cd19389c (patch) | |
tree | 37a4d22b7c986da7faec477a650d8c7b4183d1d2 /doc/bugs | |
parent | 1c8983289e0ca4cb2cc797bf3591ae4933c2ddd7 (diff) | |
download | ikiwiki-7d4496d5216fb4f56b49f712c808e660cd19389c.tar ikiwiki-7d4496d5216fb4f56b49f712c808e660cd19389c.tar.gz |
add wishlist item
Diffstat (limited to 'doc/bugs')
-rw-r--r-- | doc/bugs/empty_div_element.mdwn | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/bugs/empty_div_element.mdwn b/doc/bugs/empty_div_element.mdwn new file mode 100644 index 000000000..7a196e438 --- /dev/null +++ b/doc/bugs/empty_div_element.mdwn @@ -0,0 +1,31 @@ +For some more flexibility in creating a stylesheet for ikiwiki, it would be nice if there were a few unused elements on the page that one can move around and assign content to using CSS. + +For instance, something like this: + + <div class='aux' id='aux1'></div> + <div class='aux' id='aux2'></div> + +etc. For bonus points, the number could be configurable. To avoid empty content, style.css should have something like this: + + .extra { + display: none; + } + +This can then be used to move things around. For instance, I have on my website's CSS stylesheet the following: + + #aux1 { + position: fixed; + width: 150px; + height: 150px; + bottom: 0px; + left: 0px; + background-image: url("wouter3.png"); + background-position: top right; + background-repeat: no-repeat; + background-origin: content-box; + display-block; + } + +which adds my hackergochi to the bottom left of the webpage, with some margin. + +I tried looking for something like this, but I couldn't find it. Perhaps I just didn't look in the right places, though; apologies if that is the case. |