1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-04 23:39:57 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/_tw_shared/styles.tid
Jeremy Ruston 338dc11436
Show stylesheets as rendered plain text with highlighting (#6778)
* First commit

* Enable syntax highlighting when highlight plugin is installed

* Use highlighting for the control panel stylesheet listings
2022-07-14 09:00:56 +01:00

49 lines
852 B
Plaintext

title: $:/_tw_shared/styles
tags: $:/tags/Stylesheet TiddlyWikiSitesMenu
\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline macrocallblock
.tc-sites-icon {
width: 1em;
height: 1em;
}
.tc-sites-menu {
font-size: 1.2em;
}
.tc-sites-menu ol {
margin: 0;
list-style-type: none;
padding-left: 0;
}
.tc-sites-menu ol li a {
display: block;
padding: 0.25em 14px 0.25em 14px;
width: 100%;
text-align: left;
color: #333333;
line-height: 1.4;
text-decoration: none;
}
.tc-sites-menu ol li .tc-sites-menu-disabled {
padding: 0.25em 14px 0.25em 14px;
}
.tc-sites-menu-this-site {
color: <<colour background>>;
background: <<colour muted-foreground>>;
font-size: 0.6em;
border-radius: 1em;
padding: 2px 6px;
margin-left: 1em;
vertical-align: top;
}
.tc-sites-menu-icon {
margin-right: 0.5em;
width: 1em;
}