MediaWiki:Print.css: Różnice pomiędzy wersjami
Z LawRus
auto-sync z repo |
auto-sync z repo |
||
| Linia 15: | Linia 15: | ||
.printfooter, | .printfooter, | ||
#p-search, | #p-search, | ||
#mw-navigation { | #mw-navigation, | ||
.lawrus-actions, | |||
.lawrus-lang-switch, | |||
.approvedAndLatestMsg, | |||
.approvedNotLatestMsg, | |||
.notApprovedMsg, | |||
.notLatestMsg, | |||
.latestMsg { | |||
display: none !important; | display: none !important; | ||
} | } | ||
| Linia 67: | Linia 74: | ||
.wpis-meta { page-break-inside: avoid; } | .wpis-meta { page-break-inside: avoid; } | ||
/* | /* Tytuł strony */ | ||
#firstHeading { | |||
font-size: 16pt; | |||
margin-bottom: 0.5em; | |||
border-bottom: 1px solid #ccc; | |||
padding-bottom: 0.3em; | |||
} | } | ||
/* | |||
a | /* Nie pokazuj URLi w druku (wpisy mają głównie linki wewnętrzne) */ | ||
a:after { | |||
content: ""; | content: "" !important; | ||
} | } | ||
Aktualna wersja na dzień 09:13, 3 cze 2026
/* ─── LawRus — Print.css ────────────────────────────────────────────────────
Styl druku / eksport PDF (Ctrl+P → Zapisz jako PDF).
Ukrywa nawigację, pozostawia czystą treść wpisu.
───────────────────────────────────────────────────────────────────────────── */
/* Ukryj wszystkie elementy interfejsu */
#mw-header-container,
#mw-site-navigation,
#mw-related-navigation,
#mw-footer-container,
#siteNotice,
.mw-indicators,
#contentSub,
#mw-page-header-links,
.printfooter,
#p-search,
#mw-navigation,
.lawrus-actions,
.lawrus-lang-switch,
.approvedAndLatestMsg,
.approvedNotLatestMsg,
.notApprovedMsg,
.notLatestMsg,
.latestMsg {
display: none !important;
}
/* Pełna szerokość treści */
#content,
#mw-content-text,
#mw-content-wrapper,
#mw-content-block {
margin: 0 !important;
padding: 0 !important;
width: 100% !important;
max-width: none !important;
border: none !important;
box-shadow: none !important;
}
/* Tabele metadanych wpisu */
.wpis-meta {
width: 100%;
border-collapse: collapse;
font-size: 10pt;
margin-bottom: 0.8em;
}
.wpis-meta th,
.wpis-meta td {
border: 1px solid #999;
padding: 3px 8px;
}
.wpis-meta th {
background: #f0f0f0;
font-weight: bold;
}
/* Pasek statusu */
.wpis-status {
font-size: 9pt;
color: #444;
margin-bottom: 6px;
}
/* Tekst źródłowy — zachowaj czcionkę Litopys */
.litopys {
font-family: 'Litopys New Roman', 'Times New Roman', serif;
font-size: 11pt;
line-height: 1.7;
}
/* Unikaj łamania nagłówków i tabel między stronami */
h3, h4 { page-break-after: avoid; }
.wpis-meta { page-break-inside: avoid; }
/* Tytuł strony */
#firstHeading {
font-size: 16pt;
margin-bottom: 0.5em;
border-bottom: 1px solid #ccc;
padding-bottom: 0.3em;
}
/* Nie pokazuj URLi w druku (wpisy mają głównie linki wewnętrzne) */
a:after {
content: "" !important;
}
