diff --git a/themes/buha/assets/scss/links.scss b/themes/buha/assets/scss/links.scss new file mode 100644 index 00000000..95f376b1 --- /dev/null +++ b/themes/buha/assets/scss/links.scss @@ -0,0 +1,27 @@ +.links { + a:first-child { + font-weight: bold; + } + &:hover { + a:first-child { + text-decoration: none; + } + } +} + +.links_wrapper { + display: flex; + flex-direction: column; + .links { + display: flex; flex-direction: column; + margin-bottom: 2em; + &:hover { + .p { + text-decoration: underline; + } + .s, .t { + text-decoration: none; + } + } + } +} diff --git a/themes/buha/assets/scss/main.scss b/themes/buha/assets/scss/main.scss index b5cda009..0898e5bf 100644 --- a/themes/buha/assets/scss/main.scss +++ b/themes/buha/assets/scss/main.scss @@ -6,6 +6,11 @@ font-size: 120%; } +.nonselect { + -webkit-user-select: none; + cursor:not-allowed; /*makes it even more obvious*/ +} + .main_wrapper { overflow-x: auto; width: 98vw; @@ -27,6 +32,13 @@ } } +.notselectable { + user-select: none; + -moz-user-select: none; + -khtml-user-select: none; + -webkit-user-select: none; + -o-user-select: none; +} @media (min-width: 640px) { diff --git a/themes/buha/layouts/_default/baseof.html b/themes/buha/layouts/_default/baseof.html index 1fff8fec..a67c693d 100644 --- a/themes/buha/layouts/_default/baseof.html +++ b/themes/buha/layouts/_default/baseof.html @@ -8,7 +8,7 @@