HEX
Server: Apache
System: Linux v38079.2is.nl 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: democfellows (10015)
PHP: 8.1.34
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/creativefellows.nl/test.creativefellows.nl/slotzeist/public/scss/_mixins.scss
/*
 * Mixins
 */	

@mixin font-for-header($font-weight:700) {
	font-family: "adobe-caslon-pro",serif;
	font-style: normal;
	font-weight: $font-weight;
}

@mixin font-for-body($font-weight:400) {
	font-family: "servus-slab",serif;
	font-style: normal;
	font-weight: $font-weight;
}

@mixin button-with-icon(){
	
	position:relative;
	
	&::after{
		content:"";
		position:absolute;
		top:0;
		right:0;
		width:100%;
		height:100%;
		background-image: url(../images/leeuw.svg);
		background-position:100% 0%;
		background-size:auto 200%;
		background-repeat: no-repeat;
		opacity:0.15;
	}
}

@mixin amimate-element($duration:0.3s){
	-webkit-transition: all $duration;
	-moz-transition: all $duration;
	transition: all $duration;
}

@mixin animate-element($duration:0.3s){
	-webkit-transition: all $duration;
	-moz-transition: all $duration;
	transition: all $duration;
}

@mixin vertical-center($position:50%){
	top:$position;
	transform:translateY(-$position);
}


@mixin has-shadow($opacity:0.25,$size:1em){
	box-shadow: 0 0 $size rgba(0,0,0,$opacity);
}

@mixin text-shadow($opacity:0.75,$size:0.125rem){
	text-shadow: 0 0 $size rgba(0,0,0,$opacity);
}