mirror of
https://github.com/panr/hugo-theme-terminal.git
synced 2025-02-27 11:09:24 +03:00
Hide header and pagination footer when printing
Since the header and pagination footer contain links that help a reader navigate the site in a browser, they serve little value on a printed copy.
This commit is contained in:
parent
e70a99243e
commit
3a0f200a91
2 changed files with 8 additions and 0 deletions
|
@ -15,6 +15,10 @@
|
|||
flex-direction: column;
|
||||
position: relative;
|
||||
|
||||
@media print {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&__inner {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
.pagination {
|
||||
margin-top: 50px;
|
||||
|
||||
@media print {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&__title {
|
||||
display: flex;
|
||||
text-align: center;
|
||||
|
|
Loading…
Add table
Reference in a new issue