mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-09-13 05:13:33 -06:00
Removed hardcoded styling from layout, improved aux nav
(cherry picked from commit fd3c68cd1a39e059180c35c1d56ffa33ef4dfde4)
This commit is contained in:
@@ -148,7 +148,7 @@
|
||||
@include fs-6;
|
||||
}
|
||||
|
||||
.menu-button {
|
||||
.site-button {
|
||||
appearance: none;
|
||||
display: flex;
|
||||
height: 100%;
|
||||
@@ -158,6 +158,7 @@
|
||||
text-transform: uppercase;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
@include fs-3;
|
||||
|
||||
@include mq(md) {
|
||||
display: none;
|
||||
@@ -185,6 +186,8 @@ body {
|
||||
left: 0;
|
||||
padding-top: $sp-4;
|
||||
padding-bottom: $sp-4;
|
||||
color: $grey-dk-000;
|
||||
@include fs-2;
|
||||
|
||||
@include mq(md) {
|
||||
position: static;
|
||||
|
@@ -81,9 +81,27 @@
|
||||
|
||||
.aux-nav {
|
||||
align-self: center;
|
||||
|
||||
.aux-nav-list {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
@include fs-2;
|
||||
}
|
||||
|
||||
.aux-nav-list-item {
|
||||
display: inline-block;
|
||||
margin-right: $sp-2;
|
||||
@include fs-2;
|
||||
|
||||
&:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Breadcrumb nav
|
||||
|
||||
.breadcrumb-nav {
|
||||
@include mq(md) {
|
||||
margin-top: -$sp-4;
|
||||
|
Reference in New Issue
Block a user