mirror of
https://github.com/danog/sass-site.git
synced 2024-12-13 18:07:35 +01:00
35 lines
890 B
SCSS
35 lines
890 B
SCSS
/*! Railroad diagram styles copyright © 2018 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
* W3C liability, trademark and permissive document license rules apply.
|
|
* http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer
|
|
* http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks
|
|
* http://www.w3.org/Consortium/Legal/2015/copyright-software-and-document */
|
|
|
|
svg.railroad-diagram {
|
|
background-color: hsl(30,20%,95%);
|
|
}
|
|
|
|
svg.railroad-diagram path {
|
|
stroke-width: sl-px-to-rem(3px);
|
|
stroke: black;
|
|
fill: rgba(0, 0, 0, 0);
|
|
}
|
|
|
|
svg.railroad-diagram text {
|
|
font: bold sl-px-to-rem(14px) monospace;
|
|
text-anchor: middle;
|
|
}
|
|
|
|
svg.railroad-diagram text.label {
|
|
text-anchor: start;
|
|
}
|
|
|
|
svg.railroad-diagram text.comment {
|
|
font: italic sl-px-to-rem(12px) monospace;
|
|
}
|
|
|
|
svg.railroad-diagram rect {
|
|
stroke-width: sl-px-to-rem(3px);
|
|
stroke: black;
|
|
fill: hsl(120, 100%, 90%);
|
|
}
|