print and css fixes

This commit is contained in:
Pagwin 2025-07-10 17:22:02 -04:00
parent e4a3350352
commit f01a621d36

View file

@ -174,7 +174,7 @@ main {
}
header#article-header {
/*max-width: -moz-available;
max-width: -webkit-fill-available;;
max-width: -webkit-fill-available;
max-width: fill-available;*/
display: block flex;
flex-direction:column;
@ -185,7 +185,7 @@ header#article-header {
}
dl {
max-width: -moz-available;
max-width: -webkit-fill-available;;
max-width: -webkit-fill-available;
max-width: fill-available;
}
article {
@ -220,7 +220,7 @@ blockquote {
/* all of these can break out of the box we want to put them in*/
.sourceCode, object, :has(> object), img, :has(> img), pre{
max-width: -moz-available;
max-width: -webkit-fill-available;;
max-width: -webkit-fill-available;
max-width: fill-available;
width: fit-content;
}
@ -277,6 +277,15 @@ pre {
page-break-inside: avoid;
text-wrap: wrap;
}
iframe, video {
display: none;
}
section {
break-inside: avoid;
}
:is(h1,h2,h3,h4,h5):has(+iframe), :is(h1,h2,h3,h4,h5):has(+video) {
display: none;
}
.socials {
display: none;
}