berrypod/assets/css/shop/reset.css

94 lines
1.2 KiB
CSS
Raw Normal View History

/* Reset minimal, modern defaults
Normalises browser inconsistencies without being opinionated. */
@layer reset {
*,
*::before,
*::after {
box-sizing: border-box;
}
* {
margin: 0;
}
html {
height: 100%;
-webkit-text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
text-size-adjust: 100%;
}
body {
height: 100%;
line-height: 1.5;
-webkit-font-smoothing: antialiased;
}
img,
picture,
video,
canvas,
svg {
display: block;
max-width: 100%;
}
input,
button,
textarea,
select {
font: inherit;
color: inherit;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
overflow-wrap: break-word;
}
a {
color: inherit;
text-decoration-skip-ink: auto;
}
ul,
ol {
list-style: none;
padding: 0;
}
fieldset {
border: none;
padding: 0;
}
table {
border-collapse: collapse;
}
/* Remove default button styling */
button {
background: none;
border: none;
padding: 0;
cursor: pointer;
}
/* Full-height shop root */
.shop-root {
height: 100%;
}
/* LiveView wrapper divs are layout-invisible */
[data-phx-session],
[data-phx-teleported-src] {
display: contents;
}
}