1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-02-19 04:20:02 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/landingpage/Landing Page Extra Styles.tid
2023-01-04 12:26:55 +00:00

31 lines
622 B
Plaintext

title: Landing Page Extra Styles
tags: $:/tags/Stylesheet
\define if-story-river-not-empty(rules)
<$list filter="[list[$:/StoryList]count[]!match[0]]" variable="ignore">
$rules$
</$list>
\end
\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline macrocallblock
.story-backdrop {
position: absolute;
top: 0;
left: 0;
right: 0;
transform-origin: 50% 0;
transition: transform 0.5s ease-in-out,
opacity 0.5s ease-in-out;
opacity: 100%;
}
<<if-story-river-not-empty """
.story-backdrop {
z-index: -1;
transform: perspective(1000px) scale(0.5) rotateX(-20deg);
opacity: 50%;
}
""">>