mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-05-19 09:18:18 +03:00
Стили для печати
This commit is contained in:
parent
cc5747eb8e
commit
2c3fab8ca0
33
templates/skin/developer/css/print.css
Normal file
33
templates/skin/developer/css/print.css
Normal file
|
@ -0,0 +1,33 @@
|
|||
/* --------------------------------------------
|
||||
СТИЛИ ДЛЯ ПЕЧАТИ
|
||||
-------------------------------------------- */
|
||||
|
||||
@media print {
|
||||
@page { margin: 0.5cm; }
|
||||
|
||||
* { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; }
|
||||
|
||||
body, .text { font-size: 14pt; }
|
||||
|
||||
a, a:visited { text-decoration: underline; }
|
||||
|
||||
pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
|
||||
thead { display: table-header-group; }
|
||||
tr, img { page-break-inside: avoid; }
|
||||
img { max-width: 100% !important; }
|
||||
|
||||
h1 { font-size: 30pt !important; }
|
||||
h4 { font-size: 26pt !important; }
|
||||
h5 { font-size: 23pt !important; }
|
||||
h6 { font-size: 20pt !important; }
|
||||
p, h3, h4, h5 { orphans: 3; widows: 3; }
|
||||
h3, h4, h5 { page-break-after: avoid; }
|
||||
|
||||
#header, #userbar, #nav, #sidebar, #footer, #comments, .toolbar, .nav-filter-wrapper,
|
||||
.topic-footer, .stat-performance, .actions, .reply-header { display: none !important; }
|
||||
|
||||
#wrapper { box-shadow: none; border: 0; padding: 0; }
|
||||
#content { width: 100%; margin: 0; }
|
||||
|
||||
.topic { margin-bottom: 100px; }
|
||||
}
|
|
@ -33,6 +33,7 @@ $config['head']['default']['css'] = array(
|
|||
"___path.static.skin___/css/jquery.notifier.css",
|
||||
"___path.static.skin___/css/smoothness/jquery-ui.css",
|
||||
"___path.static.skin___/themes/___view.theme___/style.css",
|
||||
"___path.static.skin___/css/print.css",
|
||||
);
|
||||
|
||||
|
||||
|
|
34
templates/skin/synio/css/print.css
Normal file
34
templates/skin/synio/css/print.css
Normal file
|
@ -0,0 +1,34 @@
|
|||
/* --------------------------------------------
|
||||
СТИЛИ ДЛЯ ПЕЧАТИ
|
||||
-------------------------------------------- */
|
||||
|
||||
@media print {
|
||||
@page { margin: 0.5cm; }
|
||||
|
||||
* { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; font-family: Arial, sans-serif !important; }
|
||||
|
||||
body, .text { font-size: 14pt; }
|
||||
|
||||
a, a:visited { text-decoration: underline; }
|
||||
|
||||
pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
|
||||
thead { display: table-header-group; }
|
||||
tr, img { page-break-inside: avoid; }
|
||||
img { max-width: 100% !important; }
|
||||
|
||||
h1 { font-size: 30pt !important; font-weight: bold !important; }
|
||||
h4 { font-size: 26pt !important; }
|
||||
h5 { font-size: 23pt !important; }
|
||||
h6 { font-size: 20pt !important; }
|
||||
p, h3, h4, h5 { orphans: 3; widows: 3; }
|
||||
h3, h4, h5 { page-break-after: avoid; }
|
||||
h1 a { text-decoration: none !important; }
|
||||
|
||||
#header, #userbar, #nav, #sidebar, #footer, #comments, .toolbar, .nav-filter-wrapper,
|
||||
.topic-footer, .stat-performance, .topic-actions, .reply-header, .nav { display: none !important; }
|
||||
|
||||
#wrapper { box-shadow: none; border: 0; padding: 0; }
|
||||
#content { width: 100%; margin: 0; }
|
||||
|
||||
.topic { margin-bottom: 100px; }
|
||||
}
|
|
@ -37,6 +37,7 @@ $config['head']['default']['css'] = array(
|
|||
"___path.static.skin___/css/jquery.notifier.css",
|
||||
"___path.static.skin___/css/smoothness/jquery-ui.css",
|
||||
"___path.static.skin___/themes/___view.theme___/style.css",
|
||||
"___path.static.skin___/css/print.css",
|
||||
);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue