-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update design to match v5.2.0 * Update for v1.8.2 * Add figma link in hero, tweak a few things * Update to use Bootstrap via npm * Fixes #1308: Update search field to use type=search * Fixes #1274: Update clipboard.min.js to latest * Only import the font CSS on the homepage * Fix test * Clean up CSS errors * Fathom * update bootstrap versions * Fix version config
- Loading branch information
Showing
24 changed files
with
324 additions
and
155 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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 |
---|---|---|
@@ -1,37 +1,64 @@ | ||
.bd-navbar { | ||
padding: .75rem 0; | ||
background-color: $bd-purple-bright; | ||
background-color: transparent; | ||
background-image: linear-gradient(to bottom, rgba(var(--bd-violet-rgb), 1), rgba(var(--bd-violet-rgb), .95)); | ||
box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15), inset 0 -1px 0 rgba(0, 0, 0, .15); | ||
|
||
.navbar-toggler { | ||
padding: 0; | ||
margin-right: -.5rem; | ||
border: 0; | ||
|
||
&:first-child { | ||
margin-left: -.5rem; | ||
} | ||
|
||
.bi { | ||
width: 2rem; | ||
fill: currentcolor; | ||
width: 1.5rem; | ||
height: 1.5rem; | ||
} | ||
|
||
&:focus { | ||
box-shadow: none; | ||
} | ||
} | ||
|
||
.navbar-nav { | ||
.nav-link { | ||
padding-right: $spacer / 4; | ||
padding-left: $spacer / 4; | ||
color: rgba($white, .85); | ||
|
||
&:hover, | ||
&:focus { | ||
color: $white; | ||
} | ||
|
||
&.active { | ||
font-weight: 600; | ||
color: $white; | ||
} | ||
.navbar-brand { | ||
transition: .2s ease-in-out transform; | ||
|
||
&:hover { | ||
transform: rotate(-5deg) scale(1.1); | ||
} | ||
} | ||
|
||
.navbar-toggler, | ||
.nav-link { | ||
padding-right: $spacer * .25; | ||
padding-left: $spacer * .25; | ||
color: rgba($white, .85); | ||
|
||
&:hover, | ||
&:focus { | ||
color: $white; | ||
} | ||
|
||
&.active { | ||
font-weight: 600; | ||
color: $white; | ||
} | ||
} | ||
|
||
.navbar-nav-svg { | ||
width: 1rem; | ||
height: 1rem; | ||
display: inline-block; | ||
vertical-align: -.125rem; | ||
} | ||
|
||
.offcanvas-lg { | ||
background-color: var(--bd-violet); | ||
border-left: 0; | ||
|
||
@media (max-width: 992px) { | ||
box-shadow: $box-shadow-lg; | ||
} | ||
} | ||
} |
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
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 |
---|---|---|
@@ -1,16 +1,15 @@ | ||
$white: #fff; | ||
$blue: #007bff; | ||
$gray-100: #f8f9fa; | ||
$gray-500: #adb5bd; | ||
$gray-700: #495057; | ||
$gray-900: #212529; | ||
$primary: #0d6efd; | ||
$teal-100: #d2f4ea; | ||
|
||
// Local docs variables | ||
$bd-purple: #563d7c; | ||
$bd-purple-bright: lighten(saturate($bd-purple, 5%), 15%); // #7952b3 | ||
$bd-dark: #2a2730; | ||
$bd-download: #ffe484; | ||
$bd-purple: #4c0bce; | ||
$bd-violet: lighten(saturate($bd-purple, 5%), 15%); | ||
$bd-accent: #ffe484; | ||
$bd-gutter-x: 3rem; | ||
|
||
$spacer: 1rem; | ||
:root { | ||
--bd-purple: #{$bd-purple}; | ||
--bd-violet: #{$bd-violet}; | ||
--bd-accent: #{$bd-accent}; | ||
--bd-violet-rgb: #{to-rgb($bd-violet)}; | ||
--bd-accent-rgb: #{to-rgb($bd-accent)}; | ||
--bd-pink-rgb: #{to-rgb($pink-500)}; | ||
--bd-teal-rgb: #{to-rgb($teal-500)}; | ||
} |
Oops, something went wrong.