Initial
This commit is contained in:
55
resources/app/public/less2/reset.less
Normal file
55
resources/app/public/less2/reset.less
Normal file
@@ -0,0 +1,55 @@
|
||||
*,
|
||||
*::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;
|
||||
}
|
||||
Reference in New Issue
Block a user