Files
Foundry-VTT-Docker/resources/app/public/less2/reset.less
2025-01-04 00:34:03 +01:00

56 lines
726 B
Plaintext

*,
*::before,
*::after {
box-sizing: border-box; // Box-sizing always
user-select: none; // Prevent text selection except as opt-in
}
// Body sizing
body {
width: 100%;
height: 100vh;
margin: 0;
text-rendering: optimizeSpeed;
line-height: 1.25;
user-select: none;
}
// Remove element margins
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
margin: 0;
}
// No list style for lists with a "list" role
ul[role="list"],
ol[role="list"] {
list-style: none;
}
// Prefer smooth scrolling
html:focus-within {
scroll-behavior: smooth;
}
// Image sizing
img {
max-width: 100%;
display: block;
}
// Inputs and buttons should inherit font choices
input,
button,
textarea,
select {
font: inherit;
}