open-nomad/website/pages/style.css

66 lines
2.1 KiB
CSS
Raw Normal View History

2020-02-06 23:45:31 +00:00
/* Global Component Styles */
2020-12-07 22:04:11 +00:00
@import '~@hashicorp/mktg-global-styles/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 */
2020-12-07 22:04:11 +00:00
@import '~@hashicorp/react-alert-banner/style.css';
@import '~@hashicorp/react-button/styles/index.css';
2020-12-07 22:04:11 +00:00
@import '~@hashicorp/react-call-to-action/style.css';
2021-01-06 00:07:55 +00:00
@import '~@hashicorp/react-consent-manager/style.css';
@import '~@hashicorp/react-toggle/style.css';
@import '~@hashicorp/react-featured-slider/style.css';
2020-12-07 22:04:11 +00:00
@import '~@hashicorp/react-hero/style.css';
[Assembly]: Website Branding Refresh (#10188) * style: update gray brand colors * style: update brand colors * chore: upgrade react-components deps * chore: update text split cta link color * style(home): update icons * refactor(home): use learn-callout component * style(downloads): temporary color override * style(community): fix link color * Update website/pages/community/style.css Co-authored-by: Zachary Shilton <4624598+zchsh@users.noreply.github.com> * update package-lock * update deps * add new downloads page * remove extra husky script * chore: upgrades nextjs-scripts dep * chore: upgrades community page vertical text block list * chore: test component pre-releases * chore: upgrade deps chore: upgrades nextjs-scripts * chore: update home icon colors * chore: update home logo grid * chore(website): upgrade deps * style: adjust features icons border radius * style: home hero bg to secondary * chore: upgrade deps for body copy colors * chore: upgrades alert banner * feat: updates favicon * chore: updates deps * content(home): updates assets * content(use-cases:simple container orch): updates content * content(use-cases:non-containerized-app) updates assets * content(use-cases:auto networking with consul): updates assets * style(home): remove use cases icons override * style(home-hero): remove bg pattern on mobile * content(use-cases): updates asset * chore: update assets * chore: updates product download page to alpha * chore: updates product download page to stable Co-authored-by: Zachary Shilton <4624598+zchsh@users.noreply.github.com> Co-authored-by: Jeff Escalante <jescalan@users.noreply.github.com>
2021-05-03 18:06:55 +00:00
@import '~@hashicorp/react-learn-callout/style.css';
@import '~@hashicorp/react-search/style.css';
@import '~@hashicorp/react-subnav/style.css';
2021-07-28 16:42:46 +00:00
@import '~@hashicorp/react-tabs/style.css';
2020-12-07 22:04:11 +00:00
@import '~@hashicorp/react-text-split/style.css';
[Assembly]: Website Branding Refresh (#10188) * style: update gray brand colors * style: update brand colors * chore: upgrade react-components deps * chore: update text split cta link color * style(home): update icons * refactor(home): use learn-callout component * style(downloads): temporary color override * style(community): fix link color * Update website/pages/community/style.css Co-authored-by: Zachary Shilton <4624598+zchsh@users.noreply.github.com> * update package-lock * update deps * add new downloads page * remove extra husky script * chore: upgrades nextjs-scripts dep * chore: upgrades community page vertical text block list * chore: test component pre-releases * chore: upgrade deps chore: upgrades nextjs-scripts * chore: update home icon colors * chore: update home logo grid * chore(website): upgrade deps * style: adjust features icons border radius * style: home hero bg to secondary * chore: upgrade deps for body copy colors * chore: upgrades alert banner * feat: updates favicon * chore: updates deps * content(home): updates assets * content(use-cases:simple container orch): updates content * content(use-cases:non-containerized-app) updates assets * content(use-cases:auto networking with consul): updates assets * style(home): remove use cases icons override * style(home-hero): remove bg pattern on mobile * content(use-cases): updates asset * chore: update assets * chore: updates product download page to alpha * chore: updates product download page to stable Co-authored-by: Zachary Shilton <4624598+zchsh@users.noreply.github.com> Co-authored-by: Jeff Escalante <jescalan@users.noreply.github.com>
2021-05-03 18:06:55 +00:00
@import '~@hashicorp/react-use-cases/style.css';
@import '~@hashicorp/react-vertical-text-block-list/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/basic-hero/style.css';
@import '../components/footer/style.css';
2020-12-07 22:04:11 +00:00
@import '../components/use-case-page/style.css';
2020-02-06 23:45:31 +00:00
/* Local Pages */
@import './home/style.css';
2020-03-02 22:13:24 +00:00
/* Print Styles */
@import './print.css';
/* Sticky Footer */
.__next > .content {
min-height: calc(100vh - 260px);
&.banner {
min-height: calc(100vh - 315px);
}
}
/*
* 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);
}