File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 position : relative;
44 display : block;
55 width : 100% ;
6- clear : both; /* This prevents the map from 'floating' up into the header space */
7- margin-top : 20 px ;
6+ clear : both; /* CRITICAL: This forces the map to stay below the nav */
7+ margin-top : 50 px ; /* Gives the header some breathing room */
88 }
99/* old line 2: .map-wrap { position: relative; display: block; width: 100%; }
1010
Original file line number Diff line number Diff line change 77<!doctype html>
88< html lang ="{{ site.locale | slice: 0,2 }} " class ="no-js "{% if site.site_theme == "dark " %} data-theme ="dark "{% endif %} >
99 < head >
10+ < style >
11+ .masthead { /* new stuff */
12+ z-index : 20 ;
13+ position : relative;
14+ }
15+ </ style >
1016 {% include head.html %}
1117 {% include head/custom.html %}
1218 </ head >
Original file line number Diff line number Diff line change 4141 " vendor/font-awesome/solid" ,
4242 " vendor/font-awesome/brands"
4343;
44- /* Fix for dark mode toggle shifting */
44+ /* --- edits being added --- */
45+ @import " minimal-mistakes/skins/{{ site.minimal_mistakes_skin | default: 'default' }}" ;
46+ @import " minimal-mistakes" ;
47+
48+ /* --- PASTE THIS AT THE VERY BOTTOM --- */
49+ .greedy-nav {
50+ position : relative ;
51+ display : flex ;
52+ justify-content : space-between ;
53+ align-items : center ;
54+ overflow : visible !important ; /* This stops the toggle from disappearing/shifting */
55+ }
56+
4557.greedy-nav .search-toggle ,
4658.greedy-nav .nav-selector {
59+ margin-left : 0 ;
4760 display : flex !important ;
48- align-items : center !important ;
49- vertical-align : middle !important ;
61+ align-items : center ;
5062}
51-
52- .greedy-nav {
53- overflow : visible !important ; /* Prevents the icon from being 'pushed' out of view */
54- }
63+ /* -------------------------------------- */
You can’t perform that action at this time.
0 commit comments