2020-04-06 20:27:35 +00:00
|
|
|
/* Global Component Styles */
|
2020-12-08 23:24:36 +00:00
|
|
|
@import '~@hashicorp/mktg-global-styles/style.css';
|
2020-05-19 18:32:38 +00:00
|
|
|
@import '~@hashicorp/nextjs-scripts/prism/style.css';
|
2020-12-08 23:24:36 +00:00
|
|
|
@import '~@hashicorp/mktg-global-styles/_temporary-to-remove/layout.css';
|
|
|
|
@import '~@hashicorp/mktg-global-styles/_temporary-to-remove/tables.css';
|
2020-04-06 20:27:35 +00:00
|
|
|
|
|
|
|
:root {
|
2021-05-03 19:01:36 +00:00
|
|
|
--highlight-color: var(--consul-link);
|
|
|
|
--highlight-color-text: var(--consul-link);
|
2020-04-06 20:27:35 +00:00
|
|
|
}
|
|
|
|
|
2020-10-23 15:19:41 +00:00
|
|
|
@import '~@hashicorp/react-alert-banner/style.css';
|
2020-12-08 23:24:36 +00:00
|
|
|
@import '~@hashicorp/react-button/styles/index.css';
|
2021-03-26 13:38:39 +00:00
|
|
|
@import '~@hashicorp/react-callouts/style.css';
|
2020-12-08 23:24:36 +00:00
|
|
|
@import '~@hashicorp/react-call-to-action/style.css';
|
2020-12-11 22:45:42 +00:00
|
|
|
@import '~@hashicorp/react-code-block/style.css';
|
2021-01-07 19:00:43 +00:00
|
|
|
@import '~@hashicorp/react-consent-manager/style.css';
|
2020-12-08 23:24:36 +00:00
|
|
|
@import '~@hashicorp/react-content/style.css';
|
2020-09-01 15:59:08 +00:00
|
|
|
@import '~@hashicorp/react-docs-page/style.css';
|
2021-01-07 19:00:43 +00:00
|
|
|
@import '~@hashicorp/react-enterprise-alert/style.css';
|
2020-12-08 23:24:36 +00:00
|
|
|
@import '~@hashicorp/react-featured-slider/style.css';
|
2021-06-02 14:22:52 +00:00
|
|
|
@import '~@hashicorp/react-learn-callout/style.css';
|
2020-12-08 23:24:36 +00:00
|
|
|
@import '~@hashicorp/react-product-features-list/style.css';
|
|
|
|
@import '~@hashicorp/react-search/style.css';
|
|
|
|
@import '~@hashicorp/react-subnav/style.css';
|
2021-01-07 19:00:43 +00:00
|
|
|
@import '~@hashicorp/react-tabs/style.css';
|
2020-12-08 23:24:36 +00:00
|
|
|
@import '~@hashicorp/react-text-split/style.css';
|
2021-01-07 19:00:43 +00:00
|
|
|
@import '~@hashicorp/react-toggle/style.css';
|
2021-05-03 19:01:36 +00:00
|
|
|
@import '~@hashicorp/react-use-cases/style.css';
|
2020-12-08 23:24:36 +00:00
|
|
|
@import '~@hashicorp/react-vertical-text-block-list/style.css';
|
2020-04-06 20:27:35 +00:00
|
|
|
|
|
|
|
/* Local Components */
|
2020-04-24 18:52:30 +00:00
|
|
|
@import '../components/basic-hero/style.css';
|
2020-04-24 21:46:02 +00:00
|
|
|
@import '../components/case-study-carousel/style.css';
|
2020-07-23 08:21:15 +00:00
|
|
|
@import '../components/cloud-offerings-list/style.css';
|
2021-06-02 14:22:52 +00:00
|
|
|
@import '../components/enterprise-comparison/style.css';
|
|
|
|
@import '../components/footer/style.css';
|
|
|
|
@import '../components/homepage-hero/carousel.css';
|
2020-09-22 00:08:44 +00:00
|
|
|
@import '../components/mini-cta/style.css';
|
2020-12-08 23:24:36 +00:00
|
|
|
@import '../components/use-cases-layout/style.css';
|
2020-05-07 03:38:38 +00:00
|
|
|
|
2020-04-06 20:27:35 +00:00
|
|
|
/* Local Pages */
|
2020-04-09 22:56:05 +00:00
|
|
|
@import './community/style.css';
|
2020-04-13 18:05:52 +00:00
|
|
|
@import './home/style.css';
|
2020-04-06 20:27:35 +00:00
|
|
|
|
|
|
|
/* Print Styles */
|
|
|
|
@import './print.css';
|
|
|
|
|
|
|
|
/* Sticky Footer */
|
2020-04-13 18:05:52 +00:00
|
|
|
footer .content {
|
2020-04-06 20:27:35 +00:00
|
|
|
min-height: calc(100vh - 260px);
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* 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-05-19 18:32:38 +00:00
|
|
|
/* 404 page styles */
|
|
|
|
#p-404 {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
margin: 64px auto; /* this is being overridden at the request of the learn team */
|
|
|
|
max-width: 784px;
|
|
|
|
min-height: 50vh;
|
|
|
|
padding-inline: 32px;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
@media (--large) {
|
|
|
|
padding-inline: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
& h1 {
|
|
|
|
font-size: 1.5rem;
|
|
|
|
letter-spacing: -0.004em;
|
|
|
|
line-height: 1.375em;
|
|
|
|
|
|
|
|
@media (--medium-up) {
|
|
|
|
font-size: 1.75rem;
|
|
|
|
line-height: 1.321em;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (--large) {
|
|
|
|
font-size: 2rem;
|
|
|
|
letter-spacing: -0.006em;
|
|
|
|
line-height: 1.313em;
|
|
|
|
}
|
|
|
|
}
|
2020-05-19 18:50:54 +00:00
|
|
|
|
|
|
|
& a {
|
|
|
|
color: var(--highlight-color);
|
|
|
|
}
|
2020-05-19 18:32:38 +00:00
|
|
|
}
|