styles: fix content width
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Dmitriy Pleshevskiy 2022-06-18 00:10:37 +03:00
parent e2cc5b2a2b
commit 8902fc7e49
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215
4 changed files with 35 additions and 31 deletions

View file

@ -4,17 +4,17 @@
--default-color-black-0: hsla(0, 0%, 0%, 0); --default-color-black-0: hsla(0, 0%, 0%, 0);
--default-color-black-0x15: hsla(0, 0%, 0%, 0.15); --default-color-black-0x15: hsla(0, 0%, 0%, 0.15);
--default-color-black-0x6: hsla(0, 0%, 0%, 0.6); --default-color-black-0x6: hsla(0, 0%, 0%, 0.6);
--default-color-white: #FFFFFF; --default-color-white: #ffffff;
--default-color-warning: #ffee58; --default-color-warning: #ffee58;
--default-color-error: #b00008; --default-color-error: #b00008;
--default-color-success: #417505; --default-color-success: #417505;
--color-brand-blue: #1966df; --color-brand-blue: #1966df;
--color-graphite: #212121; --color-graphite: #212121;
--color-warm-gray: #757575; --color-warm-gray: #757575;
--color-pale: #B6B6B6; --color-pale: #b6b6b6;
--color-faded: #E0E0E0; --color-faded: #e0e0e0;
--max-width: 1440px; --max-content-width: 1440px;
--min-width: 320px; --min-content-width: 320px;
--rad-std-half: 0.125rem; --rad-std-half: 0.125rem;
--rad-std: 0.25rem; --rad-std: 0.25rem;
--rad-std-x2: 0.5rem; --rad-std-x2: 0.5rem;
@ -55,7 +55,7 @@ body {
color: var(--color-graphite); color: var(--color-graphite);
font-weight: var(--f-wei-regular); font-weight: var(--f-wei-regular);
font-family: var(--f-family); font-family: var(--f-family);
min-width: var(--min-width); min-width: var(--min-content-width);
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
@ -451,7 +451,9 @@ svg:not(:root) {
.responsive-typography ul > * + *, .responsive-typography ol > * + * { .responsive-typography ul > * + *, .responsive-typography ol > * + * {
margin-top: 2rem; margin-top: 2rem;
} }
.responsive-typography > div + div, .responsive-typography p + p { .responsive-typography p + ul,
.responsive-typography ul + p,
.responsive-typography p + p {
margin-top: 1rem; margin-top: 1rem;
} }
.responsive-typography li + li { .responsive-typography li + li {

View file

@ -1 +1 @@
{"version":3,"sourceRoot":"","sources":["../../styles/base/reset.scss","../../styles/base/layout.scss","../../styles/atoms/sizes.scss","../../styles/atoms/white-spaces.scss","../../styles/mixins/white-spaces.scss","../../styles/atoms/flex.scss","../../styles/mixins/flex.scss","../../styles/atoms/typography.scss","../../styles/atoms/misc.scss","../../styles/uikit/main-menu.scss","../../styles/uikit/dropdown.scss"],"names":[],"mappings":";AAEA;EAEE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EAEA;EACA;EAEA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;;;AAGF;AAAA;AAAA;EAGE;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;;;AAKF;EACE;EACA;;AAEA;EAEE;;;AAIJ;EACE;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;EACA;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;AAAA;AAAA;AAAA;EAIE;EACA;;;AAGF;AAAA;AAAA;AAAA;EAIE;;;AAGF;AAAA;AAAA;EAGE;EACA;;;AAGF;AAAA;AAAA;AAAA;EAIE;;;AAGF;AAAA;EAEE;;;AAGF;EACE;EACA;;;AAGF;AA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;AAGF;EACE;EACA;EACA;EACA;EACA;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAEA;EACE;;AAMJ;EACE;;AAGF;EACE","file":"main.css"} {"version":3,"sourceRoot":"","sources":["../../styles/base/reset.scss","../../styles/base/layout.scss","../../styles/atoms/sizes.scss","../../styles/atoms/white-spaces.scss","../../styles/mixins/white-spaces.scss","../../styles/atoms/flex.scss","../../styles/mixins/flex.scss","../../styles/atoms/typography.scss","../../styles/atoms/misc.scss","../../styles/uikit/main-menu.scss","../../styles/uikit/dropdown.scss"],"names":[],"mappings":";AAEA;EAEE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EAEA;EACA;EAEA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;;;AAGF;AAAA;AAAA;EAGE;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;;;AAKF;EACE;EACA;;AAEA;EAEE;;;AAIJ;EACE;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;EACA;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;AAAA;AAAA;AAAA;EAIE;EACA;;;AAGF;AAAA;AAAA;AAAA;EAIE;;;AAGF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;AAAA;AAAA;AAAA;AAMA;EACE;EACA;;AAEA;EACE;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAEA;EACE;;AAMJ;EACE;;AAGF;EACE","file":"main.css"}

View file

@ -42,7 +42,9 @@
} }
} }
> div + div, p + p { p + ul,
ul + p,
p + p {
margin-top: 1rem; margin-top: 1rem;
} }

View file

@ -6,7 +6,7 @@
--default-color-black-0: hsla(0, 0%, 0%, 0); --default-color-black-0: hsla(0, 0%, 0%, 0);
--default-color-black-0x15: hsla(0, 0%, 0%, 0.15); --default-color-black-0x15: hsla(0, 0%, 0%, 0.15);
--default-color-black-0x6: hsla(0, 0%, 0%, 0.6); --default-color-black-0x6: hsla(0, 0%, 0%, 0.6);
--default-color-white: #FFFFFF; --default-color-white: #ffffff;
--default-color-warning: #ffee58; --default-color-warning: #ffee58;
--default-color-error: #b00008; --default-color-error: #b00008;
--default-color-success: #417505; --default-color-success: #417505;
@ -14,11 +14,11 @@
--color-brand-blue: #1966df; --color-brand-blue: #1966df;
--color-graphite: #212121; --color-graphite: #212121;
--color-warm-gray: #757575; --color-warm-gray: #757575;
--color-pale: #B6B6B6; --color-pale: #b6b6b6;
--color-faded: #E0E0E0; --color-faded: #e0e0e0;
// Layout // Layout
--max-width: #{$page-max-width + px}; --max-content-width: #{$page-max-width + px};
--min-width: #{$page-min-width + px}; --min-content-width: #{$page-min-width + px};
// Borders // Borders
--rad-std-half: #{math.div($radius, 2)}; --rad-std-half: #{math.div($radius, 2)};
--rad-std: #{$radius}; --rad-std: #{$radius};
@ -62,7 +62,7 @@ body {
color: var(--color-graphite); color: var(--color-graphite);
font-weight: var(--f-wei-regular); font-weight: var(--f-wei-regular);
font-family: var(--f-family); font-family: var(--f-family);
min-width: var(--min-width); min-width: var(--min-content-width);
width: 100%; width: 100%;
height: 100%; height: 100%;
} }