Merge pull request 'CSS tweaks for search.' (#107) from master into release

Reviewed-on: https://git.marginalia.nu/marginalia/marginalia.nu/pulls/107
This commit is contained in:
Viktor Lofgren 2022-09-02 11:21:50 +02:00
commit eb3e996c71

View File

@ -508,4 +508,45 @@ a.underline {
background-color: #2f4858; background-color: #2f4858;
} }
}
@media only print {
article {
margin-left: 4ch !important;
margin-right: 4ch !important;
}
.rightbox { display: none !important; }
.cards {
display: block !important;
}
.card h2 {
font-size: 16pt;
font-family: serif !important;
}
.card .description {
font-family: serif;
text-align: justify;
word-break: all;
}
.card {
border-left: none !important;
border-right: none !important;
border-top: none !important;
border-bottom: 3px double #000 !important;
box-shadow: none !important;
}
.card > .utils {
display: none !important;
}
footer {
display: none;
}
nav {
display: none !important;
box-shadow: none !important;
}
.search-box {
display: none !important;
box-shadow: none !important;
}
} }