make tairu work better with noscript

This commit is contained in:
りき萌 2024-02-20 23:30:36 +01:00
parent 90de54c359
commit a92ae02454
22 changed files with 404 additions and 238 deletions

View file

@ -556,10 +556,21 @@ th-literate-program[data-mode="output"] {
border: none;
border-radius: 0;
& iframe {
& iframe,
& img.placeholder {
border-style: none;
border-radius: 4px;
display: block;
transition: opacity var(--transition-duration);
}
& iframe,
& img.placeholder.loading {
opacity: 50%;
}
& iframe.loaded {
opacity: 100%;
}
/* The inner iframe is hidden until something requests display. */