Skip to content

Commit

Permalink
ux: header, code + negative spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
h-enk committed Mar 5, 2021
1 parent 22afec7 commit 37bcccf
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
19 changes: 19 additions & 0 deletions assets/scss/common/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,25 @@ $pink-500: #d32e9d;

$primary: $purple;

// Options
//
// Quickly modify global styling by enabling or disabling optional features.

$enable-caret: true;
$enable-rounded: true;
$enable-shadows: false;
$enable-gradients: false;
$enable-transitions: true;
$enable-reduced-motion: true;
$enable-smooth-scroll: true;
$enable-grid-classes: true;
$enable-button-pointers: true;
$enable-rfs: true;
$enable-validation-icons: true;
$enable-negative-margins: true;
$enable-deprecation-messages: true;
$enable-important-utilities: true;

/** Bootstrap navbar fix (https://git.io/fADqW) */
$navbar-dark-toggler-icon-bg: none;
$navbar-light-toggler-icon-bg: none;
Expand Down
2 changes: 1 addition & 1 deletion assets/scss/components/_code.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ samp {
pre {
background: $beige;
color: $black;
line-height: $line-height-lg;
line-height: $line-height-base;
margin: 2rem 0;
overflow: auto;
padding: 1.25rem 1.5rem;
Expand Down
4 changes: 4 additions & 0 deletions assets/scss/layouts/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
color: $body-color;
}

.navbar-light .navbar-nav .active .nav-link {
color: $primary;
}

@include media-breakpoint-up(md) {
.navbar-brand {
font-size: $font-size-xl;
Expand Down

0 comments on commit 37bcccf

Please sign in to comment.