Files
kasu/kasu/static/css/print.less
Christian Berg 9c2413a794 Stylesheets werden nur mit Less erzeugt. Damit können sie gleich
optimiert werden.
jQuery wurde entfernt.
Übersetzungen wurden korrigiert.
Neue sync.sh Datei, welche änderungen mit rsync auf den Server spielt
und das neuladen erzwingt.
2014-12-14 23:57:40 +01:00

87 lines
1.6 KiB
Plaintext

@media print {
@page {
size: portrait;
margin: 0.5cm 0.5cm 0.5cm 1cm;
orphans: 3;
widows: 3;
}
nav, aside, #comment_form, #navigation, #mainnav, #usernav, #bottom_buttonbar, #footer > form {
display: none !important;
}
#footer {
width: 100%;
padding-top: 0.5em;
border-top: 1px solid black;
text-align: center;
}
* {
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
}
a:link, a:visited {
color: black;
font-weight: bold;
}
#sitelogo {
background: url(../img/logo.png) top right no-repeat;
background-size: contain;
left: 0;
margin: 0;
padding: 0;
line-height: 1cm;
font-size: 16pt;
top: 5px;
z-index: 99;
}
#jumbotron {
background: none !important;
}
body, article {
width: 100%;
margin: 0;
padding: 0;
color: #000;
background: #fff;
}
h1, h2, h3, h4, h5, h6 {
text-shadow: none;
page-break-after: avoid;
}
img {
max-width: 100% !important;
}
ul, img {
page-break-inside: avoid;
}
#comment_form, #navigation, #mainnav, #usernav, #bottom_buttonbar, #footer > form {
display: none;
}
.more_link {
display: none
}
#maincontent nav {
display: none
}
#maincontent aside {
display: none
}
.grid_6, grid_7, .grid_8, grid_9, .grid_10, .grid_11, .grid_12 {
width: 100%
}
}