Files
lislgosms/src/styles/reset.css
T

85 lines
1.3 KiB
CSS

/*
* Foundation reset and document defaults.
* Keep this file element-scoped: component, shell and page classes belong in later layers.
*/
* {
box-sizing: border-box;
}
html {
text-size-adjust: 100%;
}
body {
margin: 0;
min-width: 320px;
min-height: 100vh;
background: var(--color-bg);
color: var(--color-text);
font-family: var(--font-family);
font-size: var(--font-size-md);
line-height: var(--line-height-base);
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
}
a {
color: inherit;
text-decoration: none;
}
button,
input,
textarea,
select {
font: inherit;
}
button {
cursor: pointer;
}
button:disabled,
input:disabled,
textarea:disabled,
select:disabled {
cursor: not-allowed;
}
:focus {
outline: none;
}
:focus-visible {
box-shadow: var(--focus-ring);
}
h1,
h2,
h3,
p {
margin: 0;
}
h1 {
color: var(--color-text-strong);
font-size: var(--font-size-2xl);
font-weight: var(--font-weight-bold);
line-height: var(--line-height-tight);
}
h2 {
color: var(--color-text-strong);
font-size: var(--font-size-xl);
font-weight: var(--font-weight-semibold);
line-height: var(--line-height-tight);
}
h3 {
color: var(--color-text-strong);
font-size: var(--font-size-lg);
font-weight: var(--font-weight-semibold);
line-height: var(--line-height-tight);
}