mirror of
https://github.com/inspec/inspec
synced 2024-12-18 17:14:33 +00:00
c351d27334
Since Google Custom Search is EOL-ing, we are replacing it with Swiftype. This adds the necessary markup and JS to make that happen, as well as some CSS overrides to make it fit with the styling on the site. Signed-off-by: Maggie Walker <magwalk@gmail.com>
51 lines
777 B
SCSS
51 lines
777 B
SCSS
//stickjs - subtract header height
|
|
|
|
.is_stuck {
|
|
margin-top: $percent_md;
|
|
}
|
|
|
|
//overwriting default ul li styles for side bar
|
|
|
|
ul.main-sidebar--links {
|
|
list-style-type: none;
|
|
margin-bottom: $percent_sm!important;
|
|
|
|
@media screen and (max-width: 640px) {
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
#sidebar {
|
|
@media screen and (max-width: 640px) {
|
|
margin-bottom: $percent_md;
|
|
}
|
|
}
|
|
|
|
ul.main-sidebar--links li {
|
|
margin-left: 0em;
|
|
}
|
|
|
|
ul.main-sidebar--links li:last-child {
|
|
margin-bottom: $percent_sm!important;
|
|
|
|
@include nav-small {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
li > i.focus {
|
|
color: white;
|
|
}
|
|
|
|
li.t-purple > i.focus{
|
|
display: inline-flex;
|
|
color: $color_purple;
|
|
|
|
@include nav-small {
|
|
float: right;
|
|
}
|
|
|
|
@media screen and (max-width: 640px) {
|
|
color: white;
|
|
}
|
|
}
|