| Server IP : 104.21.84.107 / Your IP : 104.23.197.209 Web Server : Apache/2.4.63 (Ubuntu) System : Linux adminpruebas-Virtual-Machine 6.14.0-37-generic #37-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 14 22:10:32 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.4.5 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/html/acreditacion/media/gantry5/engines/nucleus/scss/nucleus/theme/mixins/ |
Upload File : |
// Font Import
@mixin import-font($font-list) {
// Import once Google fonts.
$url: get-font-url($font-list);
@if $url {
@import $url;
}
// Import once all local fonts in the list.
@each $font in get-local-fonts($font-list) {
@each $weight in get-local-font-weights($font) {
$url: get-local-font-url($font, $weight);
@if $url {
@include font-face($font, $url, $weight);
}
}
}
}
// Responsive Font Mixin
@mixin responsive-font($responsive, $min, $max: false, $fallback: false) {
$responsive-unitless: $responsive / ($responsive - $responsive + 1);
$dimension: if(unit($responsive) == 'vh', 'height', 'width');
$min-breakpoint: $min / $responsive-unitless * 100;
@media (max-#{$dimension}: #{$min-breakpoint}) {
font-size: $min;
}
@if $max {
$max-breakpoint: $max / $responsive-unitless * 100;
@media (min-#{$dimension}: #{$max-breakpoint}) {
font-size: $max;
}
}
@if $fallback {
font-size: $fallback;
}
font-size: $responsive;
}