You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
boundary/website/components/openapi-page/style.module.css

58 lines
994 B

.root {
composes: g-grid-container from global;
display: flex;
flex-direction: column;
flex: 1 0 auto;
position: relative;
width: 100%;
@media (min-width: 940px) {
flex-direction: row;
margin-bottom: 24px;
margin-top: 72px;
}
/* currently only supports "boundary", may want to extend to support other product themes */
&[data-theme='boundary'] {
--brand: var(--boundary);
}
& .pageHeading {
margin: 0;
}
& .categoryHeading {
margin: 32px 0 16px 0;
}
& :global(.g-content) {
padding-left: 0;
padding-right: 0;
margin: 0;
@media (max-width: 939px) {
padding-left: 0;
padding-right: 0;
margin-top: 64px;
}
& > h1:first-child {
margin-top: 0;
}
}
& :global(.g-section-header) {
margin-bottom: 100px;
}
/* TODO: this should be applied in global styles, temporary override here */
& pre,
& code {
font-size: 0.875em;
}
& pre code {
font-size: 1em;
}
}