Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

560 static site nav update css #13

Merged
merged 2 commits into from
Nov 27, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dist/sandbox-main.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/static-main.css

Large diffs are not rendered by default.

52 changes: 20 additions & 32 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

105 changes: 0 additions & 105 deletions scss/partials/static/_legacy.scss
Original file line number Diff line number Diff line change
Expand Up @@ -78,56 +78,6 @@ $blueberry-lime-gradient: linear-gradient(30deg, $blueberry 10%, $lime 90%);
width: 100%;
}

.main-nav {

ul {
list-style-type: none;

li {
display: inline-block;
margin-left: 30px;

a {
color: $color-gray-dark;
text-decoration: none;
}
}
}
}

.other-main-nav {
ul {
list-style-type: none;

li {
display: inline-block;
a {
color: $color-gray-dark;
text-decoration: none;
font-size: 26px;
}
}
}
}

@media only screen and (max-width: 544px) {
.main-nav {
display: none;
}
}

@media only screen and (min-width: 545px) and (max-width: 951px ) {
.ctas {
width: 700px;
}
}

@media only screen and (min-width: 544px) and (max-width: 738px ) {
.main-nav {
font-size: 14px;
}
}

.subnav {
position: sticky;
top: 24px;
Expand Down Expand Up @@ -174,40 +124,6 @@ $blueberry-lime-gradient: linear-gradient(30deg, $blueberry 10%, $lime 90%);

}

//
// Mobile nav
//
.mobile-nav-trigger {
position: fixed;
right: 0;
bottom: 0;
left: 0;
z-index: 1000;
font-weight: bold;
text-decoration: none;
}

.mobile-nav-tray {
position: fixed;
top: 100%;
height: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 999;
transition: all 0.5s ease;

.mobile-nav ul li a {
color: $color-gray-dark;
text-decoration: none;
}
}

.mobile-nav-tray-expanded {
top: 0;
height: 100%;
transition: all 0.5s ease;
}

//
// Heroes
Expand Down Expand Up @@ -273,27 +189,6 @@ h2 {
background: $ocean-teal-gradient;
}

header {
.ctas a:not(:first-child) {
margin-left: 16px;
}
}

@media only screen and (max-width: 544px) {
header {
.ctas a:not(:first-child) {
margin-left: 0px;
margin-top: 16px;
}
.ds-text--lead {
margin-bottom: 40px;
}
.ds-c-badge {
margin-bottom: 8px;
}
}
}

.transparent-box {
background-color: rgba(255, 255, 255, 0.8);
}
Expand Down
Loading