mirror of
https://github.com/StarCitizenTools/mediawiki-extensions-TabberNeue.git
synced 2024-09-23 10:26:50 +00:00
feat: add print styles
This commit is contained in:
parent
1d71c288b4
commit
2037cf38eb
|
@ -279,3 +279,25 @@
|
|||
background-position: 100em 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media print {
|
||||
.tabber__header {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Show all tab contents */
|
||||
.tabber__section {
|
||||
/* stylelint-disable-next-line declaration-no-important */
|
||||
height: auto !important;
|
||||
gap: 1em;
|
||||
grid-auto-flow: row;
|
||||
}
|
||||
|
||||
/* Show tab header */
|
||||
.tabber__panel::before {
|
||||
display: block;
|
||||
margin: 1em 0;
|
||||
content: attr( data-mw-tabber-title );
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue