Skip to content
Snippets Groups Projects
Commit 2494d0ae authored by Simon Malesys's avatar Simon Malesys
Browse files

Enhance printing style for the antibody page

parent 8d15c792
No related branches found
No related tags found
No related merge requests found
Pipeline #155006 passed
...@@ -65,12 +65,6 @@ footer::before { ...@@ -65,12 +65,6 @@ footer::before {
content: url("/institut-pasteur-location.png"); content: url("/institut-pasteur-location.png");
} }
@media screen and (width < 550px) {
footer::before {
display: none;
}
}
address { address {
display: flex; display: flex;
flex-flow: column nowrap; flex-flow: column nowrap;
...@@ -92,4 +86,16 @@ nav ul { ...@@ -92,4 +86,16 @@ nav ul {
gap: 10px; gap: 10px;
list-style: none; list-style: none;
} }
@media screen and (width < 550px) {
footer::before {
display: none;
}
}
@media print {
footer {
display: none;
}
}
</style> </style>
...@@ -145,4 +145,10 @@ function showDownloads(): void { ...@@ -145,4 +145,10 @@ function showDownloads(): void {
display: flex; display: flex;
gap: var(--half-spacing); gap: var(--half-spacing);
} }
@media print{
nav {
display: none;
}
}
</style> </style>
...@@ -198,11 +198,6 @@ th.descending::after { ...@@ -198,11 +198,6 @@ th.descending::after {
content: '🠧'; content: '🠧';
} }
td.id-cell,
td.header-cell {
word-break: break-all;
}
td.header-cell { td.header-cell {
padding-left: 15%; padding-left: 15%;
text-align: start; text-align: start;
...@@ -239,4 +234,11 @@ td.header-cell { ...@@ -239,4 +234,11 @@ td.header-cell {
text-align: right; text-align: right;
} }
} }
@media print {
th,
td {
padding: var(--half-spacing);
}
}
</style> </style>
...@@ -166,4 +166,17 @@ nav { ...@@ -166,4 +166,17 @@ nav {
gap: var(--spacing); gap: var(--spacing);
padding: var(--spacing); padding: var(--spacing);
} }
@media print {
*:not(a) {
color: var(--black);
padding: 0;
margin: 0;
}
nav,
button {
display: none;
}
}
</style> </style>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment