mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-23 09:03:44 +03:00
parent
d162babe19
commit
6ea2b7b0e6
|
@ -68,7 +68,6 @@ export const PropertyNameCell = withProps<{ kind?: string }>(PropertyCell.extend
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
font-size: 0.929em;
|
font-size: 0.929em;
|
||||||
font-weight: 300;
|
|
||||||
font-family: ${props => props.theme.headingsFont.family};
|
font-family: ${props => props.theme.headingsFont.family};
|
||||||
|
|
||||||
&.deprecated {
|
&.deprecated {
|
||||||
|
|
|
@ -22,7 +22,6 @@ export const EndpointInfo = withProps<{ expanded?: boolean; inverted?: boolean }
|
||||||
border-radius: ${props => (props.inverted ? '0' : '4px 4px 0 0')};
|
border-radius: ${props => (props.inverted ? '0' : '4px 4px 0 0')};
|
||||||
background-color: ${props => (props.inverted ? 'transparent' : '#222d32')};
|
background-color: ${props => (props.inverted ? 'transparent' : '#222d32')};
|
||||||
display: block;
|
display: block;
|
||||||
font-weight: 300;
|
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
@ -50,12 +49,6 @@ export const HttpVerb = withProps<{ type: string }>(styled.span).attrs({
|
||||||
margin: 0;
|
margin: 0;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
// background: transparent;
|
|
||||||
// border-bottom: 1px solid #cccccc;
|
|
||||||
// border-color: transparent;
|
|
||||||
// border-bottom: 1px solid rgba(0,0,0,0.33);
|
|
||||||
// padding-left: 10px;
|
|
||||||
|
|
||||||
export const ServersOverlay = withProps<{ expanded: boolean }>(styled.div)`
|
export const ServersOverlay = withProps<{ expanded: boolean }>(styled.div)`
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
|
@ -4,6 +4,11 @@ import { headerCommonMixin, linkifyMixin } from '../../common-elements';
|
||||||
import { css, ResolvedThemeInterface, StyledComponentClass } from '../../styled-components';
|
import { css, ResolvedThemeInterface, StyledComponentClass } from '../../styled-components';
|
||||||
|
|
||||||
export const markdownCss = css`
|
export const markdownCss = css`
|
||||||
|
|
||||||
|
font-family: ${props => props.theme.baseFont.family};
|
||||||
|
font-weight: ${props => props.theme.baseFont.weight};
|
||||||
|
line-height: ${props => props.theme.baseFont.lineHeight};
|
||||||
|
|
||||||
p {
|
p {
|
||||||
&:last-of-type {
|
&:last-of-type {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
@ -79,9 +84,6 @@ export const markdownCss = css`
|
||||||
padding-left: 2em;
|
padding-left: 2em;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
font-family: ${props => props.theme.baseFont.family};
|
|
||||||
font-weight: ${props => props.theme.baseFont.weight};
|
|
||||||
line-height: ${props => props.theme.baseFont.lineHeight};
|
|
||||||
> li {
|
> li {
|
||||||
margin: 1em 0;
|
margin: 1em 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,7 @@ import styled, {
|
||||||
export const RedocWrap = styled.div`
|
export const RedocWrap = styled.div`
|
||||||
font-family: ${props => props.theme.baseFont.family};
|
font-family: ${props => props.theme.baseFont.family};
|
||||||
font-size: ${props => props.theme.baseFont.size};
|
font-size: ${props => props.theme.baseFont.size};
|
||||||
|
font-weight: ${props => props.theme.baseFont.weight};
|
||||||
line-height: ${props => props.theme.baseFont.lineHeight};
|
line-height: ${props => props.theme.baseFont.lineHeight};
|
||||||
color: ${props => props.theme.colors.text};
|
color: ${props => props.theme.colors.text};
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user