details {
margin-bottom: 1rem;
font-size: 0.8rem;
+ &::details-content {
+ opacity: 0;
+ block-size: 0;
+ }
+ &[open]::details-content {
+ opacity: 1;
+ block-size: auto;
+ transition: content-visibility 0.4s allow-discrete, opacity 0.4s, block-size 0.4s;
+ }
}
summary:hover {
cursor: pointer;
+@view-transition {
+ navigation: auto;
+}
+
html {
background-color: #ffffff;
color: #000000;
font-kerning: normal;
font-weight: 400;
font-size: 100%;
+ scrollbar-gutter: stable both-edges;
}
body {
max-width: 45rem;
}
img:hover {
filter: grayscale(0);
- transition: all 0.5s linear;
+ transition: all 0.4s linear;
}
dd {
margin-bottom: 0.5rem;