mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-19 04:20:02 +00:00
31 lines
622 B
Plaintext
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%;
|
|
}
|
|
|
|
""">> |