dokuwiki-template/css/print.css

287 lines
4.3 KiB
CSS

/**
* This file provides the styles for printing.
*
* @todo: improve and finish
*/
body {
font: normal 87.5%/1.3 Garamond, Baskerville, "Hoefler Text", "Nimbus Roman No9 L", serif;
background-color: #fff;
color: #000;
}
/* hide certain sections */
audio,
video,
#dokuwiki__header .tools,
#dokuwiki__aside,
.dokuwiki .breadcrumbs,
.dokuwiki .toc,
#dw__toc, #dw_toc,
#dokuwiki__pagetools, #dokuwiki_pagetools,
#dokuwiki__footer, #dokuwiki_footer,
#breadcrumbs,
.skip-to-content {
display: none;
}
* {
border: none;
border-bottom: none;
}
.navbar.navbar-fixed-top {
position: static;
}
.navbar .navbar-inner {
-webkit-box-shadow:none;
-moz-box-shadow: none;
box-shadow: none;
border:none;
min-height: auto;
height: auto;
background-color: #fff;
background-image: none;
filter: none;
}
.navbar .container-fluid * {
display: none;
}
.navbar a.brand {
font-weight: bold;
display: block;
text-decoration: none;
border: none;
margin: 0;
padding: 0;
font-size: 150%;
color: #000;
margin-bottom: -30px;
}
h1,
h2,
h3,
h4,
h5,
caption,
legend {
clear: both;
margin: 10px 0 10px;
}
p, table, pre, ul, ol {
margin: 0 0 10px;
}
/*ul {
list-style: disc outside;
}
ol {
list-style: decimal outside;
}
ol ol {
list-style-type: lower-alpha;
}
ol ol ol {
list-style-type: upper-roman;
}
ol ol ol ol {
list-style-type: upper-alpha;
}
ol ol ol ol ol {
list-style-type: lower-roman;
}*/
/* undo icons */
a:link,
a:visited {
text-decoration: none;
border-bottom: 1pt dotted;
color: #333;
background-color: inherit;
background-image: none;
padding: 0;
}
/* display href after link */
a:after {
content: " [" attr(href) "]";
font-size: 90%;
}
a.brand:after,
a.btn:after {
display: none;
content: "";
}
/* code blocks */
pre {
font-family: monospace;
}
dl.code dt,
dl.file dt {
font-weight: bold;
}
/* images */
img {
border-width: 0;
vertical-align: middle;
}
img.media {
margin: .2em 0;
}
img.medialeft {
margin: .2em 1.5em .2em 0;
}
img.mediaright {
margin: .2em 0 .2em 1.5em;
}
img.mediacenter {
margin: .2em auto;
}
mark {
font-weight: bold;
}
blockquote {
padding: 0 10pt;
margin: 0;
border: solid #ccc;
border-width: 0 0 0 2pt;
}
[dir=rtl] blockquote {
border-width: 0 2pt 0 0;
}
/* tables */
/*table {
border-collapse: collapse;
empty-cells: show;
border-spacing: 0;
border: 1pt solid #ccc;
}
th,
td {
padding: 3pt 5pt;
margin: 0;
vertical-align: top;
border: 1pt solid #666;
text-align: left;
}
[dir=rtl] th,
[dir=rtl] td {
text-align: right;
}
th {
font-weight: bold;
}*/
.youarehere .breadcrumb.well {
margin: 0;
padding: 0;
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 li:last-child {
display: inline;
}
/*____________ a bit of layout ____________*/
#dokuwiki__top {
margin-top: 0px !important;
}
#dokuwiki__header {
border-bottom: 2pt solid #ccc;
}
#dokuwiki__header h1 {
font-size: 1.5em;
}
#dokuwiki__header h1 a {
text-decoration: none;
}
.dokuwiki div.footnotes {
clear: both;
border-top: 1pt solid #000;
margin-top: 10pt;
}
#dokuwiki__content {
width: 100%;
margin-left: 0px;
}
/*____________ @deprecated ____________*/
/* unnecessary, has been in lib/styles/all|print.css since Rincewind */
.a11y,
div.notify,
div.info,
div.success,
div.error,
.dokuwiki .secedit {
display: none;
}
.visible-phone .skip-to-content {
display: none !important;
}
.visible-phone {
margin: 0;
padding: 0;
}
.visible-phone li {
margin:0;
padding:0;
}
.navbar .btn.btn-navbar {
display: none;
visibility: hidden;
margin: 0;
padding: 0;
border: none;
}
/* align table cells */
.leftalign {
text-align: left;
}
.centeralign {
text-align: center;
}
.rightalign {
text-align: right;
}
/* underline */
em.u {
font-style: normal;
text-decoration: underline;
}
em em.u {
font-style: italic;
}
div.clearer {
clear: both;
line-height: 0;
height: 0;
overflow: hidden;
}