Last active
October 23, 2015 04:52
-
-
Save infotexture/21e2210dc198ee8f9911 to your computer and use it in GitHub Desktop.
Sass partial for DITA 1.3 XML mention domain
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Sass partial for DITA 1.3 XML mention domain | |
$code-fonts: Menlo, Monaco, Consolas, "Courier New", monospace; | |
$markup-color: #663399; | |
@mixin markupname { | |
color: $markup-color; | |
font-family: $code-fonts; | |
} | |
.numcharref { | |
@include markupname; | |
} | |
.parameterentity { | |
@include markupname; | |
} | |
.textentity { | |
@include markupname; | |
} | |
.xmlatt { | |
@include markupname; | |
} | |
.xmlelement { | |
@include markupname; | |
} | |
.xmlnsname { | |
@include markupname; | |
} | |
.xmlpi { | |
@include markupname; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looks good to me. We could just include some default for each element in DITA and if there is not styling required, like for
<ph>
-><span>
, then it would be an empty rule.