mirror of
https://github.com/YouHaveTrouble/youhavetrouble.github.io.git
synced 2026-05-12 06:16:55 +00:00
set selection color
This commit is contained in:
@@ -32,6 +32,11 @@ html {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
::selection {
|
||||||
|
background-color: var(--primary-color);
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
/* evil hack. this will run for all browsers but safari and similar */
|
/* evil hack. this will run for all browsers but safari and similar */
|
||||||
@media (min-resolution: .001dpcm) and (pointer: coarse) {
|
@media (min-resolution: .001dpcm) and (pointer: coarse) {
|
||||||
[popover] {
|
[popover] {
|
||||||
@@ -317,6 +322,7 @@ button {
|
|||||||
min-width: 10rem;
|
min-width: 10rem;
|
||||||
background-color: #232222;
|
background-color: #232222;
|
||||||
color: #f3f3f3;
|
color: #f3f3f3;
|
||||||
|
container-type: normal;
|
||||||
&::before {
|
&::before {
|
||||||
content: attr(data-title);
|
content: attr(data-title);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|||||||
Reference in New Issue
Block a user