1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-29 21:09:56 +00:00
TiddlyWiki5/plugins/tiddlywiki/railroad/files/railroad-diagrams.css

38 lines
824 B
CSS
Raw Normal View History

\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline macrocallblock
2015-01-13 19:58:30 +00:00
/* CSS modified for TiddlyWiki */
2015-01-03 20:02:27 +00:00
svg.railroad-diagram {
background-color: <<colour background>>;
2015-01-13 19:58:30 +00:00
border-radius: 5px;
}
/*
2015-01-13 19:58:30 +00:00
svg.railroad-diagram:hover {
background-color: hsl(30,20%,96%);
}
*/
2015-01-13 19:58:30 +00:00
svg.railroad-diagram path,
svg.railroad-diagram rect {
stroke-width: 2;
stroke: <<colour message-border>>;
2015-01-03 20:02:27 +00:00
}
svg.railroad-diagram path {
fill: <<colour background>>;
2015-01-13 19:58:30 +00:00
}
svg.railroad-diagram rect {
fill: <<colour message-background>>;
2015-01-03 20:02:27 +00:00
}
svg.railroad-diagram text {
2015-01-13 19:58:30 +00:00
font: 14px monospace;
text-anchor: middle;
fill: <<colour message-foreground>>;
2015-01-03 20:02:27 +00:00
}
svg.railroad-diagram text.label {
2015-01-13 19:58:30 +00:00
text-anchor: start;
2015-01-03 20:02:27 +00:00
}
svg.railroad-diagram text.comment {
2015-01-13 19:58:30 +00:00
font: italic 12px monospace;
}
svg.railroad-diagram path.arrow {
2015-01-13 19:58:30 +00:00
stroke-width: 2;
2015-01-03 20:02:27 +00:00
}