mirror of
https://github.com/inspec/inspec
synced 2024-12-20 18:13:20 +00:00
08b1a5da88
A few minor styling fixes for the docs nav for mobile, refactoring the markup to remove unneeded parent elements, and fixing a bug where the nav overlapped with the footer if the window was too short.
27 lines
No EOL
382 B
SCSS
27 lines
No EOL
382 B
SCSS
body {
|
|
position: relative;
|
|
font-family: $main-font;
|
|
color: $body-text;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.row {
|
|
max-width: 1200px;
|
|
}
|
|
|
|
#main-content {
|
|
margin-top: 64px;
|
|
|
|
@include nav-small {
|
|
padding: 0 $side-nav-padding-small;
|
|
}
|
|
|
|
@include nav-large {
|
|
padding-right: 10px;
|
|
margin: $top-nav-height 0 0 ($side-nav-width + 50px);
|
|
}
|
|
} |