content style update: rm thin; rm menu padding

This commit is contained in:
tmshv committed 2020-02-21 21:33:49 +03:00
1 parent f2b548aee8
commit 1bdea85b1b
14 files changed
+16 -92

No files matched your search

-64
View File
@@ -1,29 +1,11 @@
.content {
// margin: 0 auto 1em;
width: var(--content-width);
}
.content_full {
--content-width: var(--content-full);
}
.content_wide {
--content-width: var(--content-wide);
}
.content_semi-wide {
--content-width: var(--content-semi-wide);
}
.content_thin {
--content-width: var(--content-thin);
}
.content--padding-top--menu {
padding-top: var(--menu-thickness);
}
// Animation on load
@keyframes smallSlideInFromTop {
@@ -44,49 +26,3 @@
.content.reduced-motion {
animation: none;
}
@media screen and (min-width: var(--tablet-min-width)) and (max-width: var(--tablet-max-width)) {
$thin-value: 70%;
$wide-value: 95%;
$semi-wide-value: 80%;
.content {
overflow-x: scroll;
&.content_wide {
width: $wide-value;
}
&.content_semi-wide {
width: $semi-wide-value;
}
&.content_thin {
width: $thin-value;
}
&.content--padding-top--menu {
padding-top: var(--double-margin);
}
}
@media screen and (orientation: portrait) {
$wide-value: 100%;
$thin-value: 80%;
$semi-wide-value: 95%;
.content {
&.content_wide {
width: $wide-value;
}
&.content_semi-wide {
width: $semi-wide-value;
}
&.content_thin {
width: $thin-value;
}
}
}
}