You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
/*
|
|
|
|
This stylesheet is applied to all themes and all pages.
|
|
|
|
They can be overridden by themes, though their presence (or initial settings) may be depended upon by
|
|
|
|
client-side logic in core.
|
|
|
|
|
|
|
|
==========
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Prevent viewport shuffling on image load by restricting image dimensions until viewed by the browser */
|
|
|
|
.page-topic [component="post/content"] img {
|
|
|
|
transition: width 500ms ease;
|
|
|
|
transition: height 500ms ease;
|
|
|
|
transition: opacity 500ms ease;
|
|
|
|
|
|
|
|
&[data-state="unloaded"], &[data-state="loading"] {
|
|
|
|
display: inherit;
|
|
|
|
height: 0;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&[data-state="loaded"] {
|
|
|
|
display: inherit;
|
|
|
|
height: auto;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|