@neat-team/base-styles
Version:
Custom css style reset file
118 lines (99 loc) • 1.79 kB
CSS
* {
scrollbar-width: thin;
scrollbar-color: #0d6efd #6c757d;
}
*::-webkit-scrollbar {
width: 12px;
}
*::-webkit-scrollbar-track {
background: #6c757d;
}
*::-webkit-scrollbar-thumb {
background-color: #0d6efd;
border-radius: 5px;
border: 3px solid #6c757d;
}
::selection,
::-moz-selection {
color: white;
background-color: #0d6efd;
}
*,
::before,
::after {
box-sizing: border-box;
background-repeat: no-repeat;
margin: 0;
padding: 0;
}
::before,
::after {
text-decoration: inherit;
vertical-align: inherit;
}
html {
cursor: default;
line-height: 1.5;
overflow-wrap: break-word;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
-webkit-tap-highlight-color: transparent;
-moz-text-size-adjust: none;
-webkit-text-size-adjust: none;
text-size-adjust: none;
font-size: 62.5%;
}
body {
color: black;
font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
font-size: 1.4rem;
}
:target {
scroll-margin-block: 5ex;
}
ul[role=list],
ol[role=list] {
list-style: none;
}
body {
min-height: 100vh;
}
h1,
h2,
h3,
h4,
button,
input,
label {
line-height: 1.1;
}
h1,
h2,
h3,
h4 {
text-wrap: balance;
}
/* A elements that don't have a class get default styles */
a:not([class]) {
text-decoration-skip-ink: auto;
color: currentColor;
}
/* Make images easier to work with */
img,
picture {
max-width: 100%;
display: block;
}
/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
font: inherit;
}
/* Make sure textarea without a rows attribute are not tiny */
textarea:not([rows]) {
min-height: 10em;
}
/*# sourceMappingURL=default.css.map */