docusaurus/v2/lib/theme/Navbar/styles.module.css

64 lines
1 KiB
CSS

/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
.navbar {
height: 60px;
width: 100%;
z-index: 1;
}
.navbarInner {
align-items: center;
background-color: #fff;
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
display: flex;
height: inherit;
justify-content: flex-start;
position: fixed;
width: inherit;
}
.navBrand {
color: #1c1e21;
font-size: 1.2em;
padding: 1em;
text-decoration: none;
}
.navLogo {
height: 40px;
margin-right: 12px;
vertical-align: middle;
width: 40px;
}
.navList {
height: inherit;
list-style-type: none;
margin: 0;
padding: 0;
}
.navListItem {
box-sizing: border-box;
display: inline-block;
margin-top: 0;
}
.navLink {
color: #1c1e21;
display: block;
padding: 1em 1.2em;
text-decoration: none;
}
.navLinkActive {
border-bottom: 4px solid #25c2a0;
border-radius: 0;
color: #25c2a0;
margin-bottom: -4px;
}