Le framework HUGO utilisé pour créer son CV en 2 minutes
https://cv.gregandev.fr
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.
30 lines
761 B
30 lines
761 B
4 years ago
|
@mixin shadow($distance) {
|
||
|
-webkit-box-shadow: $distance * 1rem $distance * 2rem $distance * 3rem rgba($color-grey-dark, $distance * 0.3);
|
||
|
-moz-box-shadow: $distance * 1rem $distance * 2rem $distance * 3rem rgba($color-grey-dark, $distance * 0.3);
|
||
|
box-shadow: $distance * 1rem $distance * 2rem $distance * 3rem rgba($color-grey-dark, $distance * 0.3);
|
||
|
}
|
||
|
|
||
|
@mixin hz-center {
|
||
|
position: absolute;
|
||
|
left: 50%;
|
||
|
transform: translateX(-50%);
|
||
|
}
|
||
|
|
||
|
@mixin vt-center {
|
||
|
position: absolute;
|
||
|
top: 50%;
|
||
|
transform: translateY(-50%);
|
||
|
}
|
||
|
|
||
|
@mixin all-center {
|
||
|
position: absolute;
|
||
|
top: 50%;
|
||
|
left: 50%;
|
||
|
transform: translateX(-50%) translateY(-50%);
|
||
|
}
|
||
|
|
||
|
@mixin avoid-break {
|
||
|
@media print {
|
||
|
page-break-inside: avoid;
|
||
|
}
|
||
|
}
|