-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIM-2030] Mim 2030 print css (#3032)
* MIM-2030: Started on print.css * More styling print * MIM-2030:Fjernet divider og litt mindre h1 * lint main.scss * Some refactoring
- Loading branch information
Showing
2 changed files
with
83 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
@media print { | ||
@page { | ||
margin-top: 2rem !important; | ||
} | ||
|
||
body { | ||
zoom: 70% !important; | ||
} | ||
|
||
.container { | ||
width: 100% !important; | ||
min-width: 992px !important; | ||
} | ||
|
||
.title-ingress-wrapper { | ||
margin-top: 0rem !important; | ||
padding-top: 0rem !important; | ||
|
||
h1 { | ||
font-size: 3rem; | ||
} | ||
} | ||
|
||
// Hide from print | ||
#breadcrumbs, | ||
#popup, | ||
#footer, | ||
.global-links, | ||
.header-content, | ||
.hamburger, | ||
.highcharts-exporting-group, | ||
.mobileMenuDivider, | ||
.show-datatable, | ||
.part-related-articles, | ||
.part-picture-card, | ||
.part-related-external-links, | ||
.part-related-statistics, | ||
.part-divider, | ||
.download-table-container { | ||
display: none !important; | ||
} | ||
|
||
.highchart-wrapper { | ||
margin-top: 0 !important; | ||
} | ||
|
||
// Avoid page-break | ||
.highchart-wrapper, | ||
.part-static-visualization, | ||
.part-table, | ||
img { | ||
page-break-inside: avoid; | ||
} | ||
|
||
.article { | ||
.associated-statistics, | ||
.associated-article-archives { | ||
display: none !important; | ||
} | ||
|
||
.ssb-expansion-box .content { | ||
max-height: none; | ||
opacity: 1; | ||
} | ||
} | ||
|
||
.part-static-visualization { | ||
.ssb-expansion-box .content { | ||
max-height: none; | ||
opacity: 1; | ||
} | ||
|
||
.ssb-tabs { | ||
display: none !important; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters