diff --git a/lib/gollum/public/gollum/css/print.css b/lib/gollum/public/gollum/css/print.css new file mode 100644 index 00000000..8411286a --- /dev/null +++ b/lib/gollum/public/gollum/css/print.css @@ -0,0 +1,14 @@ + +/* + print.css + Removes the action buttons at the top and + the delete link at the bottom for better printing. +*/ + +ul.actions { +display: none; +} + +#delete-link { +visibility: hidden; +} diff --git a/lib/gollum/templates/layout.mustache b/lib/gollum/templates/layout.mustache index 6710a610..075b5c62 100644 --- a/lib/gollum/templates/layout.mustache +++ b/lib/gollum/templates/layout.mustache @@ -6,6 +6,7 @@ + {{#css}}{{/css}} {{#noindex}}{{/noindex}}