mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-16 01:40:53 +08:00
32 lines
531 B
SCSS
32 lines
531 B
SCSS
/*!markdown
|
|
|
|
---
|
|
title: Font Style
|
|
---
|
|
|
|
| Class | Properties |
|
|
| ----------- | ------------------------ |
|
|
| italic | font-style: italic |
|
|
| not-italic | font-style: normal |
|
|
|
|
|
|
*/
|
|
@mixin make-font-style($prefix: '.') {
|
|
#{$prefix}italic {
|
|
font-style: italic;
|
|
}
|
|
|
|
#{$prefix}not-italic {
|
|
font-style: normal;
|
|
}
|
|
}
|
|
|
|
@include make-font-style();
|
|
@each $deivce in map-keys($devices) {
|
|
@include media-device($deivce) {
|
|
@include make-font-style('.' + selector-escape($deivce + ':'));
|
|
}
|
|
}
|
|
|
|
// hover ?
|