mirror of
https://github.com/inspec/inspec
synced 2024-12-24 20:13:16 +00:00
3b41a5d7cf
* Mobile media queries * Dominik's slider broke * slide groups fix Signed-off-by: Dominik Richter <dominik.richter@gmail.com> * Optimization changes
63 lines
864 B
SCSS
63 lines
864 B
SCSS
//stickjs - subtract header height
|
|
|
|
.is_stuck {
|
|
margin-top: $percent_md;
|
|
}
|
|
|
|
//overwriting default ul li styles for side bar
|
|
|
|
#sidebar {
|
|
position: absolute;
|
|
}
|
|
|
|
#mainbar {
|
|
margin-left: 25%;
|
|
|
|
@include mobile {
|
|
margin-left: 0 !important;
|
|
}
|
|
}
|
|
|
|
ul.main-sidebar--links li:last-child {
|
|
margin-bottom: $percent_sm !important;
|
|
|
|
@include nav-small {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
//other styles
|
|
|
|
li.main-sidebar--link small {
|
|
padding-bottom: $percent_xs;
|
|
color: $color_gray;
|
|
}
|
|
|
|
ul.main-sidebar--list li {
|
|
padding-bottom: 4px;
|
|
}
|
|
|
|
ul.main-sidebar--list li a {
|
|
text-decoration: none;
|
|
|
|
&:hover {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
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;
|
|
}
|
|
}
|