Blockchain explorer for Ethereum based network and a tool for inspecting and analyzing EVM based blockchains.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
blockscout/assets/css/explorer/_size.scss

18 lines
343 B

$golden-ratio: 1.61803398875;
@function explorer-size($exponent) {
$value: $golden-ratio;
@if $exponent > 0 {
@for $i from 1 through $exponent {
$value: $value * $golden-ratio;
}
} @elseif $exponent < 0 {
@for $i from 1 through -$exponent {
$value: $value / $golden-ratio;
}
}
@return 1rem * $value;
}