2020-03-13 17:00:18 +00:00
|
|
|
@import '~@hashicorp/react-subnav/dist/style.css';
|
2020-01-18 00:18:09 +00:00
|
|
|
|
2020-03-13 17:00:18 +00:00
|
|
|
/* limit the inner width of the navigation to match the site layout */
|
2020-01-18 00:18:09 +00:00
|
|
|
|
2020-03-13 17:00:18 +00:00
|
|
|
.g-subnav {
|
|
|
|
& .g-subnav-inner {
|
|
|
|
@media (width < 1288px) {
|
|
|
|
padding: 0 32px;
|
2020-01-18 00:18:09 +00:00
|
|
|
}
|
|
|
|
|
2020-03-13 17:00:18 +00:00
|
|
|
@media (width >= 1288px) {
|
|
|
|
padding: 0 calc(50% - 1288px / 2 + 32px);
|
2020-01-18 00:18:09 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|