#27, Set minimum page width to 320px for smaller devices

This commit is contained in:
Alex Shpak 2019-03-25 19:32:02 +01:00
parent fdc6fdd2de
commit 92c63a39e6
3 changed files with 9 additions and 13 deletions

View file

@ -44,7 +44,7 @@
@mixin dark-links {
a {
color: $nav-link-color;
color: $color-dark-link;
}
a.active {

View file

@ -23,21 +23,18 @@ $black: #000;
$color-link: #004ed0;
$color-visited-link: #8440f1;
$color-dark-link: $gray-800;
$body-background: white;
$body-font-color: $gray-800;
$body-font-weight: 400;
$body-min-width: 25rem;
$nav-background: $body-background;
$nav-link-color: $gray-800;
$header-height: 3.5rem;
$menu-width: 18rem;
$toc-width: 14rem;
$container-min-width: $body-min-width;
$body-min-width: 20rem;
$container-max-width: 80rem;
$sm-breakpoint: $menu-width + $body-min-width;
$header-height: 3.5rem;
$menu-width: 16rem;
$toc-width: 14rem;
$sm-breakpoint: $menu-width + $body-min-width + 5;
$md-breakpoint: $sm-breakpoint + $toc-width;

View file

@ -84,7 +84,6 @@ ul.pagination {
}
.container {
min-width: $container-min-width;
max-width: $container-max-width;
margin: 0 auto;
}