Adding some visual separation for parameters (#2841)

Currently on the Documentation pages when parameters are listed, there is no visual separation between the parameter names, flags, and descriptions. This should make it a bit easier for humans to read.
This commit is contained in:
Jonathan Duncan 2017-06-12 04:59:38 -06:00 committed by Vishal Nayak
parent d26a8ebf5e
commit 7038348b6d
1 changed files with 18 additions and 0 deletions

View File

@ -35,3 +35,21 @@
// Demo
@import '_demo';
// Docs - visual separation for parameter names and flags
span.param {
font-weight: 800;
}
span.param:after {
content: ":";
}
span.param-flags {
font-style: italic;
}
span.param-flags:before {
content: "(";
}
span.param-flags:after {
content: ")";
}