1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-09-17 16:55:31 -04:00

just some spring cleaning 🧹

This commit is contained in:
2021-05-20 10:33:59 -04:00
parent e4ab02749b
commit 378b2385da
14 changed files with 85 additions and 63 deletions

View File

@@ -73,3 +73,15 @@ $theme-map: (); // now declaring global variables this way: https://sass-lang.co
@function c($key) {
@return map-get($theme-map, $key);
}
@mixin hyphenate() {
word-wrap: break-word;
overflow-wrap: break-word;
hyphens: auto;
}
@mixin truncate() {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

View File

@@ -65,3 +65,11 @@
transform: scale(1);
}
}
@media (prefers-reduced-motion: reduce) {
* {
animation-duration: 0s !important;
transition-duration: 0s !important;
will-change: unset !important; // stylelint-disable-line plugin/no-unsupported-browser-features
}
}