MediaWiki:Print.css: различия между версиями
Admin (обсуждение | вклад) мНет описания правки |
Admin (обсуждение | вклад) мНет описания правки |
||
| Строка 1: | Строка 1: | ||
/* Размещённый здесь CSS будет применяться к версии для печати */ | /* Размещённый здесь CSS будет применяться к версии для печати */ | ||
@media print { | @media print { | ||
.print-header { | |||
position: fixed; | |||
top: 0; | |||
left: 0; | |||
width: 100%; | |||
height: 50px; | |||
border-bottom: 1px solid #ccc; | |||
background-color: #f7f7f7; | |||
text-align: center; | |||
font-size: 20px; | |||
line-height: 50px; | |||
content: "Ваша шапка страницы"; | |||
} | |||
#footer, | #footer, | ||
#content, | #content, | ||
| Строка 14: | Строка 27: | ||
pre, code { font-size: 12pt; } | pre, code { font-size: 12pt; } | ||
/*.firstHeading { margin-top: 0; padding-top: 0; font-size: 14pt}*/ | /*.firstHeading { margin-top: 0; padding-top: 0; font-size: 14pt}*/ | ||
/* #siteSub { display: none; }*/ | |||
/* .printfooter { display: none; } | /* .printfooter { display: none; } | ||
#catlinks, .catlinks { display: none; } | #catlinks, .catlinks { display: none; } | ||
#footer { display: none; } | #footer { display: none; } */ | ||
#header { | #header { | ||
| Строка 32: | Строка 45: | ||
content: "Ваша шапка страницы"; | content: "Ваша шапка страницы"; | ||
} | } | ||
.header { | |||
position: fixed; | |||
top: 0; | |||
left: 0; | |||
width: 100%; | |||
height: 50px; | |||
border-bottom: 1px solid #ccc; | |||
background-color: #f7f7f7; | |||
text-align: center; | |||
font-size: 20px; | |||
line-height: 50px; | |||
content: "Ваша шапка страницы"; | |||
} | |||
.firstHeading { | |||
position: fixed; | |||
top: 0; | |||
left: 0; | |||
width: 100%; | |||
height: 50px; | |||
border-bottom: 1px solid #ccc; | |||
background-color: #f7f7f7; | |||
text-align: center; | |||
font-size: 20px; | |||
line-height: 50px; | |||
content: "Ваша шапка страницы"; | |||
} | |||
/* Remove the default header that MediaWiki adds */ | /* Remove the default header that MediaWiki adds */ | ||
#mw-head { | #mw-head { | ||
Версия от 18:43, 7 апреля 2023
/* Размещённый здесь CSS будет применяться к версии для печати */
@media print {
.print-header {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 50px;
border-bottom: 1px solid #ccc;
background-color: #f7f7f7;
text-align: center;
font-size: 20px;
line-height: 50px;
content: "Ваша шапка страницы";
}
#footer,
#content,
body { font-size: 10pt !important; }
h1 { font-size: 14pt }
h2 { font-size: 13pt }
h3 { font-size: 12pt }
h4 { font-size: 11pt }
h5 { font-size: 10pt }
h6 {
font-size: 10pt;
font-weight: normal;}
pre, code { font-size: 12pt; }
/*.firstHeading { margin-top: 0; padding-top: 0; font-size: 14pt}*/
/* #siteSub { display: none; }*/
/* .printfooter { display: none; }
#catlinks, .catlinks { display: none; }
#footer { display: none; } */
#header {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 50px;
border-bottom: 1px solid #ccc;
background-color: #f7f7f7;
text-align: center;
font-size: 20px;
line-height: 50px;
content: "Ваша шапка страницы";
}
.header {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 50px;
border-bottom: 1px solid #ccc;
background-color: #f7f7f7;
text-align: center;
font-size: 20px;
line-height: 50px;
content: "Ваша шапка страницы";
}
.firstHeading {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 50px;
border-bottom: 1px solid #ccc;
background-color: #f7f7f7;
text-align: center;
font-size: 20px;
line-height: 50px;
content: "Ваша шапка страницы";
}
/* Remove the default header that MediaWiki adds */
#mw-head {
display: none;
}
}