squiggle/packages/website/src/css/custom.css
2022-07-24 16:37:24 -07:00

98 lines
2.1 KiB
CSS

/**
* Any CSS included here will be global. The classic template
* bundles Infima by default. Infima is a CSS framework designed to
* work well for content-centric websites.
*/
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Lato:wght@100;400;700;900&family=Lora:wght@400;500;600&display=swap");
/* You can override the default Infima variables here. */
:root {
--ifm-color-primary: #e74c0f;
--ifm-color-primary-dark: #bb4b05;
--ifm-color-primary-darker: #9d0c02;
--ifm-color-primary-darkest: #5d2200;
--ifm-color-primary-light: #e6a036;
--ifm-color-primary-lighter: #e79d1d;
--ifm-color-primary-lightest: #f5e191;
--ifm-code-font-size: 95%;
}
/* For readability concerns, you should choose a lighter palette in dark mode. */
html[data-theme="dark"] {
--ifm-color-primary: #df774d;
--ifm-color-primary-dark: #db8651;
--ifm-color-primary-darker: #d7584f;
--ifm-color-primary-darkest: #b3693e;
--ifm-color-primary-light: #edb25a;
--ifm-color-primary-lighter: #ebd489;
--ifm-color-primary-lightest: #faf2d4;
}
.docusaurus-highlight-code-line {
background-color: rgba(0, 0, 0, 0.1);
display: block;
margin: 0 calc(-1 * var(--ifm-pre-padding));
padding: 0 var(--ifm-pre-padding);
}
html[data-theme="dark"] .docusaurus-highlight-code-line {
background-color: rgba(0, 0, 0, 0.3);
}
.hero h1 {
font-size: 4em;
font-weight: 900;
margin-bottom: 0.5rem;
color: rgb(230, 72, 79);
font-family: "Lato", sans-serif;
}
.navbar__title {
font-family: "Lato", sans-serif;
font-weight: 900;
color: rgb(205, 88, 53);
}
.hero__subtitle {
color: #888;
font-size: 1.25em;
}
.hero__subtitle2 {
color: #777;
font-size: 1.5em;
font-family: "Lora";
font-weight: 500;
margin-top: 1em;
margin-left: auto;
margin-right: auto;
max-width: 500px;
}
h1 {
font-family: "Lora", serif;
font-size: 2.5em;
}
h2 {
font-weight: 600;
}
.menu__link,
.navbar__item {
font-family: "Lora", serif;
}
.navbar__item {
font-weight: 700;
}
.navbar__logo {
height: 1.5rem;
}
:root {
/* --ifm-font-family-base: 'Lora'; */
}