Difference between revisions of "MediaWiki:Print.css"
Line 25: | Line 25: | ||
margin-left: -1px; | margin-left: -1px; | ||
} | } | ||
+ | |||
+ | |||
+ | h1, h2, h3, h4, h5, h6 { | ||
+ | font-weight: normal; | ||
+ | page-break-after: avoid; | ||
+ | font-family: "SERAFIM_LOGOS"; | ||
+ | font-size: 18pt; | ||
+ | text-align: center; | ||
+ | font-color: #ff0a0a; | ||
+ | |||
+ | } | ||
+ | |||
+ | |||
.mw-body h1, .mw-body h2 { | .mw-body h1, .mw-body h2 { | ||
− | font-family: " | + | font-family: "SERAFIM_LOGOS"; |
− | line-height: | + | font-size: 24pt; |
− | margin-bottom: 0. | + | line-height: 0.8; |
+ | margin-top: 0.5em; | ||
+ | margin-bottom: 0.05em; | ||
padding: 0; | padding: 0; | ||
padding-top: 0px; | padding-top: 0px; | ||
Line 35: | Line 50: | ||
padding-bottom: 0px; | padding-bottom: 0px; | ||
padding-left: 0px; | padding-left: 0px; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } |
Revision as of 03:41, 14 May 2017
/* Размещённый здесь CSS будет применяться к версии для печати */
div#footer {
display: none;
}
body {
margin: 0;
padding-top: 5px;
padding-right: 20px;
padding-bottom: 20px;
padding-left: 20px;
}
.mw-body p {
line-height: 1.5em;
margin-top: -1.1em;
margin-right: 0px;
margin-bottom: 0em;
margin-left: -1px;
}
h1, h2, h3, h4, h5, h6 {
font-weight: normal;
page-break-after: avoid;
font-family: "SERAFIM_LOGOS";
font-size: 18pt;
text-align: center;
font-color: #ff0a0a;
}
.mw-body h1, .mw-body h2 {
font-family: "SERAFIM_LOGOS";
font-size: 24pt;
line-height: 0.8;
margin-top: 0.5em;
margin-bottom: 0.05em;
padding: 0;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
}