diff options
| author | aethrvmn <me@aethrvmn.gr> | 2025-08-30 13:17:32 +0000 |
|---|---|---|
| committer | aethrvmn <me@aethrvmn.gr> | 2025-08-30 13:17:32 +0000 |
| commit | 1147a663e70aadb2578cbe601bc723d7cd939c5a (patch) | |
| tree | b5100d2031328be3cfd3e9ae62730436bd573e0f /themes/hugo-book/assets/_utils.scss | |
| parent | added .gitignore (diff) | |
added non-content
Diffstat (limited to '')
| -rw-r--r-- | themes/hugo-book/assets/_utils.scss | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/themes/hugo-book/assets/_utils.scss b/themes/hugo-book/assets/_utils.scss new file mode 100644 index 0000000..92fad0f --- /dev/null +++ b/themes/hugo-book/assets/_utils.scss @@ -0,0 +1,96 @@ +.flex { + display: flex; +} + +.flex-auto { + flex: 1 1 auto; +} + +.flex-even { + flex: 1 1; +} + +.flex-wrap { + flex-wrap: wrap; +} + +.justify-start { + justify-content: flex-start; +} + +.justify-end { + justify-content: flex-end; +} + +.justify-center { + justify-content: center; +} + +.justify-between { + justify-content: space-between; +} + +.align-center { + align-items: center; +} + +.mx-auto { + margin: 0 auto; +} + +.text-center { + text-align: center; +} + +.text-left { + text-align: left; +} + +.text-right { + text-align: right; +} + +.text-small { + font-size: .875em; +} + +.hidden { + display: none; +} + +input.toggle { + height: 0; + width: 0; + overflow: hidden; + opacity: 0; + position: absolute; +} + +.clearfix::after { + content: ""; + display: table; + clear: both; +} + +@mixin spin($duration) { + animation: spin $duration ease infinite; + @keyframes spin { + 100% { + transform: rotate(360deg); + } + } +} + +@mixin fixed { + position: fixed; + top: 0; + bottom: 0; + overflow-x: hidden; + overflow-y: auto; +} + +@mixin outline { + outline-style: auto; + outline-color: currentColor; + outline-color: -webkit-focus-ring-color; +} |
