2020-02-06 23:45:31 +00:00
|
|
|
/* Global Component Styles */
|
|
|
|
@import '~@hashicorp/react-global-styles/style.css';
|
|
|
|
@import '~@hashicorp/react-global-styles/code-highlighting.css';
|
|
|
|
@import '~@hashicorp/react-global-styles/custom-properties/color.css';
|
|
|
|
@import '~@hashicorp/react-global-styles/custom-properties/font.css';
|
|
|
|
@import '~@hashicorp/react-global-styles/_temporary-to-remove/layout.css';
|
|
|
|
@import '~@hashicorp/react-global-styles/_temporary-to-remove/tables.css';
|
2020-03-26 00:11:19 +00:00
|
|
|
@import '~@hashicorp/react-alert-banner/dist/style.css';
|
2020-02-06 23:45:31 +00:00
|
|
|
|
|
|
|
:root {
|
|
|
|
--highlight-color: var(--nomad);
|
|
|
|
}
|
|
|
|
|
2020-03-26 00:01:29 +00:00
|
|
|
/* Global Transpiled Components */
|
|
|
|
@import '~@hashicorp/react-mega-nav/style.css';
|
2020-02-06 23:45:31 +00:00
|
|
|
@import '~@hashicorp/react-newsletter-signup-form/dist/style.css';
|
|
|
|
@import '~@hashicorp/react-text-input/dist/style.css';
|
|
|
|
@import '~@hashicorp/react-button/dist/style.css';
|
|
|
|
@import '~@hashicorp/react-footer/dist/style.css';
|
2020-02-14 15:11:37 +00:00
|
|
|
@import '~@hashicorp/react-use-cases/dist/style.css';
|
2020-02-06 23:45:31 +00:00
|
|
|
@import '~@hashicorp/react-consent-manager/dist/style.css';
|
|
|
|
@import '~@hashicorp/react-checkbox-input/dist/style.css';
|
|
|
|
@import '~@hashicorp/react-hero/dist/style.css';
|
|
|
|
@import '~@hashicorp/react-section-header/dist/style.css';
|
|
|
|
@import '~@hashicorp/react-logo-grid/dist/style.css';
|
|
|
|
@import '~@hashicorp/react-product-downloader/dist/style.css';
|
|
|
|
@import '~@hashicorp/react-vertical-text-block-list/dist/style.css';
|
|
|
|
@import '~@hashicorp/react-docs-sidenav/dist/style.css';
|
|
|
|
@import '~@hashicorp/react-content/dist/style.css';
|
2020-02-14 15:11:37 +00:00
|
|
|
@import '~@hashicorp/react-subnav/dist/style.css';
|
2020-02-06 23:45:31 +00:00
|
|
|
@import '~@hashicorp/react-text-and-content/dist/style.css';
|
|
|
|
@import '~@hashicorp/react-code-block/dist/style.css';
|
|
|
|
@import '~@hashicorp/react-consent-manager/dist/style.css';
|
|
|
|
@import '~@hashicorp/react-alert/dist/style.css';
|
2020-02-14 15:11:37 +00:00
|
|
|
@import '~@hashicorp/react-call-to-action/dist/style.css';
|
|
|
|
@import '~@hashicorp/react-text-split/dist/style.css';
|
|
|
|
@import '~@hashicorp/react-text-split-with-code/dist/style.css';
|
2020-03-17 20:54:38 +00:00
|
|
|
@import '~@hashicorp/react-docs-page/dist/style.css';
|
2020-02-06 23:45:31 +00:00
|
|
|
|
|
|
|
/* Local Components */
|
|
|
|
@import '../components/placement-table/style.css';
|
2020-02-14 15:11:37 +00:00
|
|
|
@import '../components/case-study-carousel/style.css';
|
|
|
|
@import '../components/features-list/style.css';
|
|
|
|
@import '../components/enterprise-info/style.css';
|
|
|
|
@import '../components/mini-cta/style.css';
|
|
|
|
@import '../components/homepage-hero/style.css';
|
|
|
|
@import '../components/featured-slider/style.css';
|
|
|
|
@import '../components/featured-slider-section/style.css';
|
|
|
|
@import '../components/learn-nomad/style.css';
|
|
|
|
@import '../components/basic-hero/style.css';
|
2020-02-06 23:45:31 +00:00
|
|
|
|
|
|
|
/* Local Pages */
|
|
|
|
@import './home/style.css';
|
|
|
|
@import './downloads/style.css';
|
|
|
|
@import './security/style.css';
|
|
|
|
@import './resources/style.css';
|
2020-02-14 15:11:37 +00:00
|
|
|
@import '../layouts/use-cases/style.css';
|
2020-02-06 23:45:31 +00:00
|
|
|
|
2020-03-02 22:13:24 +00:00
|
|
|
/* Print Styles */
|
|
|
|
@import './print.css';
|
|
|
|
|
2020-02-06 23:45:31 +00:00
|
|
|
/* Layout Styles */
|
|
|
|
.g-section-block section {
|
|
|
|
padding-top: 96px;
|
|
|
|
padding-bottom: 96px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.g-section-block section > .g-section-header + *,
|
|
|
|
.g-section-block section > .g-container > .g-section-header + * {
|
|
|
|
margin-top: 72px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.g-section-block section > * + *,
|
|
|
|
.g-section-block section > .g-container > * + * {
|
|
|
|
margin-top: 96px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.g-section-block .button-container {
|
|
|
|
display: -webkit-box;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
-webkit-box-pack: center;
|
|
|
|
justify-content: center;
|
|
|
|
margin: auto -8px -16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.g-section-block section > * + .button-container,
|
|
|
|
.g-section-block section > .g-container > * + .button-container {
|
|
|
|
margin-top: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.g-section-block .button-container > * {
|
|
|
|
margin: auto 8px 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.g-section-block.theme-black-background-white-text {
|
|
|
|
background: var(--gray-1);
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
2020-03-30 19:04:50 +00:00
|
|
|
/*
|
|
|
|
* About this selector:
|
|
|
|
* `.g-subnav ~ *` finds all elements after the navigation.
|
|
|
|
* `:target` finds the active permalink on the page.
|
|
|
|
*
|
|
|
|
* About this style:
|
|
|
|
* `scroll-margin-top` adjusts the vertical scroll of a permalink.
|
|
|
|
* `64px` adjusts the scroll to account for the navigation.
|
|
|
|
* `0.5em` further adjusts the scroll to give the permalink breathing room.
|
|
|
|
*
|
|
|
|
* See: https://developer.mozilla.org/en-US/docs/Web/CSS/:target
|
|
|
|
* See: https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-margin-top
|
|
|
|
*/
|
|
|
|
.g-subnav ~ * :target {
|
|
|
|
scroll-margin-top: calc(64px + 0.5em);
|
2020-03-27 22:35:58 +00:00
|
|
|
}
|
|
|
|
|
2020-02-06 23:45:31 +00:00
|
|
|
/* Web Fonts */
|
|
|
|
@font-face {
|
|
|
|
font-family: 'klavika-web';
|
|
|
|
src: url('/fonts/klavika/medium.woff2') format('woff2'),
|
|
|
|
url('/fonts/klavika/medium.woff') format('woff');
|
|
|
|
font-weight: 700;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Display Font (Gilmer) */
|
|
|
|
@font-face {
|
|
|
|
font-family: 'gilmer-web';
|
|
|
|
src: url('/fonts/gilmer/light.woff2') format('woff2'),
|
|
|
|
url('/fonts/gilmer/light.woff') format('woff');
|
|
|
|
font-weight: 300;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'gilmer-web';
|
|
|
|
src: url('/fonts/gilmer/regular.woff2') format('woff2'),
|
|
|
|
url('/fonts/gilmer/regular.woff') format('woff');
|
|
|
|
font-weight: 400;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'gilmer-web';
|
|
|
|
src: url('/fonts/gilmer/medium.woff2') format('woff2'),
|
|
|
|
url('/fonts/gilmer/medium.woff') format('woff');
|
|
|
|
font-weight: 500;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'gilmer-web';
|
|
|
|
src: url('/fonts/gilmer/bold.woff2') format('woff2'),
|
|
|
|
url('/fonts/gilmer/bold.woff') format('woff');
|
|
|
|
font-weight: 700;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Body Font (Metro) */
|
|
|
|
@font-face {
|
|
|
|
font-family: 'metro-web';
|
|
|
|
src: url('/fonts/metro-sans/book.woff2') format('woff2'),
|
|
|
|
url('/fonts/metro-sans/book.woff') format('woff');
|
|
|
|
font-weight: 300;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'metro-web';
|
|
|
|
src: url('/fonts/metro-sans/regular.woff2') format('woff2'),
|
|
|
|
url('/fonts/metro-sans/regular.woff') format('woff');
|
|
|
|
font-weight: 400;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'metro-web';
|
|
|
|
src: url('/fonts/metro-sans/semi-bold.woff2') format('woff2'),
|
|
|
|
url('/fonts/metro-sans/semi-bold.woff') format('woff');
|
|
|
|
font-weight: 600;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'metro-web';
|
|
|
|
src: url('/fonts/metro-sans/bold.woff2') format('woff2'),
|
|
|
|
url('/fonts/metro-sans/bold.woff') format('woff');
|
|
|
|
font-weight: 700;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Code Font (Deja Vu) */
|
|
|
|
@font-face {
|
|
|
|
font-family: 'dejavu-sans-mono-web';
|
|
|
|
src: url('/fonts/dejavu/mono.woff2') format('woff2'),
|
|
|
|
url('/fonts/dejavu/mono.woff') format('woff');
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 400;
|
|
|
|
}
|