Files
radicle-explorer/public/index.css
T
2023-06-27 10:19:56 +02:00

100 lines
1.8 KiB
CSS

* {
outline: none !important;
box-sizing: border-box;
}
:root {
--border-radius: 0.75rem;
--border-radius-tiny: 0.25rem;
--border-radius-small: 0.5rem;
--border-radius-round: 10rem;
--content-max-width: 1920px;
--content-min-width: 400px;
--scrollbar-width: 0.5rem;
--button-regular-height: 2.5rem;
--button-small-height: 2rem;
--button-tiny-height: 1.5rem;
--header-gradient: linear-gradient(
180deg,
var(--color-secondary-3) 0%,
transparent 100%
);
}
[data-theme="light"] {
--header-gradient: linear-gradient(
180deg,
var(--color-secondary-2) 0%,
transparent 100%
);
}
html {
height: 100%;
overflow-y: scroll;
-ms-overflow-style: scrollbar;
-webkit-tap-highlight-color: transparent;
}
body {
min-width: var(--content-min-width);
height: 100%;
margin: 0;
padding: 0;
color: var(--color-foreground);
text-align: left;
background-color: var(--color-background);
scrollbar-width: thin;
scrollbar-height: thin;
scrollbar-color: var(--color-foreground-4) transparent;
}
@media (max-width: 720px) {
body {
min-width: 0;
}
}
::selection {
background: var(--color-primary);
color: var(--color-background);
}
/* Chrome/Edge/Safari scrollbar */
*::-webkit-scrollbar {
width: var(--scrollbar-width);
height: var(--scrollbar-width);
}
*::-webkit-scrollbar-track {
background: transparent;
}
*::-webkit-scrollbar-thumb {
background: transparent;
border-radius: var(--border-radius);
}
*::-webkit-scrollbar-corner {
background: transparent;
}
*:hover::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
background-color: var(--color-foreground-4);
}
main {
display: block;
}
a {
color: inherit;
text-decoration: none;
}
a:hover {
color: var(--color-foreground);
border-bottom-color: var(--color-foreground);
}