web: Common: Added base styles to storybook

This commit is contained in:
Alexey Safronov 2019-12-14 13:21:20 +03:00
parent c4611513b7
commit e698a19140

View File

@ -4,3 +4,34 @@ It can also be an scss file, however,
you have to go to `webpack.config.js` file you have to go to `webpack.config.js` file
and enable the options in there and enable the options in there
*/ */
body {
font-size: 13px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
"Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
margin: 0;
font-size: 1rem;
text-align: left;
}
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
margin-bottom: 0.5rem;
font-weight: 500;
line-height: 1.2;
}
h1, h2, h3, h4, h5, h6 {
margin-top: 0;
margin-bottom: 0.5rem;
}
h5, .h5 {
font-size: 1.25rem;
}
.Toastify__toast-container--top-center {
top: 1em;
left: 50%;
margin-left: -160px;
}