mirror of
https://github.com/sotrh/learn-wgpu.git
synced 2024-11-19 21:25:37 +00:00
28 lines
458 B
Stylus
28 lines
458 B
Stylus
|
excerpt(radius) {
|
||
|
border-radius radius
|
||
|
-webkit-border-radius radius
|
||
|
-moz-border-radius radius
|
||
|
padding 0.5rem 1.5rem
|
||
|
}
|
||
|
|
||
|
.note {
|
||
|
background-color $noteColor
|
||
|
excerpt(6px)
|
||
|
}
|
||
|
|
||
|
.warning {
|
||
|
background-color $warningColor
|
||
|
color $warningTextColor
|
||
|
excerpt(6px)
|
||
|
|
||
|
code {
|
||
|
color: $warningInlineCodeColor
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@media screen and (max-width $MQMobile) {
|
||
|
.note {
|
||
|
excerpt(0px)
|
||
|
margin 0.0rem -1.5rem
|
||
|
}
|
||
|
}
|