mirror of
https://github.com/Decentralized-ID/decentralized-id.github.io.git
synced 2024-12-13 01:24:20 -05:00
16 lines
340 B
SCSS
16 lines
340 B
SCSS
|
@function breakpoint-no-query($query) {
|
||
|
@if type-of($query) == 'list' {
|
||
|
$keyword: nth($query, 1);
|
||
|
|
||
|
@if type-of($keyword) == 'string' and ($keyword == 'no-query' or $keyword == 'no query' or $keyword == 'fallback') {
|
||
|
@return nth($query, 2);
|
||
|
}
|
||
|
@else {
|
||
|
@return false;
|
||
|
}
|
||
|
}
|
||
|
@else {
|
||
|
@return false;
|
||
|
}
|
||
|
}
|