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