Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce font size for printing
Browse files Browse the repository at this point in the history
damithc committed Feb 9, 2024
1 parent 353996b commit 8d18d37
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions docs/stylesheets/main.css
Original file line number Diff line number Diff line change
@@ -133,6 +133,32 @@ mark {
#page-nav {
display: none;
}

/* Reduce font size when printing */
h1 {
font-size: 1.2rem !important;
}
h2 {
font-size: 1.0rem !important;
}
h3 {
font-size: 0.9rem !important;
}
h4 {
font-size: 0.8rem !important;
}
h5 {
font-size: 0.7rem !important;
}
body {
font-size: 0.65rem !important;
}
.btn {
font-size: 0.65rem !important;
}
img {
zoom: 0.8; /* might not work on some browsers */
}
}

h2,

0 comments on commit 8d18d37

Please sign in to comment.