-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add bare minimum styles for mobile devices tables This is to address #10 * Remove changes for code blocks * Make tables scrollable This includes changes for styles, that lead to artifacts. * Added points from code review
- Loading branch information
Showing
3 changed files
with
54 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// This needs to be an odd number, to prevent some slightly thicker line on | ||
// horizontal scroll (https://github.com/gbdev/rgbds-www/pull/26#issuecomment-989158940) | ||
$navbar-height: 51px; | ||
$navbar-border-bottom: 1px; | ||
$navbar-box-height: $navbar-height + $navbar-border-bottom; | ||
$navbar-breakpoint: 720px; // Width at which the navbar collapses | ||
$navbar-bg-color: #e2e8cb; | ||
|
||
$logo-padding-top: 10px; | ||
$logo-padding-bottom: 10px; | ||
$logo-padding-left: 20px; | ||
$logo-padding-right: 0px; | ||
|
||
$nav-link-padding-top: 7px; | ||
$nav-link-padding-bottom: 14px; | ||
$nav-link-padding-left: 10px; | ||
$nav-link-padding-right: 10px; | ||
$nav-logo-padding-top: 5px; | ||
$nav-logo-padding-bottom: 5px; | ||
|
||
$max-width: 50em; | ||
|
||
/// media-queries | ||
$mobile-device: 480px; | ||
|
||
/// colors | ||
$main-background: #eee; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters