dappconnect-chat-sdk/apps/web/styles/reset.css

95 lines
1.3 KiB
CSS
Raw Normal View History

2023-01-16 12:08:24 +00:00
/*
1. Use a more-intuitive box-sizing model.
*/
*,
*::before,
*::after {
box-sizing: border-box;
}
:root {
font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
font-size: 16px;
line-height: 24px;
font-weight: 400;
color-scheme: light dark;
color: rgba(255, 255, 255, 0.87);
background-color: #fff;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%;
}
/*
2. Remove default margin
*/
* {
margin: 0;
}
2023-01-23 13:36:18 +00:00
2023-01-16 12:08:24 +00:00
/*
3. Allow percentage-based heights in the application
*/
html,
body {
2023-01-23 13:36:18 +00:00
height: 100vh;
width: 100vw;
overflow: hidden;
overscroll-behavior-y: none; /* not working on Safari */
2023-01-16 12:08:24 +00:00
}
/*
Typographic tweaks!
4. Add accessible line-height
5. Improve text rendering
*/
body {
line-height: 1.5;
-webkit-font-smoothing: antialiased;
2023-01-23 13:36:18 +00:00
padding: 0;
-webkit-overflow-scrolling: touch;
2023-01-16 12:08:24 +00:00
}
/*
6. Improve media defaults
*/
img,
picture,
video,
canvas,
svg {
display: block;
max-width: 100%;
}
/*
7. Remove built-in form typography styles
*/
input,
button,
textarea,
select {
font: inherit;
all: unset;
2023-01-16 12:08:24 +00:00
}
/*
8. Avoid text overflows
*/
p,
h1,
h2,
h3,
h4,
h5,
h6 {
overflow-wrap: break-word;
}
/*
9. Create a root stacking context
*/
#root,
#__next {
isolation: isolate;
}