1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-11-25 10:16:06 -05: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;
}