mirror of
https://github.com/ineesalmeida/almeida-cv.git
synced 2024-11-23 07:47:55 +00:00
f2321f1627
We don't use SASS so this was misleading. Signed-off-by: Piotr Bocheński <bochenski.piotr@gmail.com>
30 lines
No EOL
761 B
SCSS
30 lines
No EOL
761 B
SCSS
@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;
|
|
}
|
|
} |