diff --git a/editions/multiwikidocs/tiddlers/system/Styles.tid b/editions/multiwikidocs/tiddlers/system/Styles.tid new file mode 100644 index 000000000..c1d6c3eed --- /dev/null +++ b/editions/multiwikidocs/tiddlers/system/Styles.tid @@ -0,0 +1,49 @@ +tags: $:/tags/Stylesheet +title: $:/_styles +type: text/vnd.tiddlywiki + +\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline macrocallblock + +.tc-improvement-banner { + font-size: 0.7em; + background: #fcc; + padding-left: 5px; + margin-top: 6px; + margin-bottom: 12px; + <> +} + +@media (max-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) { + + .tc-improvement-banner { + } + +} + +@media (min-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) { + + .tc-improvement-banner { + margin-right: -53px; + margin-left: -53px; + } + + .tc-improvement-banner:before { + display: block; + position: absolute; + width: 0; + height: 0; + content: " "; + margin-left: -5px; + margin-top: -10px; + border-top: 5px solid transparent; + border-left: 5px solid transparent; + border-right: 5px solid #C07E7E; + border-bottom: 5px solid #C07E7E; + } + +} + +.tc-improvement-banner svg { + width: 1em; + height: 1em; +}