Skip to content

Commit

Permalink
Added and fixed print stylesheet
Browse files Browse the repository at this point in the history
Fixes #48
  • Loading branch information
apexskier committed Oct 29, 2014
1 parent 07b980a commit f80a7bd
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 16 deletions.
36 changes: 23 additions & 13 deletions css/print.css
@@ -1,11 +1,13 @@
/**
* This file provides the styles for printing.
*
* @todo: improve and finish
* TODO: improve and finish
*/

body {
font: normal 87.5%/1.3 Garamond, Baskerville, "Hoefler Text", "Nimbus Roman No9 L", serif;
font-family: Garamond, Baskerville, "Hoefler Text", "Nimbus Roman No9 L", serif;
font-size: 11pt;
line-height: 13pt;
color: #000;
background-color: #fff;
}
Expand All @@ -23,12 +25,14 @@ video,
#breadcrumbs,
.skip-to-content {
display: none;
width: 0;
max-width: 0;
}

* {
border: none;
border-bottom: none;
border-width: 0;
}

.navbar.navbar-fixed-top {
position: static;
}
Expand Down Expand Up @@ -177,29 +181,32 @@ th {
font-weight: bold;
}*/

.youarehere .breadcrumb.well {
.youarehere .breadcrumb {
padding: 0;
margin: 0;
margin-bottom: 15px;
background: #fff;
border: none;
}
.youarehere .home {
display: none;
}
.youarehere .home a:after {
display: none;
content: "";
}
.youarehere .separator {
display: none;
}
.youarehere li {
display: none;
list-style: none;
}
.youarehere a:after {
display: none;
content: "";
}
.youarehere li:last-child {
display: inline;
}
.youarehere li:last-child a:after {
display: inline;
font-size: 90%;
content: " [" attr(href) "]";
}

/*____________ a bit of layout ____________*/

Expand All @@ -220,9 +227,12 @@ th {
clear: both;
border-top: 1pt solid #000;
}
.container.not-header,
.wrapper,
#dokuwiki__content {
left: 0;
width: 100%;
margin-left: 0;
margin: 0;
}


Expand Down
6 changes: 3 additions & 3 deletions head-css.php
Expand Up @@ -4,8 +4,8 @@
<meta name="viewport" content="width=device-width,initial-scale=1" />
<?php echo tpl_favicon(array('favicon', 'mobile')) ?>
<?php tpl_includeFile('meta.html') ?>
<!-- dokuwiki's php css compressor doesn't play nice with media queries -->

<!-- NOTE: dokuwiki's php css compressor doesn't play nice with media queries -->
<link href="<?php print DOKU_TPL; ?>css/bootstrap.min.css" rel="stylesheet">
<!-- <link href="<?php print DOKU_TPL; ?>css/bootstrap.css" rel="stylesheet">
<link href="<?php print DOKU_TPL; ?>css/bootstrap.css.map" rel="stylesheet"> -->
<link href="<?php print DOKU_TPL; ?>css/print.css" rel="stylesheet" media="print">
<script src="<?php print DOKU_TPL; ?>js/respond.min.js" type="text/javascript"></script>

0 comments on commit f80a7bd

Please sign in to comment.