mirror of
https://github.com/GenderDysphoria/GenderDysphoria.fyi.git
synced 2025-11-25 20:42:40 +00:00
Adjustments for printing
This commit is contained in:
@@ -2,54 +2,40 @@
|
||||
|
||||
body.longform {
|
||||
|
||||
#body {
|
||||
background: unset;
|
||||
|
||||
@media screen {
|
||||
padding: 0 1em;
|
||||
}
|
||||
}
|
||||
|
||||
@media print {
|
||||
header {
|
||||
display: none;
|
||||
}
|
||||
|
||||
h1, h2 {
|
||||
clear: both;
|
||||
page-break-before: always;
|
||||
}
|
||||
|
||||
.header-link { display: none; }
|
||||
|
||||
article hr {
|
||||
page-break-after: always;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
|
||||
.gutter {
|
||||
float: right;
|
||||
width: 40vw;
|
||||
margin-left: 1em;
|
||||
zoom: 0.9;
|
||||
|
||||
page-break-inside: avoid;
|
||||
|
||||
&.print-center {
|
||||
float: none;
|
||||
margin: 1em auto;
|
||||
}
|
||||
}
|
||||
|
||||
&.flex, .flex {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
> a > img:not(.card-img-top), > img {
|
||||
max-width: 100%;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
// #body {
|
||||
// // background: unset;
|
||||
|
||||
// @media screen {
|
||||
// padding: 0 1em;
|
||||
// }
|
||||
// }
|
||||
|
||||
// header {
|
||||
// display: none;
|
||||
// }
|
||||
|
||||
// h1, h2 {
|
||||
// clear: both;
|
||||
// page-break-before: always;
|
||||
// }
|
||||
|
||||
// .header-link { display: none; }
|
||||
|
||||
// article hr {
|
||||
// page-break-after: always;
|
||||
// opacity: 0;
|
||||
// }
|
||||
|
||||
// > a > img:not(.card-img-top), > img {
|
||||
// max-width: 100%;
|
||||
// margin-bottom: 5px;
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user