changed selection color for mobile devices

pull/1/head
alexanderroese 2024-05-31 10:35:51 +02:00
parent f2bf76a6aa
commit 238fe0bb51
1 changed files with 14 additions and 6 deletions

View File

@ -251,14 +251,22 @@ body:has(.section-header .drawer-menu) .announcement-bar-section .page-width {
z-index: 2;
}
::selection {
/* background-color: rgba(var(--color-foreground), 0.2); */
background-color: transparent;
button,
textarea,
input,
select,
a {
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
-webkit-tap-highlight-color: transparent;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
/* mozilla firefox */
::-moz-selection {
background: transparent;
::selection {
background-color: rgba(var(--color-foreground), 0.2);
}
.text-body {