From c49d5a3b08b2ca2c5d24997b2443d32699bd2c08 Mon Sep 17 00:00:00 2001 From: twMat Date: Tue, 19 Jul 2022 20:05:23 +0200 Subject: [PATCH] [tw.com] Improve the saver cards (#6799) * [tw.com] Improve the saver cards * [tw.com] Improve the saver cards _ take 2 * Update tw5.com-styles.tid --- .../tiddlers/system/tw5.com-card-template.tid | 20 +++++++++++-------- .../tiddlers/system/tw5.com-styles.tid | 7 ++++--- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/editions/tw5.com/tiddlers/system/tw5.com-card-template.tid b/editions/tw5.com/tiddlers/system/tw5.com-card-template.tid index 4e2e18a56..50d0b1163 100644 --- a/editions/tw5.com/tiddlers/system/tw5.com-card-template.tid +++ b/editions/tw5.com/tiddlers/system/tw5.com-card-template.tid @@ -1,17 +1,21 @@ created: 20200507002521489 -modified: 20200515012732244 -tags: +modified: 20220719134613555 title: $:/_tw5.com-card-template type: text/vnd.tiddlywiki \define tw-card-template(bordercolor:"") +\whitespace trim
-<$link> -
<$transclude field="caption"><$view field="title"/>
-
<$list filter="[is[current]has[community-author]]">by {{!!community-author}}
-

<$view field="description"/>

- + <$link> + <$let tv-wikilinks=no> +
<$transclude field="caption"><$view field="title"/>
+
+ <$list filter="[is[current]has[community-author]]">by {{!!community-author}} +
+

<$view field="description"/>

+ +
\end -<$macrocall $name="tw-card-template" bordercolor={{!!color}}/> \ No newline at end of file +<$macrocall $name="tw-card-template" bordercolor={{!!color}}/> diff --git a/editions/tw5.com/tiddlers/system/tw5.com-styles.tid b/editions/tw5.com/tiddlers/system/tw5.com-styles.tid index 5b32c6238..08c63dcbf 100644 --- a/editions/tw5.com/tiddlers/system/tw5.com-styles.tid +++ b/editions/tw5.com/tiddlers/system/tw5.com-styles.tid @@ -1,5 +1,5 @@ created: 20200507002727378 -modified: 20200515024640489 +modified: 20220719132112414 tags: $:/tags/Stylesheet title: $:/_tw5.com-styles type: text/vnd.tiddlywiki @@ -151,7 +151,8 @@ type: text/vnd.tiddlywiki } .tc-card-author { - text-align: right; + text-align: center; + font-style: italic; } .tc-card p { @@ -197,4 +198,4 @@ div.content { .tc-btn-download:active { background: #1475ff; -} \ No newline at end of file +}