Docker-Docs/_scss/_layout.scss

230 lines
3.4 KiB
SCSS

/*
* branding ********************************************************************
*/
.logo {
margin: 12px 10px 0 10px;
width: 160px;
display: none;
@include lg-width {
display: initial;
}
}
.logo-mobile {
a {
float: left;
img {
margin: 12px 15px;
height: 30px;
}
}
@include lg-width {
display: none;
}
}
/*
* Header **********************************************************************
*/
.header {
background-color: $bg-header;
position: relative;
z-index: 1;
transition: all 0.1s ease;
border: unset;
border-radius: unset;
height: unset;
}
.columns {
flex-direction: column;
}
.col-nav {
order: -1;
}
.col-body {
display: flex;
flex-direction: row;
flex: 1;
min-height: 555px;
}
.col-content {
flex: 1;
}
.col-nav,
.col-toc {
flex: 0 0 0;
}
.col-toc-hidden {
display: none;
}
@media only screen and (min-width: 1000px) {
.col-nav,
.col-toc {
flex: 0 0 19em;
}
}
.content {
padding: 80px 20px 40px 40px;
max-width: 1024px;
min-width: 300px;
min-height: 500px;
}
section.section {
margin: 0 auto;
}
.content ul {
margin-top: 10px;
}
/*
* sidebar *********************************************************************
*/
.wrapper.right-open #sidebar-wrapper {
width: 270px;
}
.wrapper.right-open .page-content {
padding-right: 190px;
}
.col-nav,
.col-toc {
min-height: 100vh;
}
.col-nav {
background-color: $bg-sidebar;
}
.col-toc {
margin-left: auto;
}
.sidebar {
position: sticky;
top: 55px;
overflow: auto;
max-height: calc(100vh - 55px);
padding-top: 20px;
padding-bottom: 20px;
}
/*
* global footer **************************************************************
*/
footer {
background: $white;
border-top: 1px solid #E0E4E7;
position: relative;
}
.top_footer {
padding: 50px 0 35px;
}
.footer_links {
list-style: none;
padding: 0;
li {
margin-bottom: 10px;
a {
color: #637986;
font-size: 12px;
line-height: 16px;
}
}
}
.footer_sub_nav {
float: right;
padding: 10px 30px 20px 0;
ul {
list-style: none;
margin: 0;
padding: 0;
li {
float: left;
margin-left: 10px;
padding-bottom: 6px;
a {
color: #637986;
font-size: 12px;
}
}
}
}
.bottom_footer {
clear: both;
padding: 30px 0 20px;
border-top: 1px solid #E0E4E7;
float: left;
width: 100%;
}
.footer-copyright {
float: left;
}
.footer-copyright p {
font-size: 12px;
line-height: 17px;
color: #637986;
margin-bottom: 0;
padding: 0 0 15px;
}
.footer_social_nav {
float: right;
padding: 0 15px 0 0;
}
.footer_social_nav ul {
list-style: none;
padding: 0;
margin: 0;
}
.footer_social_nav ul li {
float: left;
position: relative;
}
.footer_social_nav ul li:before {
color: $white;
position: absolute;
top: 10px;
left: 10px;
}
.footer_social_nav ul li+li {
margin-left: 10px;
}
.footer_social_nav ul li a {
width: 32px;
height: 32px;
background-color: #82949E;
border-radius: 50px;
color: $white;
display: block;
text-indent: 9999px;
overflow: hidden;
}