DinisCruz's picture
refactored website and docs location
799076a
/* Fonts */
@font-face {
font-family: Inter var;
font-weight: 100 900;
font-display: block;
font-style: normal;
font-named-instance: "Regular";
src: url(/static/fonts/Inter-roman.var.woff2) format("woff2");
}
@font-face {
font-family: Inter var;
font-weight: 100 900;
font-display: block;
font-style: italic;
font-named-instance: "Italic";
src: url(/static/fonts/Inter-italic.var.woff2) format("woff2");
}
@font-face {
font-family: Fira Code VF;
font-weight: 300 700;
font-style: normal;
src: url(/static/fonts/FiraCode-VF.woff2) format("woff2-variations"),
url(/static/fonts/FiraCode-VF.woff) format("woff-variations");
}
:root {
--ifm-color-primary: #2e8555;
--ifm-color-primary-dark: #29784c;
--ifm-color-primary-darker: #277148;
--ifm-color-primary-darkest: #205d3b;
--ifm-color-primary-light: #33925d;
--ifm-color-primary-lighter: #359962;
--ifm-color-primary-lightest: #3cad6e;
--ifm-code-font-size: 95%;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
}
a {
color: #156cbd;
}
nav.navbar {
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
background-color: rgb(209, 227, 221);
}
pre.prism-code {
border: 1px solid rgba(0, 0, 0, 0.1);
}
.navbar__logo {
height: 26px;
}
.navbar__item,
.menu__link {
font-size: 16px;
}
.menu__link {
border-radius: 4px 0 0 4px;
}
.menu__list-item-collapsible:hover {
background: none;
}
ul.menu__list > li > a.menu__link--active {
border-right: 1px solid rgba(0, 0, 0, 0.1);
}
nav.menu {
padding-right: 0;
scrollbar-gutter: auto;
}
img.cover-image {
display: block;
width: 100%;
max-width: 840px;
border-radius: 16px;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
margin: 0 auto;
}
ul.emoji-list {
list-style-type: none;
padding-left: 12px;
}
ul.emoji-list li {
display: flex;
align-items: flex-start;
line-height: 32px;
}
ul.emoji-list span {
display: inline-block;
margin-right: 12px;
font-size: 28px;
}
/* Disables link hover decoration enabled by default in docusaurus v2.0.0-beta.22 */
.navbar__link,
.table-of-contents__link,
.pagination-nav,
.footer {
--ifm-link-hover-decoration: none;
}
table {
border-collapse: collapse;
border: none;
background-color: transparent;
text-align: left;
font-size: 90%;
}
/* Mobile breakpoint */
@media only screen and (max-width: 996px) {
:root {
--ifm-spacing-horizontal: 1rem;
}
.footer__row {
flex-direction: column;
}
.footer__data {
margin-bottom: 3rem;
}
}
/**
Image caption, use in markdown as:
![Image ALT](./path/to/image)
_my image caption_
*/
img + em {
text-align: center;
display: block;
margin-top: 1rem;
}
/**
Style for a terminal image, markdown usage (add #terminal to end of url):
![Image ALT](./path/to/image#terminal)
*/
img[src$="#terminal"] {
display: block;
max-width: 720px;
margin-left: auto;
margin-right: auto;
}
.pad {
padding: 0 1rem;
}
.center {
width: 100%;
max-width: 1080px;
margin: 1rem auto;
min-height: 400px;
}
.homepage-content {
padding-bottom: 6rem;
}
#hero {
padding: 2rem 0 1.5rem 0;
margin-bottom: 4rem;
border-bottom: 1px solid rgb(51, 51, 51);
}
#hero h2 {
font-size: 36px;
}
#hero p {
color: rgb(51, 51, 51);
}
.section-content {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12px;
}
.two-cols .section-content {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.has-sub-sections > h3 {
margin-bottom: 1.5rem;
}
.has-sub-sections > .section-content {
grid-template-columns: repeat(1, minmax(0, 1fr));
}
.has-sub-sections > .section-content > .homepage-section {
margin-bottom: 1rem;
grid-template-columns: repeat(1, minmax(0, 1fr));
}
.homepage-section {
margin-bottom: 3rem;
}
.homepage-section h3 {
font-weight: 600;
}
.section-description {
color: rgb(51, 51, 51);
margin: 0rem 0 1.25rem 0;
margin-top: -0.5rem;
}
.has-sub-sections > .section-content .section-description {
font-size: 14px;
}
.homepage-card {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 10px;
padding: 0.75rem;
text-decoration: none;
color: rgb(51, 51, 51);
--ifm-link-hover-decoration: none;
--ifm-link-hover-color: inherit;
cursor: pointer;
transition-property: background-color, color;
border: 1px solid #2e2e2e;
border-radius: 8px;
}
.homepage-card:hover {
background-color: #dee1f2;
}
.icon svg {
width: auto;
height: 100%;
}
.homepage-card .icon {
width: 48px;
height: 48px;
}
.card-content {
display: flex;
flex-direction: column;
gap: 4px;
}
.card-content .title {
font-size: 16px;
letter-spacing: -0.5px;
font-weight: 600;
}
.card-content .description {
font-size: 14px;
color: rgb(51, 51, 51);
line-height: 1.5;
}
@media screen and (max-width: 768px) {
.section-content {
grid-template-columns: repeat(1, minmax(0, 1fr));
}
.two-cols .section-content {
grid-template-columns: repeat(1, minmax(0, 1fr));
}
}