122 lines
1.9 KiB
CSS
122 lines
1.9 KiB
CSS
/*
|
|
Reset
|
|
========================================
|
|
*/
|
|
|
|
/* Box sizing normalization */
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Document basics */
|
|
html {
|
|
font-size: 100%;
|
|
-webkit-text-size-adjust: 100%;
|
|
-ms-text-size-adjust: 100%;
|
|
}
|
|
|
|
/* Reset margins */
|
|
body,
|
|
h1, h2, h3, h4, h5, h6,
|
|
p, blockquote, pre,
|
|
dl, dd, ol, ul,
|
|
form, fieldset, legend,
|
|
figure, figcaption {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
/* Body defaults */
|
|
body {
|
|
line-height: 1.5;
|
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", sans-serif;
|
|
}
|
|
|
|
/* Lists */
|
|
ul, ol {
|
|
list-style: none;
|
|
}
|
|
|
|
/* Tables */
|
|
table {
|
|
border-collapse: collapse;
|
|
border-spacing: 0;
|
|
}
|
|
|
|
/* Media elements */
|
|
img, svg, video, canvas, audio, iframe, embed, object {
|
|
display: block;
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
/* Form elements */
|
|
button,
|
|
input,
|
|
select,
|
|
textarea {
|
|
font: inherit;
|
|
color: inherit;
|
|
margin: 0;
|
|
}
|
|
|
|
/* Button defaults */
|
|
button {
|
|
background: transparent;
|
|
border: 0;
|
|
padding: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* Links */
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* Pre/Code formatting */
|
|
pre, code, kbd, samp {
|
|
font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
|
|
font-size: 1em;
|
|
}
|
|
|
|
/* Subscript/Superscript */
|
|
sub, sup {
|
|
font-size: 75%;
|
|
line-height: 0;
|
|
position: relative;
|
|
vertical-align: baseline;
|
|
}
|
|
|
|
sub {
|
|
bottom: -0.25em;
|
|
}
|
|
|
|
sup {
|
|
top: -0.5em;
|
|
}
|
|
|
|
/* Horizontal rule */
|
|
hr {
|
|
height: 0;
|
|
border: 0;
|
|
border-top: 1px solid #e5e5e5;
|
|
}
|
|
|
|
/* Accessibility improvements */
|
|
[tabindex="-1"]:focus {
|
|
outline: none !important;
|
|
}
|
|
|
|
/* Remove animations for users who prefer reduced motion */
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*, *::before, *::after {
|
|
animation-duration: 0.01ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
transition-duration: 0.01ms !important;
|
|
scroll-behavior: auto !important;
|
|
}
|
|
}
|