From b18faf05c119dd6d1a5b723d72ec79f3bdcccbbc Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Tue, 12 Nov 2024 20:35:51 +0000 Subject: [PATCH 1/2] Add scary warning from prerelease So that it is available in Netlify preview builds, which use the tw5.com edition, not prerelease --- editions/tw5.com/tiddlers/system/tw5.com-styles.tid | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/editions/tw5.com/tiddlers/system/tw5.com-styles.tid b/editions/tw5.com/tiddlers/system/tw5.com-styles.tid index ced42e64d..68944098d 100644 --- a/editions/tw5.com/tiddlers/system/tw5.com-styles.tid +++ b/editions/tw5.com/tiddlers/system/tw5.com-styles.tid @@ -133,3 +133,15 @@ type: text/vnd.tiddlywiki .tc-saving-sidebar-category { margin-bottom:10px; } .tc-saving-sidebar-category-title { margin-bottom:5px; font-weight:bold; } .tc-saving-sidebar-category-item { margin-left:10px; white-space:nowrap; } + +.tc-scary-warning { + font-weight: bold; + padding: 0 1em; + margin-left: -1em; + margin-right: -1em; + color: #f22; + border-radius: 4px; + border: 3px solid transparent; + background: #ffd; + background: linear-gradient(#ffd, #ffd) padding-box, repeating-linear-gradient(-45deg, red 0, red 25%, transparent 0, transparent 50%) 0 / .6em .6em; +} From e3648c7ec1b33083a08bec153b305cb00551d06a Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Tue, 12 Nov 2024 20:36:26 +0000 Subject: [PATCH 2/2] Remove prerelease copy of scary warning styles --- editions/prerelease/tiddlers/system/styles.tid | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/editions/prerelease/tiddlers/system/styles.tid b/editions/prerelease/tiddlers/system/styles.tid index 2f63c5a48..33424e4ae 100644 --- a/editions/prerelease/tiddlers/system/styles.tid +++ b/editions/prerelease/tiddlers/system/styles.tid @@ -4,14 +4,3 @@ type: text/vnd.tiddlywiki \rules only filteredtranscludeinline transcludeinline macrodef macrocallinline macrocallblock -.tc-scary-warning { - font-weight: bold; - padding: 0 1em; - margin-left: -1em; - margin-right: -1em; - color: #f22; - border-radius: 4px; - border: 3px solid transparent; - background: #ffd; - background: linear-gradient(#ffd, #ffd) padding-box, repeating-linear-gradient(-45deg, red 0, red 25%, transparent 0, transparent 50%) 0 / .6em .6em; -} \ No newline at end of file