ja.son-williams.ca/www/themes/jason-williamsca/assets/css/sidemenu.css

63 lines
1.3 KiB
CSS
Raw Permalink Normal View History

/* lg Breakpoint */
@media (min-width: 992px) {
body {
/*padding-left: 17rem;*/
2020-05-20 19:53:39 +00:00
padding-left: 25%;
}
#main-nav {
min-height: 8rem;
}
2020-05-20 19:53:39 +00:00
#side-nav {
text-align: center;
position: fixed;
top: 0;
left: 0;
display: flex;
flex-direction: column;
2020-05-20 19:53:39 +00:00
width: 25%;
height: 100vh;
padding: 0;
background-color: var(--main-accent-color);
}
2020-05-20 19:53:39 +00:00
#side-nav .navbar-brand {
display: flex;
margin: auto auto 0;
/*padding: 0.5rem;*/
}
2020-05-20 19:53:39 +00:00
#side-nav .navbar-brand .img-profile {
max-width: 10rem;
max-height: 10rem;
2020-05-20 19:53:39 +00:00
/*border: 0.5rem solid rgba(255, 255, 255, 0.2);*/
}
2020-05-20 19:53:39 +00:00
#side-nav .navbar-collapse {
display: flex;
align-items: flex-start;
flex-grow: 0;
width: 100%;
margin-bottom: auto;
}
2020-05-20 19:53:39 +00:00
#side-nav .navbar-collapse .navbar-nav {
flex-direction: column;
width: 100%;
}
2020-05-20 19:53:39 +00:00
#side-nav .navbar-collapse .navbar-nav .nav-item {
display: block;
}
2020-05-20 19:53:39 +00:00
#side-nav .navbar-collapse .navbar-nav .nav-item .nav-link {
display: block;
}
2020-05-23 23:08:24 +00:00
}
@media (min-width: 992px) and (min-height: 620px) {
main {
2020-05-20 19:53:39 +00:00
margin-top: -8rem;
}
}