~xdavidwu/xdavidwu.link

bd0d643a4cb847638c0d4e95df3173d446e9dbc8 — xdavidwu 4 years ago 4342c0a
noscript: make search invisible
M _sass/minimal-mistakes.scss => _sass/minimal-mistakes.scss +2 -0
@@ 38,3 38,5 @@
@import "minimal-mistakes/archive";
@import "minimal-mistakes/sidebar";
@import "minimal-mistakes/print";

@import "minimal-mistakes/noscript";

M _sass/minimal-mistakes/_navigation.scss => _sass/minimal-mistakes/_navigation.scss +0 -8
@@ 287,14 287,6 @@
  }
}

.no-js {
  .greedy-nav {
    .visible-links {
      flex-wrap: wrap;
    }
  }
}

/*
     Navigation list
     ========================================================================== */

A _sass/minimal-mistakes/_noscript.scss => _sass/minimal-mistakes/_noscript.scss +10 -0
@@ 0,0 1,10 @@
.no-js {
  .greedy-nav {
    .visible-links {
      flex-wrap: wrap;
    }
    .search__toggle {
      display: none;
    }
  }
}