Print instructions.

This commit is contained in:
Ian Gulliver
2018-11-20 07:08:12 +00:00
parent 5aa43f0b2e
commit 578c3446f5
2 changed files with 80 additions and 10 deletions

View File

@@ -11,6 +11,18 @@
margin: 0;
}
@media screen {
side {
display: none !important;
}
}
@media print {
overview {
display: none !important;
}
}
body {
margin: 0;
font-family: 'proxima-nova';
@@ -27,8 +39,34 @@ h2 {
font-family: 'proxima-nova';
font-weight: 600;
align-self: center;
margin-block-start: 0.5em;
}
/**********
* Screen
**********/
overview {
display: flex;
flex-direction: column;
align-items: center;
margin: 1em;
}
overview > blurb {
max-width: 30em;
}
overview > owner {
margin-top: 0;
}
overview > recovery {
margin-top: 0;
}
/**********
* Print
**********/
side {
page-break-before: always;
page-break-inside: avoid;
@@ -105,6 +143,7 @@ owner {
align-self: center;
margin-top: 1em;
margin-bottom: 1em;
}
recovery {