metro4
Version:
The front-end framework for Build responsive, mobile-first projects on the web with the first front-end component library in Metro Style
236 lines (235 loc) • 3.15 kB
CSS
/*
* Metro 4 Components Library v4.5.0 (https://metroui.org.ua)
* Copyright 2012-2021 Sergey Pimenov
* Built at 01/08/2021 18:53:43
* Licensed under MIT
*/
*,
*::before,
*::after {
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
html {
-ms-overflow-style: scrollbar;
-webkit-tap-highlight-color: transparent;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
font-family: sans-serif;
scroll-behavior: smooth;
}
body {
line-height: 1.5;
overflow-x: hidden;
background-color: #ffffff;
min-height: 100vh;
text-rendering: optimizeSpeed;
}
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
margin: 0;
padding: 0;
border: 0;
vertical-align: baseline;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
display: block;
}
blockquote,
q {
quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
content: '';
}
table {
border-collapse: collapse;
border-spacing: 0;
}
base,
basefont,
datalist,
head,
meta,
script,
style,
title,
noembed,
param,
template {
display: none;
}
[tabindex="-1"]:focus {
outline: none ;
}
[hidden] {
display: none ;
}
::-webkit-file-upload-button {
font: inherit;
-webkit-appearance: button;
}
[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
height: auto;
}
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"] {
-webkit-appearance: listbox;
}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
padding: 0;
border-style: none;
}
button,
html [type="button"],
[type="reset"],
[type="submit"] {
-webkit-appearance: button;
}
a,
area,
button,
input,
label,
select,
summary,
textarea {
touch-action: manipulation;
}
svg:not(:root) {
overflow: hidden;
}
img {
vertical-align: middle;
border-style: none;
max-width: 100%;
}
div {
position: relative;
}
article > * + * {
margin-top: 1em;
}
input,
button,
textarea,
select {
font: inherit;
}
@media (prefers-reduced-motion: reduce) {
* {
-webkit-animation-duration: 0.01ms ;
animation-duration: 0.01ms ;
-webkit-animation-iteration-count: 1 ;
animation-iteration-count: 1 ;
-webkit-transition-duration: 0.01ms ;
transition-duration: 0.01ms ;
scroll-behavior: auto ;
}
}
[disabled] {
pointer-events: none;
color: lightgray;
}