diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/sandbox.mdwn | 2 | ||||
-rw-r--r-- | doc/style.css | 10 | ||||
-rw-r--r-- | doc/todo/Print_link.mdwn | 2 |
3 files changed, 12 insertions, 2 deletions
diff --git a/doc/sandbox.mdwn b/doc/sandbox.mdwn index bd942a19f..25a099a12 100644 --- a/doc/sandbox.mdwn +++ b/doc/sandbox.mdwn @@ -1,5 +1,3 @@ -[[meta link="data:text/css,%23searchform%20%7Bdisplay%3Anone%3B%7D" rel="stylesheet" type="text/css" media="print"]] - This is the SandBox, a page anyone can edit to try out ikiwiki. ---- diff --git a/doc/style.css b/doc/style.css index ef0cb9e57..0fc29f9e1 100644 --- a/doc/style.css +++ b/doc/style.css @@ -226,3 +226,13 @@ input#openid_url { color: #000; padding-left: 18px; } + +/* Things to hide in printouts. */ +@media print { + .actions { display: none; } + .tags { display: none; } + .feedbutton { display: none; } + #searchform { display: none; } + #blogform { display: none; } + #backlinks { display: none; } +} diff --git a/doc/todo/Print_link.mdwn b/doc/todo/Print_link.mdwn index 24d9feee5..697878019 100644 --- a/doc/todo/Print_link.mdwn +++ b/doc/todo/Print_link.mdwn @@ -69,3 +69,5 @@ for all ikiwiki pages. --Pawel >>>>> [used inside a style sheet](http://www.w3.org/TR/REC-CSS2/media.html), >>>>> so the thing to do would be to edit style.css to automatically disable parts >>>>> not wanted when printing. That would rock. --[[Joey]] + +Yay! I've modified the stylesheet and this is [[done]]. --[[Joey]] |