Skip to content

Commit

Permalink
fix unstable style for light mode
Browse files Browse the repository at this point in the history
cabanier committed Sep 20, 2022
1 parent 44f8731 commit 7075fbd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index.bs
Original file line number Diff line number Diff line change
@@ -94,6 +94,12 @@ spec: WebXR Hit Test Module; urlPrefix: https://immersive-web.github.io/hit-test
background-repeat: repeat;
background-color: #282828;
}
@media (prefers-color-scheme: light) {
.unstable {
background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='290'><text transform='rotate(-45)' text-anchor='middle' font-family='sans-serif' font-weight='bold' font-size='70' y='210' opacity='.1'>Unstable</text></svg>");
background-color: #FFF4F4;
}
}
.unstable h3:first-of-type {
margin-top: 0.5rem;
}

0 comments on commit 7075fbd

Please sign in to comment.