diff options
author | axtloss <axtlos@disroot.org> | 2024-08-20 01:20:30 +0200 |
---|---|---|
committer | axtloss <axtlos@disroot.org> | 2024-08-20 01:20:30 +0200 |
commit | e235aa6cf4914cbff6c72f19e0fcf6888da349f7 (patch) | |
tree | 0d488cadc02706aa2c7652b42e4f21342125c5f7 /src/lib/styles/contact.scss | |
parent | 479414a93ae03a4463c16d54b39cd155b1e04683 (diff) | |
download | website-e235aa6cf4914cbff6c72f19e0fcf6888da349f7.tar.gz website-e235aa6cf4914cbff6c72f19e0fcf6888da349f7.tar.bz2 |
yayyy new website!!
Diffstat (limited to '')
-rw-r--r-- | src/lib/styles/contact.scss | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/lib/styles/contact.scss b/src/lib/styles/contact.scss new file mode 100644 index 0000000..910cac6 --- /dev/null +++ b/src/lib/styles/contact.scss @@ -0,0 +1,38 @@ +@use "sass:color"; +@use "sass:meta"; + +@mixin contact($color, $text-color: $color) { + cursor: pointer; + color: $text-color; + background-color: color.adjust($color, $alpha: -0.1); + padding: 7px 25px; + min-width: 70px; + max-width: 70vw; + overflow-wrap: break-word; + border-radius: 10px; + align-items: center; + justify-content: center; + box-shadow: 0 1px 4px 1px color.change(black, $alpha: 0.10), + 0 1px 10px 5px color.change(black, $alpha: 0.09), + 0 3px 16px 8px color.change(black, $alpha: 0.04), + 0 0 0 1px color.change(black, $alpha: 0.05); + transition: box-shadow 0.3s ease-in-out; + + &:hover { + box-shadow: 0 1px 4px 1px color.change($color, $alpha: 0.10), + 0 1px 10px 5px color.change($color, $alpha: 0.09), + 0 3px 16px 8px color.change($color, $alpha: 0.04), + 0 0 0 1px color.change($color, $alpha: 0.05); + } + & h3 { + text-align: center; + } + + & p { + user-select: none; + } + + & noscript { + text-overflow: ellipsis; + } +} |