discourse/app/assets/stylesheets/common/base/bbcode.scss

23 lines
364 B
SCSS
Raw Normal View History

2013-09-05 15:37:07 -04:00
// Support for BBCode styles like colors and font sizes
span {
&.bbcode-b {
font-weight: bold;
}
&.bbcode-i {
font-style: italic;
}
&.bbcode-u {
text-decoration: underline;
}
&.bbcode-s {
text-decoration: line-through;
}
// Font sizes
@for $i from 4 through 40 {
&.bbcode-size-#{$i} {
font-size: #{$i}px;
}
2013-09-05 15:37:07 -04:00
}
}