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:
@@ -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;
|
||||
}
|
||||
|
@@ -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
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user